Bullet 2.56: parallel constraint solver, SPU & multicore

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

Bullet 2.56: parallel constraint solver, SPU & multicore

Post by Erwin Coumans » Sat Aug 18, 2007 5:27 pm

New Bullet 2.56 Physics SDK is released for download

Main changes:

- Marten Svanfeldt (Starbreeze Studios) contributed a parallel constraint solver and improved the existing parallel collision detection. This works multi platform for Playstation 3 Cell SPUs, multi-core PC and XBox 360
- refactored broadphase to allow multiple SAP broadphases (work in progress), thanks to Pierre Terdiman for the discussion here
- improvements in SIMD and Vector Math libraries (Extras/vectormathlibrary, Extras/simdmathlibrary), thanks to Kazunori Asayama, SCEI
- sample using preliminary (incomplete) optional C-API, see Demos/BulletDinoDemo
- various bug fixes, including fix for Extras/GIMPACT, thanks Thomas

Enjoy!
Erwin

Proctoid
Posts: 18
Joined: Fri Apr 21, 2006 3:04 pm
Location: uk

2.56 in good old vc6

Post by Proctoid » Sun Aug 19, 2007 12:41 pm

many thanks for 2.56...
fyi,
for the old vc6 enviroment i have had to change btmultisapbroadphase source a little bit:
1.
in btMultiSapBroadphase::btMultiSapBroadphase constructor,
virtual bool needBroadphaseCollision function, i have to add
btMultiSapBroadphase:: in front of the four btMultiSapProxy*
and also in the btMultiSapBroadphase class definition .h i have simply made it
all public for now (for the above mentioned compile problem)
2.
void btUniformScalingShape::getPreferredPenetrationDirection is
a void func returning something - not investigated its usage just yet
(ive just commented out the workings of the func for now to get libs
compiling).

ps. tried to msg but get:
Failed sending email :: PHP :: DEBUG MODE Line : 234 File : emailer.php

DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Post by DevO » Tue Aug 21, 2007 4:58 pm

Thanks for this release!!!!

Are there any examples how to use Bullet in parallel?

Is it difficult to use custom portable thread system with Bullet?
Because for now it seems to support only Win32, how about Win64, Mac, Linux????

thebolt
Posts: 6
Joined: Tue Jun 19, 2007 9:16 am
Location: Sweden

Re:

Post by thebolt » Fri Sep 14, 2007 10:01 pm

DevO wrote:Thanks for this release!!!!

Are there any examples how to use Bullet in parallel?

Is it difficult to use custom portable thread system with Bullet?
Because for now it seems to support only Win32, how about Win64, Mac, Linux????
Yes, several of the bullet demo apps can be switched to parallel mode via a #define in the beginning of the file.

No, its not hard to do. While implementing the parallel solver my main development platform was actually the xbox 360 running tasks via a custom task system.
As for other platforms I expect bullet to include pthreads (linux&osx) support in future; win64 use same API as win32.

-M

Post Reply