Bullet Soft Body Source Code / Algorithms?

pablobullet
Posts: 3
Joined: Thu Nov 06, 2008 8:39 pm

Bullet Soft Body Source Code / Algorithms?

Post by pablobullet »

Hello, this is my first post. I'm interested in using bullet in my projects, but I need to know, since I read bullet is Open Source, where I can download the source code and compile it (using Visual Studio 2005). I want to know how the algorithms used in this SDK are implemented, specially the ones for detection for deformable bodies (because I downloaded 2.72 but I only see that some samples can be compiled, but not the bullet code where these algorithms reside).
Thanks in advance.
User avatar
ejtttje
Posts: 96
Joined: Mon Nov 03, 2008 9:57 pm

Re: Bullet Source Code?

Post by ejtttje »

You can get the source from the download page:
http://code.google.com/p/bullet/downloads/list
pablobullet
Posts: 3
Joined: Thu Nov 06, 2008 8:39 pm

Re: Bullet Source Code?

Post by pablobullet »

Oh, thank you very much.
By the way, I would like to learn about the algorithms used in bullets (specially the ones for deformable and soft bobies).
Where can I get that information?
Thanks again.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Bullet Source Code?

Post by Erwin Coumans »

You already have the source code for the soft bodies, it is in Bullet/src/BulletSoftBody.

There are many different algorithms implemented, Matthias Müller is a good starting point:
http://www.matthiasmueller.info/realtim ... index.html:
  • position based dynamics and impulse based dynamics
    Bullet soft bodies doesn't use a single solver, but a configurable set of position and velocity based solvers)
  • optional shape matching

For collision detection:
  • dynamic aabb tree that dynamically changes structure, not just a refit of existing tree nodes.
    See Bullet/src/BulletCollision/BroadphaseCollision/btDbvt.cpp
  • optional convex cluster collision, a kind of convex decomposition clustering a set of vertices.
    This works better then just colliding with single triangles, edges or vertices.
Müller's Position based dynamics paper can be viewed as a more formal description of Thomas Jakobsen earlier work, see http://www.teknikus.dk/tj/gdc2001.htm
Hope this helps,
Erwin
pablobullet
Posts: 3
Joined: Thu Nov 06, 2008 8:39 pm

Re: Bullet Soft Body Source Code / Algorithms?

Post by pablobullet »

Thank you very much Erwin!, now I can start to learn about these algorithms.! :D