Page 1 of 1

Bullet 2.57 SDK: new stack/pool memory allocations

Posted: Sat Sep 08, 2007 2:59 pm
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

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

Posted: Sat Sep 08, 2007 6:55 pm
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