Michael A. Kern, Alain Galvan, David Oldcorn, Daniel Skinner, Rohan Mehalwal, Leo Reyes Lozano and Matthäus G. Chajdas
Apr 23, 2025 · Updated 1 week ago ·
Tags: researchpaperhpgeurographics2025obbbvhkdopaabbgpgpu
Oriented bounding box (OBB) bounding volume hierarchies offer a more precise fit than axis-aligned bounding box hierarchies in scenarios with thin elongated and arbitrarily rotated geometry, enhancing intersection test performance in ray tracing. However, determining optimally oriented bounding boxes can be computationally expensive and have high memory requirements. Recent research has shown that pre-built hierarchies can be efficiently converted to OBB hierarchies on the GPU in a bottom-up pass, yielding significant ray tracing traversal improvements. In this paper, we introduce a novel OBB construction technique where all internal node children share a consistent OBB transform, chosen from a fixed set of discrete quantized rotations. This allows for efficient encoding and reduces the computational complexity of OBB transformations. We further extend our approach to hierarchies with multiple children per node by leveraging Discrete Orientation Polytopes (k-DOPs), demonstrating improvements in traversal performance while limiting the build time impact for real-time applications. Our method is applied as a post-processing step, integrating seamlessly into existing hierarchy construction pipelines. Despite a 12.6% increase in build time, our experimental results demonstrate an average improvement of 18.5% in primary, 32.4% in secondary rays, and maximum gain of 65% in ray intersection performance, highlighting its potential for advancing real-time applications. [Kern et al. 2025]
Intersection tests and queries are common tasks in ray tracing, with photo-realistic image synthesis and light transport simulation requiring intersection queries to arbitrary geometry for light paths [Whitted 1980]. To improve the performance of intersection queries, the most common method is using an object-based partitioning scheme such as bounding volume hierarchies (BVH) with AABBs for sections of primitives , as they enable fast, scalable building and traversal. There exists many alternative bounding structures such as capsules, bounding spheres and ellipsoids, refer to for a survey of structures. OBBs provide a tight approximation of a wide range of geometric objects [C. Lin S. Gottschalk et al. 1996] by orienting themselves in 3D space, outperforming AABBs by culling more empty space than other methods such as triangle splitting [Stich et al. 2009] while only requiring an additional parameter to represent their orientation. This has been shown to improve the traversal of primitives such as cylinders, curves, glyphs, or hair [Wald et al. 2020].
An internal node can represent OBBs either through independent orientations across all of its children, or a shared orientation. We opt for a shared orientation for all child bounding boxes of a node and show that this yields enough improvement for 4-wide or 8-wide BVHs [Lier et al. 2018] to justify its usage, while reducing the amount of storage per node. This representation can be further reduced by using a discrete set of unique aliased orientations in axis-angle space. This allows each internal node to use as little as 1 byte for its orientation.
Building an OBB BVH requires knowledge of the best fit orientation for a subtree, and the tightest bounds of that or any arbitrary orientation. -DOPs with apex points [Laine et al. 2015] allow for computing bounds in constant time for any orientation. While there exists many schemes for computing orientations such as principal component analysis (PCA) [Dimitrov et al. 2009] or the ditetrahedron OBB algorithm (DiTO), we've found the impact on build time to be too large to warrant the potential gains. Thus we propose instead a greedy bottom-up postprocess pass where orientations of a wide BVH's leaf nodes are first computed for primitives, then used as candidates for their parent node's orientation. The candidate is then chosen based on which has the smallest surface area that's less than the original surface area of the AABB node.
Special Thanks to Julien Beasley, Ryan Kennedy, John Tskok, Pratith Kanagaraj, Andreas Leitner, David McCalister, Pranabesh Sinha for your insights and contributions.
| [Kern et al. 2025] DOBB‐BVH: Efficient Ray Traversal by Transforming Wide BVHs into Oriented Bounding Box Trees using Discrete Rotations Wiley, Computer Graphics Forum 2025 dx.doi.org |
| [Whitted 1980] An improved illumination model for shaded display Association for Computing Machinery, Commun. ACM 1980 doi.org |
| [C. Lin S. Gottschalk et al. 1996] OBBTree: a hierarchical structure for rapid interference detection Association for Computing Machinery 1996 doi.org |
| [Stich et al. 2009] |
| [Wald et al. 2020] Using Hardware Ray Transforms to Accelerate Ray/Primitive Intersections for Long, Thin Primitive Types Association for Computing Machinery, Proc. ACM Comput. Graph. Interact. Tech. 2020 doi.org |
| [Lier et al. 2018] |
| [Laine et al. 2015] Apex Point Map for Constant-Time Bounding Plane Approximation The Eurographics Association 2015 diglib.eg.org |
| [Dimitrov et al. 2009] |