Overview
BVH construction recursively groups primitives into bounding boxes, often using split heuristics that reduce expected traversal cost.
Builds a tree of bounding volumes around geometry for faster spatial queries.
Compact metadata for implementation and discovery.
BVH construction recursively groups primitives into bounding boxes, often using split heuristics that reduce expected traversal cost.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n log n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
cost = traversal_cost + (area_left/area_parent)*n_left + (area_right/area_parent)*n_rightScores a split by expected traversal work.
Draw the input shapes, active tests, and generated geometric result.
Bounding Volume Hierarchy Construction should be used with the assumptions and tradeoffs of spatial Index Construction in mind.
What each reference supports for this entry.
Geometric collision reference for Bounding Volume Hierarchy Construction's primitive tests, bounding volumes, and numerical edge cases.
Rendering reference for Bounding Volume Hierarchy Construction's ray queries, acceleration structures, or implicit-geometry use case.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
BVHs commonly store axis-aligned bounding boxes.
Traversal requires a constructed bounding volume hierarchy.