A simple program implementing a diamond-square algorithm for terrain generation. Scroll to bottom for instructions on how to control the "plane".

Rendering Parameters for TERRAIN Wireframe Polygon Polygon with Edges
Rendering Parameters for FOG Fog
Control Parameters for PLANE
  • Arrow Key Left -- Plane rolls to LEFT
  • Arrow Key Right -- Plane rolls to RIGHT
  • Arrow Key Up -- Plane pitches DOWN
  • Arrow Key Down -- Plane pitches UP
  • Plus (+) Key -- Increase plane's SPEED
  • Minus (-) Key -- Decrease plane's SPEED
  • (R) Key -- Reset view
  • (T) Key -- Create new terrain