sgTree
L-system Tree generator object
Description
This project was aimed to extend Torque 3D engine with real-time plant rendering object. This project was part of my master thesis and reference game called III Signs.
Yet now this project is abandoned, and since it is not usably complete may be used as a research base for other projects regarding plant rendering.
Screenshot

About
This object is supposed to render semi-random plant models at
realtime based on L-system gramma definition, textures coordinates,
and term definition. See oak.tls, pine.tls examples.
Features
- stochastic L-system support
- up to 8 textures per object support
- texture definition coordinates support
- vertex array optimization
- prebuilt to memory
TODO
- day/nite engine support (no support after I moved to vertex arrays)
- more optimization (one pass rendering for all trees)
- LOD support
License
Copyright © 2003 Adam Strzelecki. All right reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place – Suite 330, Boston, MA 02111-1307, USA.
Download
Latest release can be found at code repository of GarageGames.

Does anyone respond to this anymore?? I got a copy of the book in .pdf format and I am enjoying the hell out of it. This is the kind of math that is used in the 64k contest. Yea it’s still around.
http://www.maa.org/editorial/mathgames/mathgames_08_16_04.html
Download a complete 5 level fps that runs in 64K or less. This is the first time I have been able to find anyone using the math.
Hey Adam “OnO” Strzelecki where are you. We need to update this for the new LightManager which is the only obstacle to making this happen in TGE 1.5.2
I’m here… frankly I no longer play with TGE. Now doing some commercial work bit detached from 3D stuff, and some other free projects, so I cannot guarantee whether I’m going to revisit this sgTree project or not.
This was my master thesis base and it was left over once I got the thesis done which was in 2003. Sorry about that.
Since it is licensed as GPL, you may do whatever you want with this code if only it is left to be open, however I’m not sure whether the GPL is the best choice to be used together with TGE… hmmm…