/normalmap

Normalmap generator from heightmap

Primary LanguageCGNU General Public License v2.0GPL-2.0

Normalmap generator

This code allows you to create a RGB normal map from a heightmap. The output picture is RGBA and you can store various combination of the height in the Alpha channel.

Install & libraries

You need development files for recent imagemagick core versions (API7) to be installed, as well as pkg-config. Then just do:

$ waf configure

and then

$ waf build

The binary normalmap is self-contained and generated within the directory build/. Simply copy it wherever you like.

Old versions of imagemagick (API6) can be compiled by appending the option --oldmagick to the configure script:

$ waf configure --oldmagick

and then

$ waf build

Original authors

License

GPLv2