Skip to content

TIR optimisation when tracing box geometry #16

Description

@danieljfarrell

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions