OpenGL 1.0/C++ random terrain generation with dynamic lighting and shading. The program will prompt you for a size of terrain to generate, and then will generate a random terrain using an implementation of the fault algorithm.
The terrain is colored according to hypsometric tinting.
The program defaults to display the terrain with flat shading, and the user is able to change the shading mode to Gouraud shading.
The main terrain window opens along with a heightmap window that shows an overhead view of the terrain. The user can interact with the heightmap to instantly modify the terrain.
The user is also able to change the scene orientation, the amount and positioning of the lights, and turn on different kinds of wireframes.
glut.h, gl.h
This repository is a Visual Studio 2013 solution. An exe is in the debug folder. When running the program operation instructions will appear in the console window.


