Path Replay Backpropagation with inverse caustic rendering tutorial #1110
-
Hello, I am curious if it is possible to implement PRB with the inverse caustic rendering tutorial https://mitsuba.readthedocs.io/en/latest/src/inverse_rendering/caustics_optimization.html. I understand that the tutorial makes use of a particle tracer and says that it would be difficult or impossible to sample correctly with a standard path tracer. Why is this the case, or what's the high-level intuition behind this idea? Why does the emission of a single direction of light matter here? In addition, how does this affect whether or not PRB can be used in this case? Any help you could provide would be greatly appreciated! Thank you!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In that tutorial, we are using a perfect With light tracing ( This doesn't specifically apply to |
Beta Was this translation helpful? Give feedback.
Hi @griffinandrew
In that tutorial, we are using a perfect
dielectric
: for a given incident direction the ray will be reflected/refracted into a single & unique direction. In the documentation you'll see this behavior referred to as the BSDF having a dirac Delta distribution. This means that if you start tracing rays from your sensor, the direction in which you exit the glass slab is entirely dictated by how you entered it. The actual problem lies after you've exited the slab, during the last segment of the light path, because the direction with which you reached the emitter will statistically never be the same direction as the emission direction. So you'd never be able to build a light p…