Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've constructed an octree for use in frustum culling. The question is, should I insert an AABB for each bone of each object, or just the one AABB for the object?

share|improve this question
1  
Bones? If the object is animated using bones then you would need to get the 'biggest' AABB possible (for all animations) and use that one. Recalculating boxes according to the new bone size/pos/rot and moving inside the octree each frame will most probably be a bottleneck. –  Valmond Mar 22 '12 at 10:46

1 Answer 1

up vote 6 down vote accepted

You should really just use one AABB for most objects. You could always check the object twice, first on a per-object basis and then on a per-bone basis if you want the extra precision.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.