TreeGen free Tree library
Community Forums/Showcase/TreeGen free Tree library
| ||
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: 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 :-) |
| ||
You are too kind - this looks great!!! I don't need it but big thanks anyway. |
| ||
Wow, that's fantastic. Very generous, thanks, Jeppe. |
| ||
Many thanks - very useful. |
| ||
Jeppe, after excellent AplhaGUI, you giving such a nice tool again..thanks man... |
| ||
Nice, thanks for sharing. |
| ||
Thanks for your nice comments, btw the editor also exports to blitz3d .b3d, Directx .x and Wavefront .obj formats so you can use the trees in other engines aswell. |
| ||
Looks cool, thanks for sharing! Btw: Does it create X-Mas trees too?!? XD |
| ||
Excellent! Thanks. |
| ||
Thank you Jeppe, very handy tool, and very generous from you ! Sergio. |
| ||
"The system can also create mesh shadows for the trees." "btw the editor also exports to blitz3d .b3d, Directx .x and Wavefront .obj formats" Does it also export the mesh shadows?? If so - i love you! |
| ||
I'm afraid not :-) |
| ||
Hi Jeppe Nielsen, After I double-click the desktop icon, it reports MAV. Why? Are there any settings before running ? My pc configuration: AMD xp 2200, Windows XP sp2, Geforce FX-5200 128MB, 512MB RAM Sammy :) |
| ||
Hmm, sounds strange, what if you double click on the exe file instead? |
| ||
Hi Jeppe Nielsen, I tried your method to double-click exe directly. Still the same result. Any ideas? (I am using 1024x768 depth 32-bit) I could see the logo with white background and then follow by "memory access violation". Then, it exits. Sammy :) |
| ||
Thanks very much Jeppe that's a great Christmas present ! |
| ||
Very nice tool, but it seems to run pretty slow here... feels like about 10FPS or so. |
| ||
Impressive! You are very kind! Thanks for sharing Jeppe! Your tools are amazing and completely useful for all of us! They are a great help for development! Regards! |
| ||
Hi Jeppe Nielsen, Could you tell me if your program is packed with blitzsys.dll? If so, what version is it? Thanks in advance. Sammy :) |
| ||
It does not use blitzsys.dll. By the way can you run the examples? |
| ||
I am sorry, I can't run. I run all examples. All reports runtime error "Texture does not exist" In the debug mode, it stops in "treegen_include.bb" and highlight this line of code: width = textureWidth(tt\texture) (I already copied Treegen.decls to userlibs folder) Sammy :) |