Hierarchical 3D Modeling of L System Trees [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zip

The very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later.

See the Source Code

Download the Executive program

How my program works:

1). When you start it, it will display the first tree in the screen[a small bug: the tree will be displayed, then clear, then be displayed again.] 2). Keyboard events “a”, “b”, “c”, “d”, “e” displays the 5 trees respectively. 3). Keyboard events “r” displays a random tree. 4). Keyboard events “f” displays my park with two cars(one for adult, and one for child). 5). ATTENTION: I draw 13 trees in my park, so it will cost about 5 seconds, please be patient. Thanks! :-) 6). If you have any question, you can contact me: [email protected]

Screen Shots:

Tree Forest