Save heightmap from Mesh-terrain.. Please help..

Blitz3D Forums/Blitz3D Programming/Save heightmap from Mesh-terrain.. Please help..

KimoTech(Posted 2006) [#1]
Hi!
In my terrain-editor, i need to export the mesh-terrain to a heightmap, but can someone help me how to do that? maybe a bit of code or something would be good.. :)


H&K(Posted 2006) [#2]
Can you turn a 3Ds mesh into a heightmap?

Qimmer are you puki?


KimoTech(Posted 2006) [#3]
no.. A terrain created by CreateMesh(), AddVertex() etc., like a segmented plane.. And then save the vertex heights as a heightmap like u can with blitz-terrains using a source-code from the archives..


jfk EO-11110(Posted 2006) [#4]
The diffrence between true terrains and mesh terrains is tre terrains use a regular grid, This makes it easy to convert the heights/vertices to pixels/brightnesses.

With a mesh terrain maybe you best simply perform a number of topdown linepicks, scanning the area using a raster.


wmaass(Posted 2006) [#5]
If you have 3ds max, you can try this. Worked for me somewhat with some experimenting.

http://www.ogre3d.org/wiki/index.php/3dsmax_Heightmaps