Skip to content
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

Material overlap problem #137

Open
morenara opened this issue Apr 9, 2024 · 1 comment
Open

Material overlap problem #137

morenara opened this issue Apr 9, 2024 · 1 comment

Comments

@morenara
Copy link

morenara commented Apr 9, 2024

Currently, the refractive index of overlapped area become addition between two refractive index.
n_total = n1 + n2 = 1.5+1.5 = 3
It somehow makes sense,
but most of the case, our intention of optical simulation is not merging (or fusing) materials,
(We are not a material scientist!)
but immersing one into the other.
For example the glass ball in the tank of water.

Could you add some options for how to treat overlapped area?

  1. addition b/w materials
  2. selection one refractive index based on priority (similar as layer orders in other apps)
@ricktu288
Copy link
Owner

The refractive indices multiply, not add.

Related to #37, #51, #109.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants