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

TIR optimisation when tracing box geometry #16

Open
danieljfarrell opened this issue Apr 16, 2019 · 0 comments
Open

TIR optimisation when tracing box geometry #16

danieljfarrell opened this issue Apr 16, 2019 · 0 comments

Comments

@danieljfarrell
Copy link
Owner

danieljfarrell commented Apr 16, 2019

TIR rays inside box geometry have an analytically calculable total path length to edge.

This issues proposes adding a special optimisation for Box geometry which can speed to tracing of TIR rays. Rather than calculating a single reflection segment at a time, the total path length should be calculated and the ray should either be moved to the edge or moved to absorption location.

The details of how this is implemented need to be fleshed out. For example, should the ray still emit reflection events that it would have emitted if tracing each segment?

@danieljfarrell danieljfarrell added pvtrace2.0 Things related to the re-write of pvtrace for version 2.0 to-do labels Apr 16, 2019
@danieljfarrell danieljfarrell removed the pvtrace2.0 Things related to the re-write of pvtrace for version 2.0 label Mar 2, 2020
@danieljfarrell danieljfarrell changed the title Optimise box geometry TIR optimisation when tracing box geometry Feb 5, 2021
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

1 participant