Author Topic: DOF with shadowcatcher  (Read 2235 times)

2018-07-16, 17:03:40

louisryko

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

I'm populating an interior apartment image (photograph) with 3D furniture. For this I'm using shadowcatcher with the image as a backplate.

One problem I'm having is that when I enable DOF on on the corona cam the invisible light (in the doorway) becomes visible. As soon as I disable DOF the light is no longer visible - which is correct.

Attached are both renders for comparison. I have tried setting the light as 'shadowcatcher illuminator' with no success.

Any help appreciated!


2018-07-17, 10:52:20
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Hi, sorry, but I have trouble understanding your description.
The apartment interior and the view behind the window is a real photo, right?
You have modeled the whole room and used shadowcatcher material on that geometry?

"One problem I'm having is that when I enable DOF on on the corona cam the invisible light (in the doorway) becomes visible. As soon as I disable DOF the light is no longer visible - which is correct."
-What light and what doorway are you talking about? Can you mark them in the image? Why would a light become visible/invisible depending on DOF? I cannot see this effect in your images. What I see is some kind of plane covering the window in one picture.

Update: ok, that was pretty stupid of me :) that "plane covering a window" is actually a light object, right? So it becomes visible when you enable DOF? And that light is against a shadowcatcher material?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-07-17, 13:02:39
Reply #2

sprayer

  • Active Users
  • **
  • Posts: 794
    • View Profile
unclear description because we do not see shadow catcher object, but you can hide light visibility like this http://imagizer.imageshack.com/img921/3228/Ml0YHI.jpg

2018-07-17, 13:41:55
Reply #3

louisryko

  • Active Users
  • **
  • Posts: 51
    • View Profile
Update: ok, that was pretty stupid of me :) that "plane covering a window" is actually a light object, right? So it becomes visible when you enable DOF? And that light is against a shadowcatcher material?

Yes, Correct!

......

Apologies that my previous description was unclear! Appreciate the reply nonetheless.

Yes, the furniture is all 3d, the rest is a real photo. I modelled the room to match the photo and applied shadowcatcher to ceiling/floor/walls.

Yes, there is a rectangle light covering the door/window in far center of the image. The 'plane' visible in the first image is the light, which has 'visible directly' unticked. That's why it is not visible in the second image from my initial post (the render which has no DOF applied to the same corona cam). The apparent bug is that the light is visible (albeit oddly blurry) when I apply DOF to the camera.

Does this make sense now?

Any suggestions why this is happening, or how I can have the light turned on, invisible, and also have DOF applied to the corona cam?

2018-07-17, 17:04:18
Reply #4

sprayer

  • Active Users
  • **
  • Posts: 794
    • View Profile
I can't reproduce that
http://imagizer.imageshack.com/img923/2055/7fZMNy.jpg
http://imagizer.imageshack.com/img923/9186/iCMwPX.jpg

All work fine if light behind the shadow catcher wall , but if the light in the room it produce strange  result like it's emit at back but this option is off, though it still not visible.
http://imagizer.imageshack.com/img923/1628/o36F0G.jpg

maybe you can share simple scene?

2018-07-18, 10:56:05
Reply #5

louisryko

  • Active Users
  • **
  • Posts: 51
    • View Profile
maybe you can share simple scene?

Sure, here is a dropbox link (I've simplified the scene and given you the backplate image):
https://www.dropbox.com/sh/0khl2bkp3iiv6al/AAA2Qa3qGgah_zniX06PCKjea?dl=0

If you select the camera and turn on DOF (while in interactive rendering mode) you'll see that center light suddenly loose it's transparency.

Cheers.

2018-07-18, 14:25:40
Reply #6

sprayer

  • Active Users
  • **
  • Posts: 794
    • View Profile
It is not visible light but blurred environment, you will see if you hide the walls.
This is bug though, here link to solution https://forum.corona-renderer.com/index.php?topic=20530.msg127727#msg127727

2018-07-23, 13:18:27
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us