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
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
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
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
ed3e909282
some more fixes for btSoftBody:
...
+ use btBroadphaseProxy::AllFilter to collide with static and dynamic rigidbodies in broadphase
+ enlarge aabb for softbody in broadphase, otherwise misses collisions (deformation is not updated in-time?)
2008-04-06 08:22:46 +00:00
erwin.coumans
b37a37a28e
Added initial broadphase support for softbody versus softbody and softbody versus rigidbody (see btSoftSoftCollisionAlgorithm and btSoftRididCollisionAlgorithm)
...
Added SOFTBODY_SHAPE_PROXYTYPE.
Some refactoring for btSoftBody, needs more work.
2008-04-06 06:53:00 +00:00
erwin.coumans
39d929cbb0
removed btTypedUserInfo again, added getUid to btTypedConstraint
2008-04-05 01:58:38 +00:00
rponom
d175bfa22a
Added slider constraint class btSliderConstraint
2008-04-05 01:09:26 +00:00
rponom
849780ba64
Added slider constraint class btSliderConstraint
2008-04-05 01:06:01 +00:00
john.mccutchan
ba27e0522b
Add posix thread backend to BulletMultiThreaded. Contributed by Enrico.
2008-04-01 18:32:41 +00:00
erwin.coumans
64df6edf39
reverted DISABLE_CELL_DMA_READ_ONLY
...
commented out printf
2008-04-01 00:29:21 +00:00
erwin.coumans
a151ec1c73
fixed a few issues, removed dependency from BulletDynamics to Extras/ConvexHull
2008-03-31 01:09:41 +00:00
erwin.coumans
80714cab13
update CMakeList file, softbody in Cmake
2008-03-31 00:43:56 +00:00
erwin.coumans
726b9c2ac2
improved multi-platform support for SoftBodyDemo
2008-03-30 23:22:30 +00:00
erwin.coumans
d4698cb3d5
Added SoftBody demo, contribution by Nathanael Presson. Will integrate into Bullet broadphase.
...
Added very basic drawTriangle for btIDebugDraw, useful for basic softbody visualization.
Added btGjkEpa2, contribution by Nathanael Presson. Improved version of EPA penetration depth computation, more suitable for multi-core/SPU (less memory usage). Note: btGjkEpa2 is not enabled by default currently.
2008-03-30 23:08:06 +00:00
erwin.coumans
8d38ef49ef
Moved ODE quickstep solver as optional solver into Bullet core, redistributed under the ZLib licensed with permission from Russell L. Smith
2008-03-30 21:03:35 +00:00
rponom
ce0075c96f
Accumulated impulse cleaning for the 6DOF constraint added
2008-03-27 22:31:11 +00:00
erwin.coumans
65bb612598
- added quickSort to btAlignedObjectArray (has generally better performance then heapSort)
...
- replaced all usage of heapSort by quickSort
- finished btMultiSapBroadphase. Still some work to be done to increase performance (faster add/remove from child broadphases.
uses currently AABB tree to locate child broadphase (should use grid), and sorted array takes too much time.
2008-03-16 04:30:43 +00:00
erwin.coumans
fe5386a5c8
Made the move from sourceforge to googlecode (no svn sync any longer)
...
Fixed BulletColladaConverter load/save
Removed btTypedUserInfo
Added btHashMap
Fixed btCapsuleShape
2008-03-13 05:16:42 +00:00
ejcoumans
a4e63aed00
- DemoApplication, debug text rendering was broken, glLoadIdentity() missing
...
- copy user data over to child shape
- added applied impulse to btManifoldPoint
- add ContactProcessedCallback (needs test/demo)
- didn't copy over m_additionalDampingFactor into btRigidBody.
2008-02-07 08:00:16 +00:00
johnmccutchan
023f25c539
Add a btTypedUserInfo field to btTypedConstraint
2008-02-05 18:57:06 +00:00
johnmccutchan
8fff5c54e9
Added name fields to Collision Object and Shape.
...
Added name field to Typed Constraint.
Added accessor for gravity in dynamics world.
2008-01-30 01:52:07 +00:00
ejcoumans
6eb97cd966
added debug rendering for planeshape
...
added void* userpointer (+getUserPointer/setUserPointer) to each btCollisionShape
2008-01-23 03:06:15 +00:00
ejcoumans
f12f04fb97
optimization: only call solveGroup if there is some work: avoid virtual function call, its overhead can be excessive
...
based on 3000 body benchmark
2008-01-18 07:10:08 +00:00
ejcoumans
c0055bdb4a
removed some profiling in the innerloop, it hurts performance
2008-01-18 06:48:55 +00:00
ejcoumans
d051e2eacb
First commit of 2008, Happy New Year!
...
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
17a214a2b3
- Added btRigidBodyConstructionInfo, to make it easier to set individual setting (and leave other untouched) during rigid body construction.
...
This was harder using default arguments. Thanks Vangelis Kokkevis for pointing this out.
- Fixed memoryleak in the ConstraintDemo and Raytracer demo.
- fixed issue with clearing forces/gravity at the end of the stepSimulation, instead of during internalSingleStepSimulation.
Thanks chunky for pointing this out: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1780
- Disabled additional damping in rigid body by default, but enable it in most demos. Set btRigidBodyConstructionInfo m_additionalDamping to true to enable this.
- Removed obsolete QUICKPROF BEGIN/END_PROFILE, and enabled BT_PROFILE. Profiling is enabled by default (see Bullet/Demos/OpenGL/DemoApplication.cpp how to use this).
User can switch off profiling by enabling define BT_NO_PROFILE in Bullet/src/btQuickprof.h.
2007-12-17 04:26:36 +00:00
ejcoumans
61ffa6a1b5
Updated cmake files, added header files, Thanks John McCutchan
...
re-autogenerated msvc projectfiles with new HelloWorld/BulletMultiThreaded Demo
Minor fixes
2007-12-15 02:48:24 +00:00
ejcoumans
599579803e
Added portable non-parallel implementation for btThreadSupportInterface: SequentialThreadSupport, Thanks John McCutchan (JMC)
...
Added CMake support for BulletMultiThreaded.
2007-12-13 03:47:47 +00:00
ejcoumans
947dc8d33d
Moved the 'btRigidBody::clearForce' to the end of the stepSimulation, instead of in each substep.
...
Should help with this issue, reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1601
We can optionally leave out the 'clearForces'.
Thanks everyone for the discussion.
2007-12-12 02:53:51 +00:00
johnmccutchan
66cdbb9659
Fixes for IBM Cell SDK 3.0 by Jochen Roth
2007-12-11 19:49:09 +00:00
ejcoumans
a45912e39c
move updateAabbs from dynamics world to collision world
2007-12-10 02:59:04 +00:00
ejcoumans
f1be4ab221
only update aabb of active objects, thanks Peter Tchernev for reporting ( http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
...
move debug aabb rendering from updateAabb to debugDrawWorld
2007-12-10 02:18:38 +00:00
ejcoumans
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +00:00
ejcoumans
d53f2875e5
minor fixes, only btBvhTriangleMeshShape should provide getShapeType(), add get methods for motor limits in btHingeConstraint.
2007-12-06 01:41:07 +00:00
ejcoumans
eb9429ad31
need to include btQuickprof.h, instead of btQuickProf.h (breaks case sensitive systems)
...
Thanks ola for reporting this!
2007-11-28 18:55:28 +00:00
ejcoumans
e252f5cadd
Bugfix: allow btCollisionObjects (non-btRigidBody) to interact properly with btRigidBody for cache-friendly btSequentialImpulseConstraintSolver.
...
Thanks Andy O'Neil for pointing this out.
2007-11-28 03:17:09 +00:00
ejcoumans
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
f5fb2d77eb
fixed include path (don't use system include <>, but "" instead)
...
Thanks to Stephen (shatcher) for reporting!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1696&p=6412#p6412
2007-11-17 17:16:19 +00:00
ejcoumans
e755d1ed4e
added some comments, to clarify unit-test/brute force implementations.
2007-11-02 01:14:29 +00:00
ejcoumans
a101719687
- removed warnings in GLUI, thanks Jorrit Tyberghein for the patch!
...
- removed memory leaks from BasicDemo and Bullet library (other demos needs to be cleaned up!)
- added memory leak debugging functionality in btAlignedAlloc.h: #define BT_DEBUG_MEMORY_ALLOCATIONS
2007-10-31 08:00:03 +00:00
ejcoumans
fd1e672fcb
updated demos to show debug display with new AllBulletDemos (AllInOne),
...
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +00:00
ejcoumans
ec76f2e0a3
- keep track of all memory allocations (gNumAllignedAllocs/gNumAllignedFree)
...
All memory allocations in Bullet go through btAlignedAlloc/btAlignedFree
Fix in hinge constraint constructors, thanks Marcus Hennix!
2007-10-22 22:23:10 +00:00
ejcoumans
c80d1532f6
made access to mesh interface more consistent, so btConvexTriangleMeshShape uses also 'getMeshInterface', similar to btTriangleMeshShape.
...
Thanks Et3D for pointing this out here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1590
2007-10-21 21:04:04 +00:00
ejcoumans
e7caaa28d3
re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators.
2007-10-20 02:23:39 +00:00
ejcoumans
c625e756fe
replaced btSimdMinMax.h by btMinMax.h in a few remaining places
2007-10-19 20:48:06 +00:00
ejcoumans
dbe502c5a8
prepare for Box2D style gui demo
2007-10-18 06:37:36 +00:00
ejcoumans
ea3dfb4ca3
made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514
...
- applied a large patch to remove warnings
Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568
- removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight
- disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
2007-10-13 23:41:37 +00:00