Author Topic: Opacity Clip Slow  (Read 2112 times)

2019-03-28, 19:18:51

dfcorona

  • Active Users
  • **
  • Posts: 292
    • View Profile
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?

2019-03-28, 19:26:31
Reply #1

sprayer

  • Active Users
  • **
  • Posts: 794
    • View Profile
material settings?

2019-03-28, 19:29:38
Reply #2

dfcorona

  • Active Users
  • **
  • Posts: 292
    • View Profile
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.

2019-03-28, 20:01:36
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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).
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-03-28, 20:08:02
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.

I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-03-28, 20:16:51
Reply #5

dfcorona

  • Active Users
  • **
  • Posts: 292
    • View Profile
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.

2019-03-28, 21:34:04
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Basic configuration>texmap filtering dropdown, should be set to all but opacity.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-03-28, 21:59:54
Reply #7

dfcorona

  • Active Users
  • **
  • Posts: 292
    • View Profile
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.