Author Topic: make specific trees semi-transparent  (Read 1221 times)

2021-06-25, 13:30:54

Konichowaa

  • Active Users
  • **
  • Posts: 94
    • View Profile
Hi,
I'm working on a project where I would like to make some specific trees semi-transparent to show what's behind them.
I tried making the materials transparent, but with 3D trees, when too many leaves behind each other, the effect of transparency is lost (in the centre, on the edges the effect is as expected)

So, I was thinking I might need multipass (mask the objects?) and compositing, but (a bit shamed to admit ) I have never used multipass before so very newbie about that...

Can somebody explain me, what the best way is,  to do this, by detailed step or example file?

many thanks!
Koen Van haesendonck
3D-lab - www.3d-lab.be

2021-06-25, 14:39:41
Reply #1

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3870
  • Bengamin
    • View Profile
    • Cormats
Hi, have you tried lowering the opacity strength of the material? Seems to work well here ;)

Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2021-06-25, 19:09:10
Reply #2

BigAl3D

  • Active Users
  • **
  • Posts: 881
    • View Profile
Are you rendering a still image? That would make this much easier, but could also work with animation. Would also help to see your shot. The issue I see with Multi-Pass, is that you want to show the objects behind the trees. Multi-Pass can generate masks for the trees yes, BUT you will not have the full background object visible where the trees are.

If it's a handful of trees, you could use the Corona Compositing Tag on the group of trees that you want transparent and another tag for the rest of the objects. I would use C4D's Take System. Hopefully you are familiar with Takes. So powerful, but you need to know a few things.

Take 1:  The first take has the compositing tag for the trees "Seen by Camera" set to OFF. Compositing tag for all other objects is set to ON (seen by camera)

Take 2:  The opposite of the first. Trees ON and other objects OFF

Each Take can have its own render settings so each Take can save images with different names. Choose PNG or PSD with transparency and composite away. Now your GROUP of trees, no matter how thick, can be made as transparent as you need since it's one layer.

Let me know if you have any questions as this can get confusing when new to this concept.


@beanzvision Konichowaa addressed this saying that once you have several trees with transparency, the effect lessens and gets weird. I haven't tested this, but it make sense to me.