Neil Hayek
CSC471 Spring 06 Final Project
Terrain Generator
Features:
- Read in a grey scale height map and generate terrain
based on it. In the height map, darker shades represent low elevation
and lighter shades represent high elevation.
- Through the command line, you can change the number of
quadrilaterals drawn to represent the terrain (like changing the
resolution).
- Through the command line, you can multiply the ratio of
the height to the world to affect how flat or rugged the terrain is.
- Read in a texture map that is textured on the terrain.
Through the command line, you can either have this texture stretched to fit
the whole terrain (image appears once) or tiled so the image is mapped to
each quadrilateral drawn.
- Explore the terrain through a first person view.
Usage:
README.txt
Screenshots:
Height Map
Texture Map
Result (texture stretched)
Height Map
Texture Map
Result (texture tiled)
References:
Reading in a height map was based off this
Nehe
Tutorial
Download:
TerrainGenerator.zip