Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
Hello,
I would like to render a scene where two participating media intersect. From what I understand, as a Ray points to only one Medium, one of the two media takes precedence as its boundary is intersected last (the blue one here).
Do you think of a way I could render such a scene?
Hello, I would like to render a scene where two participating media intersect. From what I understand, as a
Ray
points to only oneMedium
, one of the two media takes precedence as its boundary is intersected last (the blue one here).Do you think of a way I could render such a scene?