How can i convert a terrain to mesh ??
trying to just load a hmap to get the terrain and
then convert the terrain to mesh.
But i cant get it working.. :(
/Alienforce
I think you might be after something like this...
http://www.blitzmax.com/toolbox/toolbox.php?tool=104It uses a heightmap the same as blitz terrains, which can't be converted to a mesh unfortunately.
Thanks Vip3r, But i need to find a exemple with source because i am working on my "editor" for my game.
/Alienforce
Would this help:
http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=1081I'm sure I've seen a 'Mesh from Heightmap' example somewhere, but I can't find it.
Search here, and also at BlitzCoder.
Thanks i will take look at them.
/Alienforce
Try using milkshape to load them, using the tool, as a heightmap and then saving them as a .x,.b3d or .3ds... I think that Deled has a tool for this now too