I have just finished a single surface tree library for blitz3d. And I am giving it away for free :-)
The library includes an editor to ease the tree creation process. It also has a few blitz source examples to see how easy it is to use this system. Basically it is this easy, when you have created a tree template in the editor:
As you can see we will both need a template and a cluster before we create a tree using the TreeNew command. A template is a collection of infomation to tell the system what the trees should look like. These templates can both be created in the provided editor or in code. Clusters are basically meshes, each with a collection of trees, thus each cluster is a single surface. The system can also create mesh shadows for the trees.
Anyway, some screenshots (click to enlarge):






Download link:
Download TreeGen 2.26mb
Hope you like the library :-)
The library includes an editor to ease the tree creation process. It also has a few blitz source examples to see how easy it is to use this system. Basically it is this easy, when you have created a tree template in the editor:
Include "TreeGen_include.bb" Graphics3D 800,600 MoveEntity CreateCamera(),0,0,-15 template = TreeTemplateLoad( "LargeOak.tree" ) TreeClusterNew( template , 0 , 0 , 0 ) TreeNew( template , 0 , 0 , 0 ) Repeat RenderWorld Flip Until Keydown(1)
As you can see we will both need a template and a cluster before we create a tree using the TreeNew command. A template is a collection of infomation to tell the system what the trees should look like. These templates can both be created in the provided editor or in code. Clusters are basically meshes, each with a collection of trees, thus each cluster is a single surface. The system can also create mesh shadows for the trees.
Anyway, some screenshots (click to enlarge):






Download link:
Download TreeGen 2.26mb
Hope you like the library :-)