Author Topic: Problem with Shadow Catcher for objects inside a "building"  (Read 4228 times)

2015-06-12, 14:17:45

jaco graaff

  • Active Users
  • **
  • Posts: 21
    • View Profile
I am rendering a "back plate" of an interior which takes a long time to clean up. Then I need to composite new objects inside the building. The obvious workflow is to render the new objects in a new scene with a matte/shadow-catcher material so as not to re-render the background again...

I have a problem with the render - the walls of the building with a Corona shadow-catch material does not block the sun-light the same way as when a regular material is applied to the "building" - see the picture

see the attached coronaMatte.jpg file

and the Max2016 file in the testMatte.zip archive

2015-06-12, 14:21:52
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13739
  • Marcin
    • View Profile
Can you re-save the scene for Max 15 or older?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-12, 15:29:14
Reply #2

jaco graaff

  • Active Users
  • **
  • Posts: 21
    • View Profile
saved as 2015

I want to animated various objects in the scene without the need to re-render the interior - the example interior is a simplification of my actual design, but it has the same problem

When the whole building is wrapped in a matte/shadow-catcher material the shadows from the sun are extremely sharp and dark

2015-06-12, 15:55:10
Reply #3

jaco graaff

  • Active Users
  • **
  • Posts: 21
    • View Profile
I included max 2015 scene in the previous post as an attachment - I think this is a limitation of the corona shadow-catcher/matte material

2015-06-12, 16:44:57
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13739
  • Marcin
    • View Profile
I'm not sure if it's possible. The boxes will be affecting the GI on the room, and the room will be affecting the GI on the boxes. There is also sunlight. So if the boxes would cover the windows (or even slightly block sunlight) and you would render boxes+rayswitch only, the sunlight would still be visible in the original "background" image. You would have to render the room with no lighting at all, GI, and boxes separately. I'm not sure if it won't be faster to render the whole beauty pass per frame. :)

(sorry if I don't understand something and I am writing complete nonsense)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-15, 01:18:24
Reply #5

jaco graaff

  • Active Users
  • **
  • Posts: 21
    • View Profile
Nope it is to simplistic an approach - what will work is if I render the interior as an environment map using the corona camera modifier's "spherical" lens-distortion setting - see the attached image

I then do not have to re-render the whole scene but just the animated small items and composite them on top of the static background

I forgot a bit about this workflow and glad Corona might be able to support it...