
12.3 Bounding Volume Hierarchies 267
created offline (i.e., not when the game is running, but rather while the level is loading,
or more likely as part of building the level before it ships). For very dynamic worlds
where objects are constantly in motion, the hierarchy needs to be rebuilt during the
game.
I will give an overview and flavor of how hierarchies can be constructed, but there
are many more variations and techniques than I can describe in detail here. You can
find more information in Ericson [2005].
There are three algorithm families for building a BVH:
Bottom Up: The bottom-up approach (illustrated in Figure 12.5) starts with a
list of unprocess ...