Mountain Generator
April 19, 2005

Description
This program uses Fractioal Brownian motion to simulate a mountain.

Source Code
The source code consits of the following files:

  • mountainGen.C
  • vector.H
  • vector.C
  • myMath.H
  • myMath.C
There is a Make file that compiles the program

Problems
I struggled to come up with the right numbers that would produce a more realistic mountain.

Final Rendered Image

When I first ran the Mountain Gen program I forgot to create the polygons in the middle and this was the image I got. It's kind of a cool look, but in no way does it resemble a mountain.