Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: dfcorona on 2019-03-28, 19:18:51

Title: Opacity Clip Slow
Post by: dfcorona on 2019-03-28, 19:18:51
Hello,

We have an animation we are working on where we have a lot of vegetation. We are using Opacity maps for the trees and utilizing the clip option.  The problem is that it is still very slow to render.  With opacity with clip is 2X slower than turning off opacity.  Is there a better way or something that can be done?
Title: Re: Opacity Clip Slow
Post by: sprayer on 2019-03-28, 19:26:31
material settings?
Title: Re: Opacity Clip Slow
Post by: dfcorona on 2019-03-28, 19:29:38
material settings?
Thank you for the quick response, does material setting actually matter? cause this has only to do with Opacity clip vs no opacity.  So the same tree with geometry leaves renders 2x faster than adding Opacity clip mode to the same tree.  Is there a way to get the opacity to render faster, I thought clip mode would be as fast as geometry leaves.
Title: Re: Opacity Clip Slow
Post by: romullus on 2019-03-28, 20:01:36
Opacity is always will be slower than no opacity. Since you already enabled opacity clipping, there's not much you can do, appart from checking if opacity filtering is disabled in dev/debug settings (it should be off by default).
Title: Re: Opacity Clip Slow
Post by: romullus on 2019-03-28, 20:08:02
Also make sure that your leaves uses UV space efficiently. If opacity map contains more black than white, then it will be slow. See attached image. Unfortunatelly this can't be easily fixed on already existing assets, because changing texture maps, will alters tree's appearance (leaves will become bigger). Actually some time ago, i recorded a video, how this issue can be addressed, but it's not very easy and quite time consuming, but it can be acceptable solution, in case of extremely badly made trees.

Title: Re: Opacity Clip Slow
Post by: dfcorona on 2019-03-28, 20:16:51
Opacity is always will be slower than no opacity. Since you already enabled opacity clipping, there's not much you can do, appart from checking if opacity filtering is disabled in dev/debug settings (it should be off by default).
Thank you, I don't see opacity filtering? where do I find that? I enabled Dev mode in systems tab but cannot find it.
Title: Re: Opacity Clip Slow
Post by: romullus on 2019-03-28, 21:34:04
Basic configuration>texmap filtering dropdown, should be set to all but opacity.
Title: Re: Opacity Clip Slow
Post by: dfcorona on 2019-03-28, 21:59:54
Basic configuration>texmap filtering dropdown, should be set to all but opacity.
Gotcha thanks, yeah was already set like you said. Must just be long render times I guess.