RE: [Algorithms] transforming a plane
Brought to you by:
vexxed72
From: Brian M. <bma...@ra...> - 2000-09-07 06:52:25
|
If you are wanting the AABB that encloses the original after transformation try: Arvo, James, Transforming Axis-Aligned Bounding Boxes, p. 548-550 http://www.acm.org/tog/GraphicsGems/gems.html It works by figuring out which of the corners of the bounding box produces the largest extent along each axis for the new coordinate space. I'm not sure if this is what you want - but exploiting the extent properties of a AABB is normally a good way to get fast code with them so hopefully the concept may help if nothing else. -Brian. |