celeritas icon indicating copy to clipboard operation
celeritas copied to clipboard

Assess and improve ORANGE primitive intersection/containment cost

Open sethrj opened this issue 2 months ago • 0 comments

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

sethrj avatar Oct 20 '25 14:10 sethrj