[Algorithms] View Frustum Culling
Brought to you by:
vexxed72
From: Tim J. <ti...@gn...> - 2000-09-07 10:46:29
|
What is the best method for coarse bounding box frustum culling? From what I can gather you either use axis aligned bound boxes (AABBs) = or oriented bounding boxes (OBBs), with OBBs having the advantage of = tighter fitting but need extra computations for the culling process. = Also which culling method is best, perspective transform the BB and the = view frustum to the perspective coordinate system (which with AABBs can = result in testing two AABBs which is just 6 comparisons, however you = have to transform all 8 vertices of the AABB) or testing the BB against = the 6 planes of the view frustum (which seems much simpler and = straightforward if that is all that is needed.) So is comparing AABBs against the frustum planes the best way to go and = is it just find the equations and test the vertices or is there some = more transforming needed in there? Also what are the extra steps needed to use OBBs instead? And finally a nice easy question, what is the right way to get the 6 = equations of the planes if you happen to have an OpenGL matrix? Any help would be great thanks, Tim. |