Author Topic: Direct visibility override & thin glass  (Read 5781 times)

2016-08-25, 05:35:42

16925

  • Users
  • *
  • Posts: 4
    • View Profile
Please tell me if it's a bug or I don't know what I'm doing. Scene lighting is HDR image. CoronaBitmap is assigned as a direct visibility override.

On the right window I got total of 5 polygons with thin glass CoronaMtl located between camera and outside view: 1 window and 2 separators. On the left window I got total of 3 polygons with thin glass CoronaMtl located between camera and outside view of left window: 1 window and 1 separator. Each separator has 2 polygons of thin glass because of it's thickness (Multi/Sub-Object with solid glass on edges and thin glass on main planes).

My direct visibility override is cut and just bottom part is visible in the right window (that part is black in HDR). Once I remove any of separators (2 thin glass planes) I get it as it should be.

If I make all separators CoronaMtl (not Multi/Sub-Object) with thin glass it doesn't help: direct visibility override just disappears and only HDR image becomes visible through windows.
« Last Edit: 2016-08-25, 22:15:23 by 16925 »

2016-08-25, 09:49:07
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8846
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I hardly understand your description, but try this - activate refraction override and instantiate map from direct override over there. See if that solves your problem.

And yeah, solid glass in multi-subobject material will give wrong results in Corona. This is known bug and hopefully will be fixed in upcoming release.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-08-25, 18:20:57
Reply #2

16925

  • Users
  • *
  • Posts: 4
    • View Profile
I hardly understand your description, but try this - activate refraction override and instantiate map from direct override over there. See if that solves your problem.

And yeah, solid glass in multi-subobject material will give wrong results in Corona. This is known bug and hopefully will be fixed in upcoming release.
Excuse me if my explanation was too long. In short, I don't get it why left window background is fine and right window background is cut off. Both windows are exactly instanced and between both of them and camera are instanced very same thin glasses. I doubt it's by design.
« Last Edit: 2016-08-25, 20:35:49 by 16925 »

2016-08-25, 19:28:19
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8846
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Can you upload simplified scene for inspection? You can strip anything that's not neccessary for this bug to appear.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-08-25, 20:08:47
Reply #4

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. There's another bug report regarding glass that might relate to this:
https://forum.corona-renderer.com/index.php/topic,12589.0.html

Besides that, the "light change" you're talking about might indicate that your background plane is set up wrong.

Hope it helps

2016-08-25, 20:20:19
Reply #5

16925

  • Users
  • *
  • Posts: 4
    • View Profile
I double-checked with different images for direct visibility override and scene lighting. It works a little less obvious but still kinda funky. In my first post it probably has to do with reflection of HDR (that is very light) cutting the backplate when there's extra thin glass... Well I still encourage you to have a look if it's supposed to be this way.
« Last Edit: 2016-08-26, 19:40:09 by 16925 »

2016-08-25, 20:56:01
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8846
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unfortunatelly i can't open it - file was created in newer version. Mine is max 2016.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-08-25, 21:15:31
Reply #7

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5466
    • View Profile
2016 version attached
Tom Grimes | chaos-corona.com
Product Manager | contact us

2016-08-25, 21:28:56
Reply #8

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5466
    • View Profile
If I open and render the scene as sent with no changes, I get the image attached, and everything looks ok I believe? This is Max 2017, Corona 1.4. All objects are set to be visible when I checked how the scene is set up, with everything listed as a separator being visible. Is this different from your result rendering with the scene as sent? Or is there something I need to change in order to see the problem where the image outside gets cut off?

Thanks!
   Tom

Tom Grimes | chaos-corona.com
Product Manager | contact us

2016-08-25, 21:48:05
Reply #9

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
OK. This makes some sense. The "cutoff" is actually overexposed double reflections.

2016-08-25, 22:10:16
Reply #10

16925

  • Users
  • *
  • Posts: 4
    • View Profile
Yes that's the same result as mine.
« Last Edit: 2016-08-26, 19:40:46 by 16925 »