mesh2hmap is a simple command line tool for
converting 3D meshes to raster heightmaps. This
tool allows you to create terrains in your
favorite 3D modeller and then easily convert to a
heightmap image.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
A bug where you had to specify min, max, and bg was fixed. They now take on their default values if not specified. A numerical error in the heightmap equations where near vertical polygons could produce very high or low heights was fixed. Each height is now confined within the height range of its polygon.
This release can output colour gradient heightmaps. Functionality for setting the background has been added. The parser can parse VRML2 again (broken in 0.2). The command line options '-v' and '--version' have been added.
Fixes a background problem with non-rectangular heightmaps. The background is now set equal to the minimum value of the heightmap. Functionality for printing 'raw' heightmaps. Autoconf/automake scripts have been added. The code has been split into 4 files: main, parser, mesh2hmap, and output. The parser for 'native' format now handles 3+ vertices per polygon. Minor changes to the man page.
The VRML parsing algorithm was improved and unnecessary nesting was removed. A bug where the VRML parser only worked when there was a single space between a label and '{' or '[' delimiters was fixed along with a problem where texture coordinates were being read as vertices. A proper groff man page, mesh2hmap.1, was written. The 'usage' message was fixed and '-h' and '--help' switches were added.