Collision detection frame coherence at the midphase
Posted: Tue Nov 26, 2013 11:11 pm
Hello,
I wonder if anyone has experience with frame coherence within the midphase of the collision detection. We exploit ghost/phantom style queries to help accelerate our triangle queries for a couple of decals that are generated per frame. While the ghost gives us a subset of the broadphase agents, one of the shapes returned is the triangle mesh. This mesh is giant, and spans the scene. We have an acceleration structure (octree or kd-tree) to help partition the space but we still have to do that midphase lookup every frame, even if the overlapping pairs have not changed.
My question is if anyone has experimented with some kind of frame-to-frame caching within midphases, and if so do they have a generalized approach that works well?
S
I wonder if anyone has experience with frame coherence within the midphase of the collision detection. We exploit ghost/phantom style queries to help accelerate our triangle queries for a couple of decals that are generated per frame. While the ghost gives us a subset of the broadphase agents, one of the shapes returned is the triangle mesh. This mesh is giant, and spans the scene. We have an acceleration structure (octree or kd-tree) to help partition the space but we still have to do that midphase lookup every frame, even if the overlapping pairs have not changed.
My question is if anyone has experimented with some kind of frame-to-frame caching within midphases, and if so do they have a generalized approach that works well?
S