Bullet 2.57 SDK: new stack/pool memory allocations

Open source Bullet Physics SDK release information
Post Reply
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Bullet 2.57 SDK: new stack/pool memory allocations

Post by Erwin Coumans »

Bullet 2.57 Physics SDK released:

- Replaced several dynamic allocations by pool/stack allocations. Minor API change, see demos (btDefaultCollisionConfiguration). Pool/stack memory allocation is work in progress, and default settings/sizes will be based on user feedback.
- fix in math lib for btMatrix3x3::transposeTimes, thanks Jay Lee
- added branch-free quantized aabb overlap check, this improves performance for trimeshes on XBox 360 and Playstation 3. Thanks Phil Knight
- register sphere-sphere, sphere-box, sphere triangle by default
- faster traversal for BVH/triangle meshes by default

http://sourceforge.net/project/showfile ... _id=147573
Proctoid
Posts: 18
Joined: Fri Apr 21, 2006 3:04 pm
Location: uk

Re: Bullet 2.57 SDK: new stack/pool memory allocations

Post by Proctoid »

thanks for the new update.

i had a problem with the compound collision destructor:
in btCompoundCollisionAlgorithm::~btCompoundCollisionAlgorithm
m_dispatcher was undefined (0xcdcdcdcd)

so for now i have modified the constructor:
btCompoundCollisionAlgorithm::btCompoundCollisionAlgorithm
to do
m_dispatcher = ci.m_dispatcher1;
its likely not the correct thing (even though ive got the code its above my head:-)
and maybe i'm not doing something correct prior to constructor)
- but at least it has a valid pointer now and appears to function ok and does not go wrong on exit
so far
Post Reply