celeritas
celeritas copied to clipboard
Assess and improve ORANGE primitive intersection/containment cost
The cost (both time and bandwidth) of evaluating "intersect" and "is inside" for surfaces and volumes will contribute substantially to the runtime.
- Use "short stack" for complex/background intersections
- Use infix notation to short circuit CSG evaluation
- Track through intersections using "faces" by intersecting CSG subregion box with infinite surface