Delta-Works top banner


Project thumbDownloads/TreeLib
Dynamic library for OpenGL trees. Freeware.

FilenameSizeDownloadsLast updateUpdate No

treelib v0.65 Win32.zip661.4 kb1236Sep 28. 20191
experimental dll.zip648.8 kb1256Sep 28. 20192
treelib v0.7 Win32.zip751 kb1189Sep 28. 20193
treelib v0.62 Win32.zip554.9 kb1177Sep 28. 20192
treelib v0.8 Win32.zip1.7 mb1177Sep 28. 20191
TreeGen Demo Win32.zip2.4 mb1790Sep 28. 20198
treelib v0.61 Win32.zip512.4 kb1206Sep 28. 20191
treelib v0.85 Win32.zip1.7 mb1410Sep 28. 20194
treelib v0.51 Win32.zip459.5 kb1387Sep 28. 20195

version 0.85

* Reworked the tree generation algorithm. It features a lot more attributes now and should in general produce nicer trees
* Added wind
* Added snow
* Added options to save and load attribute configurations

version 0.80

* Added imposters
* Added optional bump-maps to branches
* Replaced texture packs with individual textures that can be set via string or OpenGL texture handle
* Textures can now be explicitly loaded before they are actually used the first time preventing runtime lag when using larger textures.
* Added bottom caps (planar and pointy) for scenarios that actually allow viewing trees from below
* Collapsed branch nodes that have neither children nor successors.
* Added extensive lighting and fog support in shaders

version 0.70

* Support for external leaf shaders and auto implementation of internal leaf shaders depending on the state of the global attribute 'TL_LEAF_RENDER_STRATEGY'
* Support for texture files in 'packs' sub-folders (i.e. './packs/default')
This text has been abbreviated. To see the complete text open changelog.txt

Delta-Works TreeLib (c) 2007-2008 Stefan Elsen


What is TreeLib?

TreeLib is a shared library for Linux and Windows to handle trees. The library handles generation, automated detail approximation and rendering in OpenGL.
An existing OpenGL context is required for rendering.
The library may however be used to simply extract the geometries of the generated trees in order to render them via other methods. A valid OpenGL context is not needed in this case.

Are there any restrictions on how to create the used OpenGL context (if any)?

No. Any context will do. With whatever foundation or method created.
In general You should be able to use whatever language as long as it can create an OpenGL context and open DLLs/SOs. The provided headers are for C/C++ only so far though. You may have to improvise.

Is there a version of TreeLib for Direct3d?

Not at this point. If you wish to use this library to render trees using Direct3d, You will have to extract and render the trees manually.

This text has been abbreviated. To see the complete text open readme.txt



Please choose a section:

Eve tools

Various eve tools

Vertical (game)

Finished sled game. Can be fun for a few hours :)


Delta-Works downloads (libraries, examples, documentation)


Car racing game. Work in progress

PhysX Car

Simple PhysX car simulation


Dynamic library for OpenGL trees. Freeware.

Texture Archive

Win32 Texture archive editor

Morningfall (game)

Welcome to the Morningfall project

Delta-Works bottom banner