erwin.coumans
7341c6ee7e
Minor fixes to keep trunk compiling, while doing the refactoring.
2008-12-01 06:55:27 +00:00
erwin.coumans
e80feca36b
Big work-in-progress refactoring of the constraint solver:
...
1) Add fast branchless SIMD support for constraint solver (Windows only until we get other contributions).
See resolveSingleConstraintRowGenericSIMD in Bullet/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp
resolveSingleConstraintRowGenericSIMD can be used for all constraints, including contact, point 2 point, hinge, generic etc.
2) During this refactoring, all constraints support the obsolete 'solveConstraintObsolete' while we add 'getInfo1' and 'getInfo2' support.
This interface is almost identical interface to Open Dynamics Engine, to make it easier to port Dantzig LCP solver.
3) Some minor refactoring to reduce huge constructor overhead in math classes.
2008-12-01 06:41:25 +00:00
erwin.coumans
82047e601e
updated Bullet sequential impulse constraint solver, so it matches 100% ODE PGS quickstep solver innerloop, mainly by renaming variables...
2008-11-26 00:27:35 +00:00
erwin.coumans
7dda192bfc
duplicate class name causes crashes, thanks to Nado and mickey for the report
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?t=2884
2008-11-20 19:18:48 +00:00
erwin.coumans
decf91a34d
Made btCollisionWorld::convexSweepTest and btGhostObject::convexSweepTest consistent. Both have an optional last argument for allowedCcdPenetration.
...
Bugfix due to recent change in friction in constraint solver.
2008-11-19 19:55:14 +00:00
erwin.coumans
686accab16
+ repaired SpuParallellSolverTask: support for warmstarting and added btAssert for constraint sizes that exceed CONSTRAINT_MAX_SIZE
...
+ Share some more code between SpuParallelSolver and btSequentialImpulseConstraintSolver (both use btSolverBody now)
Lack of warmstarting reported here: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2858
+ allow btBoxBoxDetector to execute on SPU.
2008-11-16 05:48:42 +00:00
erwin.coumans
29bfd06af7
Disable friction warmstarting by default, removing second friction direction. This gives a large performance increase.
...
friction warmstarting can be turned on using:
dynamicsWorld ->getSolverInfo().m_solverMode |= SOLVER_USE_FRICTION_WARMSTARTING;
2008-11-15 22:20:55 +00:00
erwin.coumans
a5c18db854
fix CMake install for CMAke 2.6 -> version GREATER then 2.5
2008-11-15 03:48:24 +00:00
erwin.coumans
5feea39803
Fix compilation for MSVC 6.0 for Bullet and COLLADA DOM.
...
Fix issues with btDbvt: use ATTRIBUTE_ALIGNED16
Removed several places where variable was declared within for statement: for (int i=0; should be int i; for (i=0
2008-11-12 18:37:05 +00:00
erwin.coumans
1381394dd8
reverted 'getActiveObjects', island management will be improved for Bullet 2.74 release.
...
The implementation was error-prone and could lead to crashes.
See http://code.google.com/p/bullet/issues/detail?id=128
2008-11-11 16:19:20 +00:00
erwin.coumans
85341fee2a
fix more places in btSoftBody that assume btRigidBody (it wasn't designed to support btCollisionObject/btGhostObject).
...
Add another 'findActiveObject'
2008-11-10 21:33:11 +00:00
erwin.coumans
049270bb29
add Character to Jamfile
2008-11-08 22:49:16 +00:00
erwin.coumans
556241c92f
updated build system for BulletDynamics/Character files
2008-11-08 21:46:21 +00:00
erwin.coumans
5dac27e694
fix in GIMPACT, reported here: http://code.google.com/p/bullet/issues/detail?id=118
...
tweak character margin for smoother sliding (needs to be fixed properly)
2008-11-08 21:33:37 +00:00
erwin.coumans
f9aa7f3b53
Add Character control to btDiscreteDynamicsWorld (moved btCharacterControllerInterface/btKinematicCharacterController functionality from demo)
...
Remove ibmsdk from CcdPhysicsDemo and CollisionDemo
2008-11-08 21:01:20 +00:00
erwin.coumans
ce0bdd891d
added synchronizeSingleMotionState, thanks Chunky.
2008-11-08 19:34:05 +00:00
erwin.coumans
075ba0b9d9
Enabling USE_SEPDISTANCE_UTIL2 requires 100% reliable distance computation, but there are issues with large size rations. todo: fix this
...
Make synchronizeMotionStates() pure virtual in btDynamicsWorld and public in btDiscreteDynamicsWorld. Thanks Chunky.
2008-11-08 19:27:53 +00:00
erwin.coumans
f6dcf94f25
Reduce default memory pool sizes (will use heap on overflow anyway), fits better with iPhone and consoles
...
Debug drawer needs to iterate over all objects, not just active
2008-11-08 06:37:48 +00:00
erwin.coumans
1996004b01
removed a few unused variables
2008-11-08 05:29:19 +00:00
erwin.coumans
86353f0ad8
add btActivationCollisionAlgoritm to fix deactivation problems, reported here:
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2616
provide access to active objects, requested here:
http://code.google.com/p/bullet/issues/detail?id=128
2008-11-07 03:37:14 +00:00
erwin.coumans
9aadc53322
Add VERSION to CMake build.
...
http://code.google.com/p/bullet/issues/detail?id=137
Removed TerrainDemo from AllBulletDemos, it isn't properly tested (has grinds to a halt after running it for a while, shooting some objects on it).
2008-11-07 00:10:29 +00:00
erwin.coumans
e9df33a6c5
fix issue, related to hard-coded rollaxis index, should use m_indexForwardAxis
...
Thanks Joerg, luding.org
2008-11-06 07:07:56 +00:00
erwin.coumans
2daf428386
updated CMake support: remove Lib prefix, to facilitate Apple Framework support, add App prefix for demos
...
See discussion here: http://code.google.com/p/bullet/issues/detail?id=129
2008-11-06 06:54:35 +00:00
erwin.coumans
108c88af41
Applied Cmakelist patch, adding Apple Framework support
...
Disable libxml LIBXML_MODULE_EXTENSION
Fixed include path in btConeTwistConstraint (it should be relative to src folder, not using ../../ )
Thanks to ejtttje, http://code.google.com/p/bullet/issues/detail?id=129
2008-11-06 06:02:38 +00:00
erwin.coumans
f964c2f644
fix Cmake build files (CMakeList.txt) so it works with Cmake 2.4 again (only INSTALL feature requires Cmake 2.6)
2008-11-05 02:34:01 +00:00
erwin.coumans
8e0ee0ad74
Removed assert from rigidbody::setLinearVelocity/rigidbody::setAngularVelocity -> it can be useful for special effects.
2008-11-04 21:18:43 +00:00
erwin.coumans
ef7d5e462d
added TARGET_LINK_LIBRARIES, although commented-out (it might help others who want to enable shared libraries)
...
http://code.google.com/p/bullet/issues/detail?id=97&can=1
2008-11-04 10:49:02 +00:00
erwin.coumans
325fc0bab0
Improve CMake support:
...
Add CMake install support for libbulletmath,libbulletcollision,libbulletdynamics,libbulletsoftbody,and toplevel include files
Options to enable/disable BUILD_DEMOS and BUILD_ETRAS
Fixed compile issue in BulletMultiThreaded
Fixed double-precision issues with btMatrix3x3::getEulerZYX
2008-11-04 10:36:27 +00:00
erwin.coumans
bcd0f48c28
some doxygen updates, added some comments to classes, fix broken links, rename some prefix some internal GIMPACT collision structures using (for example use GIM_AABB instead of BT_AAABB),
...
removed obsolete btGjkEpa (it was replaced by btGjkEpa2 ages ago)
2008-11-04 04:01:31 +00:00
erwin.coumans
6449438ef2
test9
2008-10-31 21:02:48 +00:00
erwin.coumans
632c3ca11f
test3
2008-10-31 20:56:07 +00:00
erwin.coumans
da35b69e6d
test2
2008-10-31 20:54:57 +00:00
erwin.coumans
28e580c203
removed STL usage of Extras/ConvexBuilder and replaced by btAlignedObjectArray
...
fixed several warnings, thanks to sparkprime
added comments patch for linear math, thanks to Tully Foote
2008-10-28 18:52:46 +00:00
erwin.coumans
003b6fa669
removed some warnings, as reported here:
...
http://code.google.com/p/bullet/issues/detail?id=123
Thanks sparkprime
2008-10-27 20:20:28 +00:00
erwin.coumans
6f28170422
Removed obsolete btPoint3: use btVector3 instead
2008-10-27 19:56:48 +00:00
erwin.coumans
6fcd824524
Applied filtering flags for CCD Motion Clamping, thanks to Bbilz, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2736
2008-10-16 20:17:56 +00:00
erwin.coumans
e6c850f13b
Fix/improve raycast performance for btBvhTriangleMeshShape (btQuantizedBvh, btOptimizedBvh)
...
Add raycast acceleration for btAxisSweep3, using btDbvtBroadphase, providing large speedup. Can be disabled in constructor to safe memory.
2008-10-14 20:24:28 +00:00
erwin.coumans
780350a9e1
Fix copy/paste bug, resulting in wrong friction warmstarting,
...
thanks to sandeep_slash, http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2724
2008-10-14 04:44:24 +00:00
erwin.coumans
a42b7d93f1
Stop resitution for resting contact, after n frames (can be controlled by btContactSolverInfo.m_restingContactRestitutionThreshold
...
Thanks Jan Bender for bringing this up
2008-10-09 16:24:00 +00:00
erwin.coumans
9f28b2bc12
Improve damping formula in btRigidBody::applyDamping
...
Thanks to sparkprime, see http://code.google.com/p/bullet/issues/detail?id=74
Fixed btCompoundShape/btCapsuleShape/btGImpactShape for missing m_shapeType, and added an assert in DemoApplication::localCreateRigidBody for invalid shape types.
2008-09-30 00:34:58 +00:00
erwin.coumans
d7b635cabf
logic bug in (de)activation/island management: deactivated 'fantom' objects do merge islands, in particular when connected by constraints. (fantom = object with collision detection but no collision response).
2008-09-23 04:57:20 +00:00
rponom
486b172f58
Bug in constructor btHingeConstraint(body, pivot, axis) fixed. Build under MSVC 7.1 fixed
2008-09-19 21:10:01 +00:00
erwin.coumans
d1318a05b3
Add plNearestPoints, contribution from Blender
...
Thanks!
2008-09-13 06:55:34 +00:00
rponom
ddccc2797a
More stable btConeTwistConstraint to fix the RagdollDemo
2008-09-12 02:55:03 +00:00
erwin.coumans
fae48b5c25
some more improvements to support basic CCD motion clamping
2008-09-11 23:50:50 +00:00
rponom
b0d6ba845e
btHingeConstraint solver changed to improve stability and allow to fix joint
2008-09-11 20:28:05 +00:00
erwin.coumans
569946a96f
added some debugging variable for CCD motion clamping
2008-09-11 18:44:30 +00:00
erwin.coumans
60fa900995
Added CCD motion camping, to avoid tunneling.
...
Not as versatile compared to btContinuousDynamicsWorld but still useful.
2008-09-11 18:13:56 +00:00
rponom
65f8a7e70e
Current slider position member and access function added
2008-09-06 00:55:26 +00:00
erwin.coumans
cef07cfa20
Revert to max 1 substep by default: increased maxSubSteps to 10 make debug version way too slow.
...
Use btDbvtBroadphase in BasicDemo and CcdPhysicsDemo.
2008-09-05 01:41:32 +00:00