Difference between revisions of "Bounding volume"

From Valve Developer Community
Jump to: navigation, search
 
Line 1: Line 1:
 +
==AABB==
 
Axial-aligned bounding box, or AABB, stands for a 3D volume relative to a given origin.
 
Axial-aligned bounding box, or AABB, stands for a 3D volume relative to a given origin.
 +
==OBB==
 +
Oriented bounding box, or OBB, stands for a 3D volume relative to a given origin and angle.
 +
==Difference==
 +
In many applications the bounding box is aligned with the axes of the co-ordinate system, and it is then known as an axis-aligned bounding box (AABB). To distinguish the general case from an AABB, an arbitrary bounding box is sometimes called an oriented bounding box (OBB). AABBs are much simpler to test for intersection than OBBs, but have the disadvantage that when the model is rotated they cannot be simply rotated with it, but need to be recomputed.
 
{{stub}}
 
{{stub}}
 
[[Category:Glossary]]
 
[[Category:Glossary]]

Revision as of 15:09, 21 July 2006

AABB

Axial-aligned bounding box, or AABB, stands for a 3D volume relative to a given origin.

OBB

Oriented bounding box, or OBB, stands for a 3D volume relative to a given origin and angle.

Difference

In many applications the bounding box is aligned with the axes of the co-ordinate system, and it is then known as an axis-aligned bounding box (AABB). To distinguish the general case from an AABB, an arbitrary bounding box is sometimes called an oriented bounding box (OBB). AABBs are much simpler to test for intersection than OBBs, but have the disadvantage that when the model is rotated they cannot be simply rotated with it, but need to be recomputed.