Commit Graph

25 Commits

Author SHA1 Message Date
Lunkhound
e85e2ee127 MultiThreadedDemo: make it possible to dial in a single large island, and
tilt the ground and adjust rolling friction
2017-07-02 21:05:51 -07:00
Lunkhound
79877116e7 CommonRigidBodyMTBase: replace 'stricmp' with 'strcmp' 2017-06-11 10:04:38 -07:00
Lunkhound
f86b9b4fc4 example browser: GUI improvements for CommonRigidBodyMT based demos 2017-06-11 08:15:28 -07:00
yunfeibai
bfcbb339cf Merge remote-tracking branch 'upstream/master' 2017-06-02 18:26:04 -07:00
yunfeibai
e6d1a8cf97 Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
Lunkhound
a6a0ea5f54 add task scheduler implemented with thread support interface 2017-05-30 00:21:10 -07:00
Lunkhound
d77c3d5b68 fix compile errors in non-threadsafe build 2017-05-23 02:34:29 -07:00
Lunkhound
dfe184e8d3 Bullet 2 threading refactor: moved parallel-for calls into core libs 2017-05-23 01:01:20 -07:00
Lunkhound
5bc9d431a0 CommonRigidBodyMTBase: replace dynamic_cast (which crashes without RTTI) with static_cast 2017-05-21 03:14:09 -07:00
erwincoumans
ab5a86576f Update CommonRigidBodyMTBase.cpp 2017-02-01 16:04:37 -08:00
erwincoumans
bbf596bce8 Update CommonRigidBodyMTBase.h 2017-02-01 16:03:00 -08:00
erwincoumans
fc59a40127 Merge pull request #905 from lunkhound/pr-sel-solver-type
example browser: add controls for changing the solver type and solver flags
2017-01-30 10:22:31 -08:00
Lunkhound
f65644f3e0 fix compile error when BT_THREADSAFE not defined 2017-01-29 21:13:24 -08:00
Erwin Coumans
c0c4c8ba3f fix many warnings
remove btMultiSapBroadphase.*
make collisionFilterGroup/collisionFilterMark int (instead of short int)
2017-01-15 22:26:11 -08:00
Lunkhound
b979064817 fix compile error on GCC 2017-01-06 21:20:44 -08:00
Lunkhound
ea0df70c77 example browser: fix for GUI button toggle state 2017-01-02 23:01:22 -08:00
Lunkhound
da03d8ce5a options to change solver type and mode
Conflicts:
	examples/MultiThreadedDemo/CommonRigidBodyMTBase.h
2017-01-02 22:57:48 -08:00
Lunkhound
f7ccf7e5a7 example browser: restore on-screen text 2016-12-20 01:15:39 -08:00
Lunkhound
a10244e1ab MultiThreadedDemo: make the ground a kinematic object that can shake 2016-12-19 21:31:18 -08:00
Lunkhound
4300ef45a3 fix missing globals 2016-11-20 18:00:21 -08:00
Lunkhound
49b27f30bd example browser: slider widget improvements 2016-11-20 16:38:11 -08:00
Erwin Coumans
3b5d0f444b various fixes
move btSimulationIslandManagerMt.cpp from BulletCollision to BulletDynamics
2016-11-10 16:18:20 -08:00
erwincoumans
02c781e56b disable dead code 2016-11-10 15:42:55 -08:00
erwincoumans
4235c61fcf move CommonRigidBodyMTBase out of interfaces, into MultiThreadedDemo. 2016-11-07 12:08:02 -08:00
Lunkhound
1c3686ca51 MultiThreaded Demo:
- fixing various race conditions throughout (usage of static vars, etc)
 - addition of a few lightweight mutexes (which are compiled out by default)
 - slight code rearrangement in discreteDynamicsWorld to facilitate multithreading
 - PoolAllocator::allocate() can now be called when pool is full without
     crashing (null pointer returned)
 - PoolAllocator allocate and freeMemory, are OPTIONALLY threadsafe
     (default is un-threadsafe)
 - CollisionDispatcher no longer checks if the pool allocator is full
     before calling allocate(), instead it just calls allocate() and
     checks if the return is null -- this avoids a race condition
 - SequentialImpulseConstraintSolver OPTIONALLY uses different logic in
     getOrInitSolverBody() to avoid a race condition with kinematic bodies
 - addition of 2 classes which together allow simulation islands to be run
   in parallel:
    - btSimulationIslandManagerMt
    - btDiscreteDynamicsWorldMt
 - MultiThreadedDemo example in the example browser demonstrating use of
   OpenMP, Microsoft PPL, and Intel TBB
 - use multithreading for other demos
 - benchmark demo: add parallel raycasting
2016-10-30 12:47:27 -07:00