Is the computation of Snell's law correct? #825
Answered
by
njroussel
ligoudaner377
asked this question in
Q&A
-
mitsuba3/include/mitsuba/render/fresnel.h Line 160 in a946691 I have difficulty understanding the above code for computing the cos value of the transmitted light. Sorry in advance. if I asked a too-naive question |
Beta Was this translation helpful? Give feedback.
Answered by
njroussel
Jul 26, 2023
Replies: 1 comment 1 reply
-
By definition we have
Do you agree? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ligoudaner377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ligoudaner377
By definition we have
sin_theta_t = et_ti * sin_theta_i
The current code translates to:
Do you agree?