Render Speed – Alpha Vs Geometry

Forums: Render Speed – Alpha Vs Geometry
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Render Speed – Alpha Vs Geometry

Postby Raoul » Thu Apr 20, 2017 12:44 am

Raoul Thu Apr 20, 2017 12:44 am
So i have a bit of a query.

I've been using Megascans textures a lot recently and they have some great grass and leaf scans .. basically textures with an B/W alpha defining the edge of the shape.
The problem i've run into when i scatter a few hundred or so of these textures over a surface.. simple 1x1 polygon planes with texture applied.. it really kills the render times.
from a 2 min frame without the grass to something more like 2 -30 hours with grass. So i can understand its getting very complicated with the shadows and lighting bounces etc..
However.. if i recreate a scene like that and use simple geo to create the grass form, instead of an alpha.. the render times drop back down to very reasonable 3-5 mins etc.

So my question is there something I'm missing about using alpha in the opacity channel of a material? Is there another way to approach this without killing render times..

I've taken some screen grabs of a very simple setup to illustrate my point.

Heres a set up with Geo defining the grass, not an alpha. very reasonable render time of 31seconds.
PastedGraphic-6.png
PastedGraphic-9.png


But then i use an alpha on a 1x1 polygon to define the form.. pretty much exactly the same in every other way. and the render time jumps to 21 minutes..
PastedGraphic-8.png
PastedGraphic-10.png


I'm just curious if this is something that can be addressed.. or if its just best not to use alphas.. (which would be a pain .. as its often the best/only way to do large landscapes with plant detail...
Also curious if Octane had the same performance hits with alphas in previous version of the plugin?

Thanks for your help and thoughts!
Raoul
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Sun May 25, 2014 8:24 am

Re: Render Speed – Alpha Vs Geometry

Postby atome451 » Thu Apr 20, 2017 4:08 am

atome451 Thu Apr 20, 2017 4:08 am
Hi,

Yes. It's an old problem. If you uncheck Alpha Shadows in the Kernel, your render will be faster. But it's not a solution of course because Alpha Shadows is often needed for a lot of another things... :roll:

That's why Forester is so interresting with Octane: all leaves are polygonal.
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
User avatar
atome451
Licensed Customer
Licensed Customer
 
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium

Re: Render Speed – Alpha Vs Geometry

Postby Raoul » Fri Apr 21, 2017 3:13 am

Raoul Fri Apr 21, 2017 3:13 am
Hey Atome, Thanks for the confirmation.
Yeah its a pity. as there are a LOT of situations where alpha maps for repeating textures are very useful. It does strike me that it could be something that could be optimised for. I don't see why a piece of geo should be that much quicker than a texture.. but hey I'm not a coder.

Forrester looks good but doesn't look to be in the same league as whats possible with Megascans. https://www.youtube.com/watch?v=0EyHSzfDo6c

Would love to know from Aoktar or the broader team if they think theres any chance something like this might get addressed down the line?
Cheers
R
Raoul
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Sun May 25, 2014 8:24 am

Re: Render Speed – Alpha Vs Geometry

Postby aoktar » Fri Apr 21, 2017 6:27 am

aoktar Fri Apr 21, 2017 6:27 am
It's not just a performance drop about alpha. Mixed situation with very dense usage of objects. Note that this is a pathtracer so rays have to travel the world.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15962
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 13 guests

Sat Apr 20, 2024 1:05 pm [ UTC ]