3D trees, how are they done?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
esaptonor

3D trees, how are they done?

Post by esaptonor »

I have noticed in games trees sometimes can look weird - if you stand under them and look up, then turn, the leaves will turn too!

i need to make a 3D tree model, and since i noticed those funny things, i assume that trees are not just a modelled trunk and 10 thousand modelled leaves....how is it done? are the leaves on billboards or something?
thanks,
André
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

trunk modeled low pol


big quads in cross, each containing the image of a bunch of leaves.importantly, is an alpha tetxure ;)


several so.


or using free tremagik (basicly a prefab what I mentioned above)


if u can go hi pol, there are methods to ouput an averagely mid count tre out of arbaro . arbaro.sourceforge.net You'd need java jre.

yet though, the trunk and branches are spearate objetcs. I usually take my time on welding em at vertex level.

this would be ideal if u plan on using some LOD method, like replacing the tree each distance, so that finally they maybe only a singlebillboard, or brute force methods that automatically reduce poly count with distance.

dunno what is possible in irrlicht, I guess you may have to build your own if not.
Finally making games again!
http://www.konekogames.com
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

and here's a thread with three tree options :)

http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=71939
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

I love u bitplane! (In the sense of a friend liking a friend in friendly terms that is) :lol:

The procedural trees are amazing and i never even knew that such a post existed! Thanks mate!
Post Reply