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

Raytracing reflections #33

Closed
pasansherath opened this issue Jul 22, 2020 · 1 comment
Closed

Raytracing reflections #33

pasansherath opened this issue Jul 22, 2020 · 1 comment

Comments

@pasansherath
Copy link

Hi there,
I am interested in using this code. It looks awesome as it can be run with python. I looked at the two examples. I was wondering whether it can trace only refractions. Is it possible to trace reflections as well?

Thanks
Pasan

@bernard-giroux
Copy link
Member

Hi Pasan,
It's possible but not straight-forward and has to be done in multiple steps. You have to store arrival times at all nodes on the surface defining your reflection interface, and use those as source on a subsequent run. It can become tedious when you have many interfaces, and if you want multiples...

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

No branches or pull requests

2 participants