PDA

View Full Version : TreeLib for rendering trees with OpenGL



Luuk van Venrooij
10-03-2008, 01:17 PM
I was searching for a way to add trees to the Genesis Device Engine and I found a nice library for generating and rendering high quality usable trees. I translated the headers and created a small demo for everyone to use and enjoy:)

More info in TreeLib:
http://www.delta-works.org/download/?&details=TreeLib

A screenshot:
http://img292.imageshack.us/img292/3761/20053921nb1.th.jpg (http://img292.imageshack.us/my.php?image=20053921nb1.jpg)

Download Link for the delphi version
http://www.genesisdevice.net/downloads/TreeLibPascal.zip

Regards,
Luuk

Brainer
10-03-2008, 06:01 PM
Thank you a lot! :D You can also take a look at GLScene's GLTree.pas unit - you can generate and render very nice trees with that, too. :)

Luuk van Venrooij
11-03-2008, 08:31 AM
I experimented with that but it didn`t give the results I wanted.

Brainer
11-03-2008, 10:09 AM
I experimented with that but it didn`t give the results I wanted.
Well, the results were quite satisfying for me. ;) Anyway, thank you for the wrapper. Can I use it with my engine?

Luuk van Venrooij
11-03-2008, 11:47 AM
Yes just make sure you check the licenses of my stuff and the TreeLib itself. All the stuff is in the documents directory

Luuk van Venrooij
12-03-2008, 04:06 PM
Now with my own shaders which add parallax mapping and realistic shading of the leaves. This is for the Genesis Device Engine

http://img227.imageshack.us/img227/7598/87556532rs6.th.jpg (http://img227.imageshack.us/my.php?image=87556532rs6.jpg)

JSoftware
12-03-2008, 04:28 PM
Looks very nice! But what's with the low fps?

chronozphere
12-03-2008, 06:03 PM
Looks pretty neat. :) Pitty it's OGL only. :(

chronozphere
12-03-2008, 08:22 PM
Looks pretty neat. :) Pitty it's OGL only. :(

Luuk van Venrooij
13-03-2008, 02:04 AM
The low FPS is because it runs on a geforce 6200 go. Also this tree has the max detail a treelib can generate.