Heightmap terrain editor

  • 16 years ago
A terrain editor I made in OpenGL / GLUI for a group project / game for my MSc (Resurrection).
Features :
-Raw heightmap loading
-2 sets of 4 texture layers
-.dds / .sgi / .bmp texture loading
-on the fly adjustment of size/positions/normals of the whole heightmap.
-on the fly creation of craters with variable radii
-on the fly lightmap generation
- layer changing points & blending
-.obj export of the model
- export of the 2 maps, that contain light direction/color information, shadow information (blurred by a 7x7 gaussian filter for artifact elimination), so that they can be readily used on the exported model.

All on-the-fly adjustments are calculated in the GPU.

In the video a 513x513 heighmap is used.

Recommended