This C++ project was written in C++, SDL and OpenGL. It generates partly random heightmaps using the diamond-square algorithm and allows the user to move, pitch and turn the viewpoint.
“Trees” are also placed in random positions on the terrain. Each has a shape randomly generated using a recursive algorithm. The user can move and look about in the terrain and change the polygon primitive type.