» Bullet integration branch
Updated 08:27 November 4th, 2012
(4096)  5,653

This is the GSOC bullet integration branch


And thanks to Sergej Reich(Sergof) the developer. Recently he made alot of bug fixes and improvements.

And also helped me setup my environment to build his branch. Though this builds are for tests purposes only!

Bunch of stuff is switched off like Cycles CUDA kernels and libmv stuff.

Link to his thread at blenderartists forum

And here you can find his wiki page


This is his video tutorial about bullet branch usage.


Latest fixes:


commit ad9a8f9185cc24d50d02223245afdc354100b26e
Author: Sergej Reich <sergej.reich@googlemail.com>
Date:   Wed Oct 31 13:29:37 2012 +0100

    bullet: Fix issues with collision margin embedding for convex hulls
    Directly check if shrinking the hull works instead of using magic
    number to avoid crashes in some cases.
    Set margin to 0 if margin cannot be embedded so that there is no gap
    around small objects.

commit 628d0f281f80ef8e5a2d7aeb20fe01ce6928484e
Author: Sergej Reich <sergej.reich@googlemail.com>
Date:   Mon Oct 29 15:16:17 2012 +0100

    bullet: Silence compiler warnings

commit c149524ca6120c66c2817a5f0a395a2c6148ad19
Author: Sergej Reich <sergej.reich@googlemail.com>
Date:   Mon Oct 29 15:06:21 2012 +0100

    bullet: Avoid code duplication in constraint creation functions

commit 888a1922dd9cc9befd32b882b430ac465625926f
Author: Sergej Reich <sergej.reich@googlemail.com>
Date:   Sun Oct 28 13:25:30 2012 +0100

    bullet: Improve handling of collision margin

    Add option to embed margin for convex hulls (default), it works well in
    most cases but doesn't support non uniform scaling.
    Only allow to set margin for mesh, convex hull (if not embedded) and
    cone shapes, use 0.04 for everything else.


commit 5cab965aec57963193a1be864f302589dd9a741a
Author: Sergej Reich
Date:   Thu Oct 11 21:49:16 2012 +0200

    bullet: Fix rigid body field weight ui

commit 4400fc14cf44fcc6b67ae7878ffc9cb575dd3de8
Merge: c2ef55b 681ee80
Author: Sergej Reich
Date:   Thu Oct 11 20:56:46 2012 +0200

    Merge remote-tracking branch 'blender-projects/master' into sergof-bullet-dev

commit 2135b94b162208c5a4d8ae35c48d6a2d5b1d47c1
Merge: ef118c9 1fc8bb4
Author: Sergej Reich
Date:   Wed Sep 5 13:47:43 2012 +0200

    Merge remote-tracking branch 'blender-projects/master' into sergof-bullet-de

commit ef118c9b18eb43b580861b2681e18d7d56dfd8c8
Author: Sergej Reich
Date:   Wed Sep 5 13:43:24 2012 +0200

    bullet: Add myself as contributor

commit 1fc8bb4b68b93913e31914fd16f0436fc7f0143e
Author: campbellbarton
Date:   Wed Sep 5 09:33:15 2012 +0000

    fix/workaround [#31555] Username with special chars in Windows 7

    Theres a bug where python/windows ignores PYTHONIOENCODING, workaround this

commit c4ef61f314c5912718550475cf53c9edebba7975
Author: jbakker
Date:   Wed Sep 5 08:50:25 2012 +0000

     * gcc 4.7 is more strict. This patch will remove 'non virtual
    destructor warnings' in the core of the compositor.

commit 420c437e8f3f6215218f480e3b3fcce5fe716c1f
Author: lukastoenne
Date:   Wed Sep 5 08:12:22 2012 +0000

    Fix for OSL memory leak. The context creation for OSL is now done in the sha

commit 203cc8ecd3069b00b89f18db11a3ff1a99a21ff4
Author: campbellbarton
Date:   Wed Sep 5 04:16:09 2012 +0000

    fix [#29431] "Normalize All" from Weight Tools don't work correctly

  • SHA1:sergof committed 28c5f7a

                           bullet: Add default values for properties

            sergof committed 0d09e35

                           bullet: Style and comment fixes 

                  sergof committed 4e3097a                                   

                                 bullet: Fix crash trying to create mesh shape from mesh with no polygons

  • SHA1: 27e6508cc   bullet: Fix crash when removing rigid bodies before vaildating world
  •     bullet: Fix static-static collision warnings
        bullet: Fix compiler warning
        bullet: Increase max substeps
        bullet: Add ability to loc tranlslation/roation axes of rigid bodies
        bullet: Style cleanup of bullet API
        bullet: Avoid overriding "disable deactivation" state of rigid bodies
        bullet: Allow passive objects to be animated
        bullet: Style cleanup
        bullet: Add RNA update function for rigid body influence properties
        bullet: Fix rigid body scaling
        bullet: Refactor rigid body transformaion handling
        math: Add function do decompose transformation matrices
        bullet: Fix rigid body creation function
        Merge remote-tracking branch 'blender-projects/master' into sergof-bullet-dev
  • sergof committed 8aa833e   bullet: Allow simulation to set object's loc/rot directly
  • sergof committed 58acc0c    bullet: Fix crash when trying to read cache for deleted rigid bodies
  • sergof committed 5cdd77b   bullet: Better workaround for rigid body transfrom issues
  • sergof committed 8c1819c   bullet: Don't rebuild simulation if world doesn't exist, just return

  • sergof committed bfb5452   bullet: Don't reset rigid body cache in BKE_ptcache_id_reset()
  • sergof committed 3fd6068   Merge remote-tracking branch 'blender-projects/master' into sergof-bullet-dev
  • sergof committed 804aab8   bullet: Fix memory leak with bvh mesh shapes
  • sergof committed 4310cc3    bullet: Fix memory leak with mesh collision shapes
  • sergof committed 6e6d1d8  bullet: Small improvement to the way scaled objects are handled

  • sergof committed 6e6d1d8  bullet: Small improvement to the way scaled objects are handled

  • sergof committed c84810a   bullet: Fix "apply visual transform" for rigid bodies
  • sergof committed 773129d   bullet: Onl allow mesh objects to be added to the simulation
  • sergof committed f8fdf77    bullet: Improve handling of point cache invalidation



3 Comments so far. Leave yours.
10:06 December 11th, 2012
Is there any chance of getting a CUDA enabled build, or does CUDA not work with this branch yet?
00:51 August 13th, 2012
2 . vitos1k (builder)
this was fixed by sergof, and i already updated build. Make sure you've downloaded latest build
I've tested this behaviour on a builds from 09.08.2012, and no crashes, please download it again, and tell if you still have those crashes
14:19 August 11th, 2012
I'm getting a crash when removing an object that has been cached in a physics sim already. If I remove the object before running the sim, there are no problems.
Feeling talkative?
Log in to leave a comment.