OBBTree: a hierarchical structure for rapid interference detection
Stefan GottschalkMing C LinDinesh Manocha
Introduces oriented bounding box trees and a fast separating-axis overlap test to achieve real-time, exact collision detection between complex polygonal models undergoing rigid motion.
Simulating complex physical systems and performing tolerance analysis in computer-aided design require fast and exact collision detection. Traditional methods using bounding spheres or axis-aligned boxes struggle when unstructured, complex polygonal models come into close contact, resulting in severe performance bottlenecks due to the sheer volume of pairwise overlap checks required.
The article evaluates whether hierarchical representations based on oriented bounding boxes—rectangular boxes aligned arbitrarily in three-dimensional space—can deliver rapid, exact collision detection for large, unstructured polygonal models at interactive rates.
To address this question, the authors designed algorithms to compute tight-fitting bounding box hierarchies using statistical analysis of polygonal surfaces and introduced an overlap test based on a separating axis theorem. They implemented the system in a software package called RAPID and evaluated its performance through mathematical analysis and empirical simulations involving complex environments with up to hundreds of thousands of polygons.
The analysis demonstrates that the separating axis overlap test executes in roughly 5 to 7 microseconds (requiring under 200 operations in the worst case), which is one to two orders of magnitude faster than conventional linear programming and closest-feature tests. Furthermore, when approximating low-curvature geometry, the bounding boxes achieve quadratic convergence, requiring asymptotically fewer overlap tests than sphere trees or axis-aligned boxes in close-proximity scenarios. In interactive simulations involving dynamic models with hundreds of thousands of polygons, the system determined exact contacts in 4.2 to 6.9 milliseconds per step, outperforming previous methods that took a fraction of a second on smaller models.
These findings indicate that oriented bounding box hierarchies significantly reduce computational overhead in high-density contact scenarios without requiring pre-cleaned geometry or closed-form motion constraints. For engineering and virtual prototyping applications, this substantially cuts query times, lowers latency in interactive systems, and ensures robust contact resolution without manual geometry cleanup.
Organizations developing computer-aided design, robotics, or physics-based simulation tools should consider adopting oriented bounding box hierarchies, especially for close-proximity scenarios. Future work should focus on standardizing evaluation benchmarks, extending the technique to deformable objects and ray tracing, and investigating hardware or assembly-level implementations of the overlap test to maximize performance.
The reported performance advantages apply primarily to scenarios involving finely tessellated surfaces in close proximity; environments featuring highly irregular shapes or coarse geometries may not experience the same quadratic improvements. Memory requirements are approximately 412 bytes per triangle, representing an operational trade-off that should be accounted for when deploying on memory-constrained systems.
- Paper: Least-Squares Fitting of Two 3-D Point Sets, K. S. Arun et al. (1987). This foundational paper establishes the closed-form method for least-squares rigid-body alignment of 3D point sets that the OBBTree hierarchy relies on for computing relative motion and spatial transformations.
- Paper: R-trees: a dynamic index structure for spatial searching, Antonin Guttman (1984). Understanding this introduction to dynamic spatial index structures provides the necessary background in hierarchical bounding volumes essential for grasping OBBTree collision queries.
- Paper: A volumetric method for building complex models from range images, B. Curless et al. (1996). This work builds directly on rapid spatial data structures and surface representations to integrate multiple range images into seamless volumetric models.
