Terrain question
Blitz3D Forums/Blitz3D Programming/Terrain question
| ||
Is it possible load a Heightmap image and save the Terrain as a .X file. Is it any code available? Thanks |
| ||
That would be a 'mesh terrain'. There are several ways to create them. I found these after a quick search: http://www.blitzbasic.com/codearcs/codearcs.php?code=362 http://www.blitzbasic.com/codearcs/codearcs.php?code=1609 There might be more, I didn't search thoroughly. To save the mesh, I think you need to use one of the SaveMesh routines in the archives. In that case, I would use the second link, since that one creates the terrain as a single mesh. For exporters, look at this thread: http://www.blitzbasic.com/Community/posts.php?topic=66815 |
| ||
Thanks a lot Warner. |