version 0.85This text has been abbreviated. To see the complete text open changelog.txt
* 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
* 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
* 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')
Delta-Works TreeLib (c) 2007-2008 Stefan ElsenThis text has been abbreviated. To see the complete text open readme.txt
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.
DownloadsPlease choose a section: