Page 1 of 1

BVH vs Spatial Hash

Posted: Mon Oct 20, 2014 10:31 pm
by apapaxionga
BVH and Spatial, which is more suitable for broad phase collision detection for deformable body? Considering self-collision, I think spatial hash is more suitable. Does spatial hash have any other advantages or disadvantages?

Re: BVH vs Spatial Hash

Posted: Fri Oct 24, 2014 1:10 pm
by Remotion
IMHO spatial hash is better only if you have a lot of independent particles or you have a lot of breaking, tearing...
For deformable bodies BVH is usually better.
Of course this is highly dependent of how BVH and Spatial Hash implemented.