• entries
    31
  • comments
    43
  • views
    61378

Leaf Meshes vs. Leaf Billboards

Sign in to follow this  

1777 views

[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?
Sign in to follow this  


2 Comments


Recommended Comments

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...

Share this comment


Link to comment
[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. :)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now