Click the image to download the class artifact library.

The tree object in our model was created using a recursive function employing random numbers bound by passed parameters to control its size and shape. Aspects such as its height, segment width and length, as well as spread and branch factor can be controled directly. Each time the tree is generated, a completely new shape is created and stored using glLists to increase rendering efficiency. Additionally, the object is textured using OpenGL texture objects.