-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong refraction index for glass on top #51
Comments
I think a more intuitive overlapping behavior is that the glass created later always replace the glass created first. But implementing that would be quite difficult. I think I will just add a notice to clarify the current behavior. |
I made it using a half-plane. I see you are proposing a free-shape with a hole but I don't know how to do that? Find attached json files: b) |
understood, thank you! |
You can now use the slider to set the (relative) refractive index to less than one to simulate the inner material being less refractive than the outer material. No need to do what I described in the previous comment anymore. |
I see. Thank you! |
I set a half-plane with refractive index = 2.5, and then I put on top a free-shape with refractive index = 1.5
Then, inside the free-shape, the ray refracts as refractive index = 3.75 (not as 1.5)
I checked the effective refractive index is actually the product (3.75=2.5*1.5)
see screen shot: https://screenrec.com/share/PaJxQ45G6U
I think this is wrong because if I need the right refactive angle inside the top glass, in the case above, I have to set a refractive index of 1.5/3.75=0.6 (less than 1 should not be possible)
see screen shot: https://screenrec.com/share/4frvgjD3Bx
If I combine more than 2 glasses, one in top of the other, I checked the effective refractive index is the product of the top two.
The text was updated successfully, but these errors were encountered: