Description
Motivation
The idea to create this demo/program came from my previous work on a 2D fractal generator.
Also I needed a small side project where I could apply the knowledge that I had earned while
studying linear algebra and OpenGL"s stencil buffer.
Overview
This program is a 3D fractal tree generator-renderer.
It features an interactive mode which allows a user to quickly
set up and generate a tree by changing a number of parameters.
Not enough, the user can also choose whether the tree should look like a fractal or more like a
random ( realistic ) tree. Once generated, the tree can be viewed from almost any angle and any distance.
In addition, this demo/program also features rendering. Once the user is done setting up the tree,
he/she can render it. There are a few parameters for rendering as well. The user can choose
whether or not the tree should have a shadow, a reflection and leaves. Finally, the user can also
save the rendered image of the tree.
Features
- Stencil reflections
- Stencil hard shadows
- Correct blending
- Interactive mode
- Basic lighting
- Basic threading
- Image saving
Download
|