In this article
BVH traversal saves intersection tests through hierarchical rejection; build quality, ray distribution, layout, and update cost determine the useful result.
A bounding-volume hierarchy reduces ray-intersection work by grouping geometry inside nested bounds. A ray can reject a whole group when it misses that group’s bound. On a GPU, the useful algorithmic savings interact with divergent traversal, memory layout, and specialized ray-tracing hardware. Understanding the hierarchy explains why scene organization can matter as much as the number of triangles.
Bounds reject groups before primitives
A node bound encloses geometry represented by descendants. If a ray misses the bound, there is no need to test every enclosed primitive. When bounds overlap heavily, a ray may visit several branches and lose some of this advantage. The hierarchy is therefore a representation of spatial organization rather than simply a count of objects. A scene with fewer primitives can still require more traversal than a better organized larger scene.
Primary reference: Physically Based Rendering: Bounding Volume Hierarchies.
Different rays follow different branches
Neighboring GPU lanes can traverse different parts of the hierarchy after rays scatter. Some lanes may wait while others continue expensive paths, and memory requests can become less coherent. This does not make the hierarchy wrong; it changes execution efficiency. Compare primary rays and later scattered rays separately. Their geometric distributions differ, so a single aggregate traversal time can hide the phase where divergence and memory access become most expensive.
Primary reference: Physically Based Rendering: Light Transport and Surface Reflection.
Building quality is purchased with preparation
A more carefully built hierarchy can reduce later traversal work but take longer to construct. For a static scene rendered many times, that preparation may amortize well. For rapidly changing geometry, update or rebuild cost can dominate. Measure the complete scene lifecycle relevant to the application. A traversal-only result cannot decide the best construction policy for interactive editing, animation, or a one-off server render with substantial scene preparation.
Primary reference: Physically Based Rendering: Primitives and Intersection Acceleration.
The hardware API controls part of the representation
GPU ray-tracing APIs can provide acceleration-structure construction and intersection machinery whose internal representation differs from a software textbook BVH. The conceptual hierarchy remains useful, but applications should not assume undocumented node formats or traversal behavior. Use the API’s supported build and update contracts. Keep software reference tests for geometric correctness while treating opaque acceleration data as implementation-owned state rather than a portable array of manually editable nodes.
Evaluate scene and ray distributions together
Use representative camera positions, material behavior, and animation states. Record preparation time, traversal phases, memory footprint, and final image correctness. A hierarchy that performs well for one camera can behave differently when most rays enter another region. Avoid promising a universal triangle-per-second number from one scene. The useful diagnosis identifies whether bounds, ray incoherence, build cost, or another phase determines the complete rendering workload’s completion time.
Related reading: Sharing GPUs between LLM inference and server rendering; NVIDIA and AMD GPU catalogue for LLM inference and server rendering.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.