Leaf Meshes vs. Leaf Billboards

Published June 01, 2011
Advertisement
[size="3"]e_22a.jpg

Above is a tree which uses spoke meshes for leaves (used imposter branches for leaves [see wire-frame render in comments]). Below is a tree which uses billboarded quads for leaves.

e_22b.jpg

I'm thinking that mesh type leaves are the way forward. I'll keep support for billboards, they could be very useful for vines, but the next version will not rely on them exclusively. With mesh type leaves the user can choose from a palette of leaf mesh types. Also export to static formats would be possible.


What do you think?
0 likes 2 comments

Comments

Jason Z
Why not approximate a leave with several billboards, or an atlas? It looks to me like your billboard version simply needs some variation applied to the billboards being used to break up the uniform patterns. I think using a full mesh for every leaf will make the rendering a little too expensive...
June 01, 2011 09:48 PM
RSI
RSI
[quote] I think using a full mesh for every leaf will make the rendering a little too expensive...[/quote]
Trees won't be using "one mesh per leaf". Instead, one mesh per group of leaves. The cost of rendering is actually slightly less expensive on mesh types as they do not require the billboard calculation.

The mesh type image has roughly the same number of polygons and is using the same single leaf texture. I wanted to do a one-to-one comparison of the two types of trees with the same materials.

Here is a wire-frame render of the first tree so you can see the polys.

[img]http://renderingsystems.com/gamedev/e_22c.jpg[/img]

Billboard trees are still going to be supported. It will be up to the user which type they'd like to create.

As a side note: The mesh types more accurately cast and receive shadows.

Thanks for your comment. :)
June 01, 2011 10:07 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement
Advertisement