DispGen

From Valve Developer Community
Revision as of 06:49, 6 July 2005 by Cannonfodder (talk | contribs)
Jump to navigation Jump to search

This program will create a half-life 2 displacement map from a height map image. It can read common image formats along with 16-bit grayscale TIFF and PGM images.

It uses bicubic interpolation scaling algorithm. This generates a better image if the size of terrain is significantly different from the size of the texture image.

Alpha maps can be generated using images, based on the height of the texture or based on the slope (0-90 degrees)

Dispgen includes an algorithm (pat. pending) for fixing texture stretching on the vertical parts of the terrain.


See Also

DispGen homepage