Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Particle rendering times

6

Michel Anders writes:

Hi,

because measuring is better than just assuming, I did some research on the question whether small meshes perform better than alpha mapped textures when rendering particle systems.

The short answer is: Yes you can speed up your renders significantly is you take the time to model a silhouette instead of alpha mapping a texture to a simple quad.

The in-depth story with all the gory details can be found on my blog.

Cheers,

-- Michel.

About the Author

Avatar image for Michel Anders
Michel Anders

Although a Blender user for over ten years, I have to admit that I am an enthusiastic but (very) mediocre artist at best. I discovered however that I really enjoyed helping people out with programming related questions and a couple of years ago when Packt Publishing was looking for authors on the BlenderArtists/Python forum I stepped in. So far this has resulted in several books: Blender 2.49 Scripting, Python 3 Web Development and recently I started self publishing books on Smashwords and Blender Market. The current list consists of: Creating Add-ons fro Blender, Open Shading Language for Blender and my latest: Blender Add-on Cookbook I maintain a blog on Blender related things, 'Small Blender Things' and I keep an eye on the coding forums at BlenderArtists where you can also contact me via private message if you like, my nickname there is 'varkenvarken'. Recently I started offering some Blender add-ons on BlenderMarket, the first one is called WeightLifter, a vertex group tool, which is now accompanied by Space Tree Pro, an environment aware tree modeler for ArchViz and IDMapper a tool to create ID maps easily for Substance painter. I live in a small converted farm in the southeast of the Netherlands where we raise goats for a hobby. We also keep a few chickens and the general management of the farm is left to our cats. This arrangement leaves me with with enough time to write the occasional book.

6 Comments

  1. Very interesting and high impact article. Great work !
    How the change from alpha to mesh influence viewport rendering ?
    Best,
    Payam

  2. I think it's also very efficient to model a simple outline of the leaf for the shadow, still use alphamapping but then disable "transparent shadows" in the material settings. So you have the advantages of both techiques - better visuals from alphamapping and better performance from opaque shadows.

    • good suggestion, and even with transparent shadows you would have a speedup if the mesh was only slightly larger than alphamap. But at almost any distance fine details in the shape of the shadow of a leaf is unnoticeable so disabling transparent shadows is fine and saves still a bit of rendering time.
      The bigger challenge might be translucency, both what light you see through a leaf (for which you need a translucent shader added to your nodes and which adds light coming from the back) and what light travels through the leave and casts light on other leaves. For this you need a transparent shader again but 1 bounce probably would be ok but i don't know if Blender has the option to limit transparent bounces per shader. Maybe the light path node offers some options here (is transparent in combination with depth or something?)

    • No, but whether the non-transparent part of the nodes is principled or not shouldn't make any difference, after all it is the number of times a new ray has to be calculated,i.e. if the spot that is hit is transparent that matters. So if your shader is different from my simple setup the absolute render times will change but the relative difference between transparency v real geometry will stay more or less the same.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×