Commit Graph

1070 Commits

Author SHA1 Message Date
erwin.coumans
88ee734bfb added custom memory allocator registration, thanks to Sly.
call CProfileManager::CleanupMemory(), to cleanup btQuickprof memory.
changed include from #include <new.h> to #include <new> in btOdeQuickstepConstraintSolver.cpp
2008-05-24 06:10:09 +00:00
erwin.coumans
3a94e70370 don't enable concave mesh for soft body demos (work-in-progress) 2008-05-24 05:32:54 +00:00
erwin.coumans
3d32cf7ddf add penetration depth solver for btCollisionWorld::convexSweepTest, to handle touching/penetrating contact (useful for character controller) 2008-05-24 05:22:41 +00:00
erwin.coumans
f8e5481612 Added method to collect all persistent contact manifolds, given a btBroadphasePair (collision algorithm)
virtual	void	getAllContactManifolds(btManifoldArray&	manifoldArray)
See Demos/CharacterDemo/CharacterDemo.cpp for example usage of getAllContactManifolds
Added btDbvtBroadphase to btBulletCollisionCommon.h headerfile
Enable soft body vs concave (albeit slow)
Improved contact point debug rendering (moved from constraint solver into debugDrawWorld)
2008-05-24 04:23:00 +00:00
rponom
6141a55f09 Added linear and angular motors for the slider constraint 2008-05-23 22:52:51 +00:00
erwin.coumans
a1578accac more work on soft body versus concave trimesh 2008-05-23 18:50:41 +00:00
erwin.coumans
561066af75 + make compound versus soft body work (soft body uses interpolated transform)
+ fixed issue with persistent manifold, warmstarting values were not initialized properly
+ don't clear manifold in sphere-sphere collision (need warmstarting)
+ added support for 'split impulse', decouple positional error correction from velocity correction
This avoids adding momentum due to penetration correction, it can be tuned using following variables:
solverInfo.m_splitImpulse = true/false (disable/enable)
solverInfo.m_splitImpulsePenetrationThreshold (below this value, baumgarte/mixed velocity/penetration is used (cheaper, looks more plausible)
solverInfo.m_linearSlop (less jitter, when small amound of penetration is allowed)
2008-05-23 09:05:37 +00:00
erwin.coumans
ea86559480 removed some warnings 2008-05-21 23:29:35 +00:00
john.mccutchan
09fbd19279 Don't return true when the hit happens after the end point 2008-05-21 18:37:41 +00:00
erwin.coumans
e7aa93af36 added compount shape to soft body demo 2008-05-18 01:51:10 +00:00
erwin.coumans
6a69fe7f3b use collision margin of btBvhTriangleMeshShape for convexTest.
Thanks to reltham for the contribution.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2121&p=8454#p8454
2008-05-18 01:15:00 +00:00
erwin.coumans
0b48b1c76b Added Mac OSX XCode project with Cocoa userinterface (wrapping GLUT) for Bullet demos
Thanks to TomorrowPlus for the constribution!
2008-05-18 00:38:17 +00:00
erwin.coumans
d9e7058ff2 Softbody improvements, thanks to Nathanael 2008-05-17 12:39:16 +00:00
erwin.coumans
649709dc2d updated build files 2008-05-10 19:24:39 +00:00
erwin.coumans
e334254a7b Added _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to MSVC projectfiles, to make warnings in Bullet more visible. This deals with most COLLADA_DOM/libxml issues. 2008-05-10 18:43:09 +00:00
erwin.coumans
bd97c5e569 Fixed warnings in Bullet/src core library
Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch

To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings)
Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
2008-05-10 18:00:21 +00:00
erwin.coumans
739d09a7af use btAxisSweep3 by default in BenchmarkDemo 2008-05-06 02:59:40 +00:00
erwin.coumans
6cc18e05aa initialize Element m_tag to zero 2008-05-06 02:57:27 +00:00
erwin.coumans
b9acc820d6 removed collision template, some code style cleanup, added btDbvhBroadphase to BenchmarkDemo 2008-05-06 02:45:56 +00:00
erwin.coumans
1d5050f584 added tetrahedral meshes 2008-05-06 01:41:48 +00:00
erwin.coumans
1871513e00 update version to 2.69 2008-05-06 01:08:29 +00:00
erwin.coumans
6989ea8908 upgrade version to 2.69
moved btDbvt/btDbvtBroadphase to BulletCollision/BroadphaseCollision
applied code-layout to btSoftBodyHelpers.*
2008-05-06 00:58:10 +00:00
john.mccutchan
3268cab6d7 Add EPA penetration depth solver support to bullet multithreaded.
Update SubSimplexConvexCast algorithm used in bullet multithreaded.
2008-05-06 00:44:18 +00:00
erwin.coumans
25c5d0d57a +Added btDbvtBroadphase, this very fast/efficient broadphase is based on Dynamic AABB tree (btDbvt).
+SoftBody improvements by Nathanael Presson:
+Add tetrahedralization
+Add support for tearing/slicing cloth and deformable volumes. Uncomment the line in Bullet/src/BulletSoftBody/btSoftBodyHelpers.h: //#define	BT_SOFTBODY_USE_STL	1
2008-05-05 23:19:21 +00:00
john.mccutchan
bce0047986 Add a destructor to ColladaConverter.
Two minor fixes to ColladaConverter as well.
2008-04-28 21:53:10 +00:00
john.mccutchan
e746310596 Disable SoftBody vs. Concave collision for now 2008-04-23 23:47:00 +00:00
erwin.coumans
73a5643580 add getAabb for btSoftBody,
add btSoftBodyConcaveCollisionAlgorithm, and register algorithm
2008-04-20 16:31:13 +00:00
erwin.coumans
0a3baf93d6 make btSoftBody versus btCompoundShape work 2008-04-20 15:42:21 +00:00
erwin.coumans
7a7b46b448 fixed Soft Body compile issues on Mac OSX, added build files 2008-04-14 07:44:54 +00:00
erwin.coumans
9efc46681a updated ChangeLog.txt 2008-04-14 06:42:24 +00:00
erwin.coumans
be2490e4fb Final 2.68 from Nathanael Presson, mainly soft body related. Added raycast support for soft bodies (press comma-key in the soft body demos to toggle ray cast tests) 2008-04-14 06:24:56 +00:00
erwin.coumans
912b4ccd29 updated autogenerated projectfiles, added new libbulletsoftbody library. 2008-04-11 21:02:29 +00:00
erwin.coumans
28846b0515 more updates, added SliderConstraintDemo to AllBulletDemos 2008-04-11 20:49:46 +00:00
erwin.coumans
3df41a478d moved/updated projectfiles for new BulletSoftBody library 2008-04-11 18:56:49 +00:00
erwin.coumans
5024d06366 removed files (are now in BulletSoftBody lib) 2008-04-11 18:50:32 +00:00
erwin.coumans
621be07178 move the SoftBody work into its own library, BulletSoftBody (work in progress) 2008-04-11 18:41:07 +00:00
erwin.coumans
177287ae78 add user interface to select Soft Body demo 2008-04-11 01:50:02 +00:00
erwin.coumans
0bdc6f6262 updated autogenerated msvc projectfiles for soft body / convex hull changes 2008-04-10 23:02:49 +00:00
erwin.coumans
fd5057ec5a fixed build/project files 2008-04-10 21:28:37 +00:00
erwin.coumans
1139c06a4d more soft body preparations, moved some parts from Demo/SoftBody to src/BulletDynamics/SoftBody
moved Extras/ConvexHull/btConvexHull.* to src/LinearMath/btConvexHull.*
removed btCollisionObject::m_internalOwner, replaced it by m_internalType. This should not affect external API (it was clearly marked as internal)
2008-04-10 20:00:41 +00:00
erwin.coumans
03d846add0 cleanup of Stan Melax ConvexHull utility, all memory allocations go through btAlignedAlloc/btAlignedFree, instead of new/delete.
It can be moved into Bullet/src now.
2008-04-10 05:36:17 +00:00
john.mccutchan
7066c43d79 Fix normals being lost in batch raycaster 2008-04-08 22:47:36 +00:00
erwin.coumans
2ee866e37f fix in partId/triangleId, thanks Alex 2008-04-08 22:28:02 +00:00
erwin.coumans
bfe6774399 removed unused structure 2008-04-08 21:14:14 +00:00
erwin.coumans
b32d6f790f added btInternalTickCallback, see btDynamicsWorld::setInternalTickCallback
Thanks chunky!

http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1991
2008-04-08 02:51:49 +00:00
erwin.coumans
2997b95f63 updated autogenerated msvc projectfiles 2008-04-08 02:41:50 +00:00
erwin.coumans
daf293c43e don't try to include <pthread> if USE_PTHREADS is not defined 2008-04-08 02:13:05 +00:00
erwin.coumans
06bae58536 patch for the constructor of the btHingeConstraint. Thanks LvR and eddybox!
http://code.google.com/p/bullet/issues/detail?id=47
2008-04-07 23:27:03 +00:00
erwin.coumans
569a949ae3 fixes in btQuaternion::inverse, fixed in btConeTwistConstraint, RagdollDemo and BenchmarkDemo.
Some constraint limits for btConeTwistConstraint might need to flip sign now.
2008-04-07 21:58:36 +00:00
erwin.coumans
c1a10fd1fe Add support for part/triangle id for GIMPACT.
Thanks Alex Silverman:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2032
2008-04-07 19:37:04 +00:00