Some Trees

Miscellaneous Forums/Graphics Showcase/Some Trees

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I like the frist one more. For a fir tree the branches look ok to me, but the trunk is too big. Both trees seem to be lit fullbright, so it's hard to see their shape from the still pictures.
The second tree lacks of a natural growing structure. Branches seem to grow in every direction. But in nature they try to align their leaves to the sunlight as much as possible, depending on their weight, wind and weather etc.

This unnatural alignement of branches and leaves is a common problem of many designs, and even tree creators. People simply glue some branches here and there, ignoring the photosynthesis.

Have a look at Coppercicles "Simple Tree Creator" (see thread in content creation tools forum). If you edit one line of the code (as described in the thread) it will create pretty nice trees.
The thread is here:
http://www.blitzbasic.com/Community/posts.php?topic=35265

If you don't have the usserlib of halos shader lib (like me) then you can rem those 3 lines tha are asking for some shader function calls (the ones that create an error when you try to start the source).

Then edit the line
sc#=(((h)/3))+1
to
sc#=maxsize - (((h)/3))+1

This creator is capable of creating extrem dense trees with very low polycount. A nice fir tree may have 50 Triangles only.