-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Following rays along the way of their multiple intersections #41
Comments
Note, you can use flat material if you calculate next segment on your own. It is much faster than the default diffuse material. Hit info for multiple segments is not available in PlotOptiX. Performance and memory would suffer a lot, and segments depend on the material logic that is specific to material shaders (how rays are refracted or what pdf function is used to draw the outgoing direction). So far I had no good use case to develop in this direction. |
Thank you very much for your help. I would then ask the following questions:
Sorry for the many questions and thanks in advance for any help. |
Hi,
No worries about questions! :) This way I can always spot some improvements. |
Good day,
I need to follow a ray along its path and acquire information of all its multiple intersections. To this end, I'm considering the following example involving the scattering from a corner reflector:
I have the following questions:
path_seg_range
to enable multiple reflections. However, it seems the line does not have an effect. If I comment it out, the results seem to be the same.rt._hit_pos
array. However, for my purposes, I need to know all the hit positions and distances per ray. Is that possible by PlotOptiX?The text was updated successfully, but these errors were encountered: