Author Topic: Corona 4 and absorption color  (Read 3519 times)

2019-06-11, 17:37:25

Deckard

  • Active Users
  • **
  • Posts: 19
    • View Profile
Hi all,

I installed Corona 4 today and after opening a previous kitchen scene with two oil/vinegar bottles, the liquids inside them render as transparent. The liquids use an absorption color and a distance of about 5cm. Changing the distance value doesn't seem to fix it.

Any ideas? Something to do with the new caustics, I suppose?

Thank you.

2019-06-11, 17:44:37
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6080
    • View Profile
Probably not the new caustics, unless you enabled them they will have no effect.

More likely is the overlapping media change. You should have been prompted on open to use the new functionality or the old - I'd try opening the scene, and selecting to use the old functionality, and see if that makes it render as it did before.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-06-11, 19:35:49
Reply #2

Deckard

  • Active Users
  • **
  • Posts: 19
    • View Profile
Thanks for your reply. Yes, I could indeed try the old functionality and it could probably be fixed, but the question is: How does absorption in liquids work in corona 4? I tried creating a new material and applying absorption, but it still comes out transparent...

2019-06-11, 20:25:23
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6080
    • View Profile
Absorption shouldn't have changed at all. What has changed is what happens when materials with refraction overlap - do your liquids render with absorption as expected when they are the only object in the scene and are not overlapping/intersecting anything else?

PS - some renders would help, and even perhaps the scene, if this is happening in, say, a simple test scene with a sphere.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-06-12, 07:05:09
Reply #4

Deckard

  • Active Users
  • **
  • Posts: 19
    • View Profile
It was indeed an object overlapping issue. I scaled down the liquids slightly (so that they don't touch the clear glass bottles) and now they render fine.

Thanks for your help!

2019-06-12, 09:33:04
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9248
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I scaled down the liquids slightly (so that they don't touch the clear glass bottles) and now they render fine.

But that is a wrong setup. Now your liquid probably is rendering incorrect. Liquid should overlap with glass container to render correctly.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-06-12, 09:41:55
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9248
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'm attaching quick renders to show what i mean. See how liquid in non overlapping renders look wrong.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-06-12, 14:44:29
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13631
  • Marcin
    • View Profile
The liquid object SHOULD overlap with the container geometry, BUT you have to remember about correct normals direction. Since Corona 4 volumetric effects (absorption, scattering, refraction,...) are now dependent on normal direction. So if the normals of your glass and/or liquid objects are flipped, they won't render correctly.
See this for info on correct setup in V4: https://coronarenderer.freshdesk.com/support/solutions/articles/5000515618
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-06-13, 16:30:32
Reply #8

Deckard

  • Active Users
  • **
  • Posts: 19
    • View Profile
Thank you romullus and maru for your input, I appreciate it.
I wonder if there will ever come a day when CG software won't need these "cheats" anymore... (sigh)

2019-06-14, 15:41:21
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13631
  • Marcin
    • View Profile
I wonder if there will ever come a day when CG software won't need these "cheats" anymore... (sigh)
At least Corona took one step forward in this regard. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us