Final Project: Green Hill

By Ryan Dehaven

My goal was to create a random world generator with different trees and seamless map transitions. Due to time constraints it is not seamless. Instead a new map will appear when you travel off of the current one.You can always return to the same place you came from and the trees and terrain will be the same.

Trees are generated with a recursive model.
look at the trees
The terrain is generated with a weird midpoint algorithem.

Examples of random terrain generation with random trees.

Instructions

w,a,s,d : moves around the world
m : shows mouse
l : locks mouse
g: generates a whole new world
q: quits
f: toggles fps display

Binary Links
Windows
Linux
Required support files
Grass texture
Note: you need to install freeglut or glut to use this program.