mesh2hmap is a simple command line tool for converting 3D meshes to raster heightmaps.
Version: 0.3.2mesh2hmap is a simple command line tool for converting 3D meshes to raster heightmaps. mesh2hmap project tool allows you to create terrains in your favourite 3D modeller and then easily convert to a heightmap.
Operating System: Linux
This tool was created for generating terrains in games such as Legends (a Tribes inspired First Person Shooter) and Planet Penguin Racer (the GPL'ed branch of TuxRacer). However, it can be used in any application that uses heightmaps.
This is a very simple program that only uses standard headers and the math library. Therefore you don't need to add any include dirs and you only need to link to the math library.
To compile this program under linux, enter in a console:
$ gcc -o mesh2hmap mesh2hmap.c -lm
This program doesn't contain any exotic function calls or hardware specific magic (I think), so it should compile without any problems on different hardware and Operating Systems. If you get any compilation errors or warnings, report them (see 'SUPPORT').
What's New in This Release:
· Makefiles were fixed to work with GCC 4.x.
· The VRML parser was rewritten so that it can handle DEF/USE keywords.