Analyzing bounding boxes for object intersection
Authors:
Open Access
- 1 July 1999
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 18 (3) , 257-277
Abstract
Heuristics that exploit bouning boxes are common in algorithms for rendering, modeling, and animation. While experience has shown that bounding boxes improve the performance of these algorithms in practice, the previous theoretical analysis has concluded that bounding boxes perform poorly in the worst case. This paper reconciles this discrepancy by analyzing intersections amongngeometric objects in terms of two parameters: α an upper bound on theaspect ratioor elongatedness of each object; and σ an upper bound on thescale factoror size disparity between the largest and smallest objects. LettingKoandKbbe the number of intersecting object pairs and bounding box pairs, respectively, we analyze a ratio measure of the bounding boxes' efficiency, ρ =Kb/ (n + K0). The analysis proves thatρ = O(α√σlog2σ)andρ = Ω(α√σ).One important consequence is that if α and σ are small constants (as is often the case in practice), thenKb=O(Ko)+O(n, so an algorithm that uses bounding boxes has time complexity proportional to the number of actual object intersections. This theoretical result validates the efficiency that bounding boxes have demonstrated in practice. Another consequence of our analysis is a proof of the output-sensitivity of an algorithm for reporting all intersecting pairs in a set ofnconvex polyhedra with constant α and σ. The algorithm takes timeO(nlogd-1n+Kologd-1n) for dimensiond= 2, 3. This running time improves on the performance of previous algorithms, which make no assumptions about α and σ.Keywords
This publication has 20 references indexed in Scilit:
- Efficient collision detection using bounding volume hierarchies of k-DOPsIEEE Transactions on Visualization and Computer Graphics, 1998
- Collision detection for interactive graphics applicationsIEEE Transactions on Visualization and Computer Graphics, 1995
- Efficient collision detection for moving polyhedra1995
- Linear size binary space partitions for fat objectsLecture Notes in Computer Science, 1995
- Fat Triangles Determine Linearly Many HolesSIAM Journal on Computing, 1994
- Detecting Intersection of a Rectangular Solid and a Convex Polyhedron1994
- Computing the intersection-depth of polyhedraAlgorithmica, 1993
- An Optimal Algorithm for Intersecting Three-Dimensional Convex PolyhedraSIAM Journal on Computing, 1992
- Computational Geometry1984
- A new approach to rectangle intersections part IInternational Journal of Computer Mathematics, 1983