Re: [Algorithms] Bounding Box calculation
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2007-10-30 20:38:31
|
Stephen Clibbery wrote: > > In fact, I’m willing to trade off quite a lot on the closeness of the > fit (these OBBs will only be used for frustum-cull tests), so maybe a > brute-force approach trying just a few coarse orientations would be > good enough and faster than anything else. I guess I’ll just have to > buckle down and implement the different approaches and compare them J > So why not use an AABB in model space instead, and then turn it into OOBB as part of model orientation? That's as fast as it gets to calculate, assuming you still need to look at all vertices. Another option is a bounding sphere, which doesn't even need rotation. Cheers, / h+ -- -- Revenge is the most pointless and damaging of human desires. |