EPA in multithreaded

User avatar
projectileman
Posts: 109
Joined: Thu Dec 14, 2006 4:27 pm
Location: Colombia

EPA in multithreaded

Post by projectileman »

Why the EPA convex solver is not used in the multithreaded version of bullet?
Last edited by projectileman on Tue Oct 02, 2007 8:36 pm, edited 1 time in total.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: EPA in multi-threated

Post by Erwin Coumans »

BulletMultiThreaded is designed for Cell SPU. All code and data has to fit inside 256kb private local memory, so each algorithm and all its data has to fit. We haven't adapted EPA implementation for BulletMultiThreaded, because the alternative was easier, and the game companies who used it were happy with the results so far.

If we want to include EPA for BulletMultiThreaded, we need a fallback in case the algorithm runs out of memory. In that case, it needs to revert to the alternative (SpuMinkowskiPenetrationDepthSolver).

Hope this helps,
Erwin