Terrain Generator is a simple program that takes an 8-bit greyscale TGA image file and uses it to generate some terrain.

The value of every other pixel in the image (must be 0-255) is taken to be the height at that particular coordinate.

  • Dark areas of the TGA image are lower and light areas of the image are more elevated.

    TG allows the user to move around the terrain in a 1st person manner.

  • The mouse is used to change where one is looking.
  • 'a' and 'd' on the keyboard are used to strafe, 'w' and 's' are used to move forwards and backwards.

    Here are some sample screenshots: