Author Topic: Light leaks  (Read 6263 times)

2013-10-23, 18:13:59

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13702
  • Marcin
    • View Profile
1. Create a box
2. Place camera inside it
3. Turn on environment light or add a light source outside the box
4. ???
5. Profit!

I remember his has already been mentioned. What is causing this and are there any ways of fixing this other than applying shell modifier? I'm sure this contributes to some fireflies when rendering interiors.

related: http://corona-renderer.com/bugs/view.php?id=133
« Last Edit: 2014-03-06, 18:51:17 by Keymaster »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-10-23, 18:17:39
Reply #1

Dom74

  • Active Users
  • **
  • Posts: 95
    • View Profile
It remind me some problems with mental ray and photons passing throught thin geometry.

2013-10-23, 20:45:57
Reply #2

vkiuru

  • Active Users
  • **
  • Posts: 320
    • View Profile
Yeah isn't this the same p much with any renderer? In Vray it helps to make for example light cache samples smaller if I remember correctly.. apart from that there's the Shell modifier as you said.

2013-10-23, 20:55:10
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
It remind me some problems with mental ray and photons passing throught thin geometry.
that is different, photons leak consistently and it is a defficiency in the algorithm (bias). This is an implementation issue (although extremely difficult to get rid of)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-10-23, 21:55:42
Reply #4

Captain Obvious

  • Active Users
  • **
  • Posts: 167
    • View Profile
Does it leak if the box has thickness? I'm assuming this is just the ray skipping a small distance to avoid self-intersection.


Keymaster, as an aside... Does Embree do ray-primitive intersections in object space or world space? Just out of curiosity.

2013-10-23, 22:18:07
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13702
  • Marcin
    • View Profile
Does it leak if the box has thickness?

Quote
What is causing this and are there any ways of fixing this other than applying shell modifier?

Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-10-23, 22:24:48
Reply #6

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Does it leak if the box has thickness?

Quote
What is causing this and are there any ways of fixing this other than applying shell modifier?
well his name IS captain obvious... :D

Keymaster, as an aside... Does Embree do ray-primitive intersections in object space or world space? Just out of curiosity.
Embree by itself has no notion of spaces, so it depends on how do you use it. For instances, you obviously need object space, other than that, world space is simpler. Embree has several different triangle intersection algorithms, but they all have this sort of problems.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-10-24, 11:48:56
Reply #7

Captain Obvious

  • Active Users
  • **
  • Posts: 167
    • View Profile
Does it leak if the box has thickness?

Quote
What is causing this and are there any ways of fixing this other than applying shell modifier?
Haha, ooops. :-)


But anyway, real-world objects have thickness, so I don't really see the problem.



Quote
Embree by itself has no notion of spaces, so it depends on how do you use it. For instances, you obviously need object space, other than that, world space is simpler. Embree has several different triangle intersection algorithms, but they all have this sort of problems.
Ah, ok. Thanks.

2014-05-20, 14:56:51
Reply #8

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Improved
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)