mitsuba2 icon indicating copy to clipboard operation
mitsuba2 copied to clipboard

[❔ other question] Snell's law not followed by light

Open MaxDevas opened this issue 3 years ago • 0 comments

I try to replicate some experiments in Mitsuba. I wanted to try to see snell's law of refraction But the light does not follow the path it is expected to take.

gdsdfw

I put a spotlight, a cube with bsdf null and a isotropic medium. And a cube with bk7 (The cube is the default blender cube i exported as a .obj file)

I launch Mitsuba in scalar_rgb mode, i tried with scalar_spectral

But i tried another experiment, where the sensor looks at a picture which is under a glasscube. and in this case it seems to be fine REFRACTION

Here are the two scenes i tried. refractionzip.zip

Is there something i didn't understand in the computation of the ray? Is there something I did wrong in the scene?

Thank you in advance.

MaxDevas avatar May 05 '21 09:05 MaxDevas