Bounding Boxes for Skipping Unneeded Geometry
A bounding box encloses a set of shapes. If a query misses an enclosing box, it cannot hit the enclosed shapes.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a simple rejection
A ray restricted to a horizontal line at y=5 misses any box whose greatest y is three. The enclosed primitive tests can be skipped. Bounding intervals supply that spatial range.
Keep a conservative box
A box intersection does not guarantee a primitive hit. Retest the real contents when the bound permits a result. See sound pruning.[1]