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
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
883d3278ec
+ fixed btMinkowskiSumShape Sa+b(v) = Sa(v)-Sb(-v) instead of Sa(v)+Sb(v)
...
+ fix related btMinkowskiSumShape issue in btSubsimplexConvexCast and btGjkConvexCast
+ add hitpoint for btSubsimplexConvexCast
+ reduce maximum number of iterations in conservative advancement/CCD implementations
2008-04-03 18:35:28 +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
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
83c6ea03d1
added btBoxBoxCollisionAlgorithm and btBoxBoxDetector.cpp to core of Bullet under the ZLib license
...
Thanks to Russell L. Smith from Open Dynamics Library (ODE) to allow re-distribution under ZLib as part of Bullet.
2008-03-30 20:29:26 +00:00
erwin.coumans
bb680f512d
avoid warning of passing the 'this' pointer into constructor
2008-03-18 05:20:39 +00:00
erwin.coumans
91e40d4c24
fix compile errors under Mac OSX (class definition cannot be local for template classes)
2008-03-17 05:55:07 +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
44186898af
Got btMultiSapBroadphase in a working state. Now tuning/optimizations can be started.
...
Added getBroadphaseAabb to btBroadphaseInterface.
2008-03-15 08:59:26 +00:00
erwin.coumans
2478591e13
allow quantized AABB tree to be build and used for arbitrary arrays of AABBs, not just triangle meshes
2008-03-15 08:52:42 +00:00
erwin.coumans
fbffa3a031
more broadphase/pair cache/MultiSAP improvements.
2008-03-14 03:19:15 +00:00
erwin.coumans
d51c9f3247
second attempt to some pair management changes, allow to choose pair cache at run-time.
...
use btNullPairCache, btHashedOverlappingPairCache or btSortedOverlappingPairCache
2008-03-14 02:02:51 +00:00
erwin.coumans
9a19b66659
need to fix an issue, before making the paircache change.
2008-03-14 01:20:23 +00:00
erwin.coumans
06a9b3dfc9
some pair management changes, allow to choose pair cache at run-time.
2008-03-13 23:57:07 +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
3d3d24afa9
refit tree needs an aabbMin/aabbMax
...
improved unquantization for quantized trees
reverted heightfield quantize
2008-02-28 02:55:25 +00:00
johnmccutchan
94586390b6
IBM CELL SDK 3.0 fixes
2008-02-28 00:07:00 +00:00
ejcoumans
f51ac89dbe
add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
...
in btTriangleMesh container and ColladaConverter.
btTriangleMesh now derives from btTriangleIndexVertexArray, so it can be used for meshes on SPU
2008-02-18 04:23:50 +00:00
ejcoumans
9aec3255ef
add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
...
in btTriangleMesh container and ColladaConverter.
compile issue with PlatformDefinitions in GDC demo.
2008-02-18 01:37:30 +00:00
ejcoumans
fc333d2e18
updated Jam and CMake build files for new Extras/ConvexHull library
2008-02-13 08:15:58 +00:00
ejcoumans
eeb78b8d45
free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
...
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)
work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
johnmccutchan
65ce92885b
Don't fallback to getAabbSlow in btCapsuleShape
2008-02-13 03:07:25 +00:00
johnmccutchan
1ac223ca2a
Properly set normalInWorldSpace and don't doubly rotate normal for convex vs. convex cast.
...
Fixes this issue: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1784
2008-02-11 19:16:04 +00:00
ejcoumans
fe4e81ebff
- support both 32bit and 16bit indices in ColladaConverter
...
- added triangle part/index into btManifoldPoint
2008-02-09 03:34:53 +00:00
ejcoumans
7ca3020133
removed some dependencies
2008-02-08 23:22:31 +00:00
johnmccutchan
d70a25ff6d
Apply lsgmasa's fix for convex cast against collision world.
2008-02-08 19:56:46 +00:00
ejcoumans
618263163c
add support for X,Z axis aligned capsules
2008-02-08 01:11:05 +00:00
ejcoumans
ff3b7f0c0f
set applied impulse to zero, when replacing an existing contact point
2008-02-07 08:18:26 +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
ejcoumans
f22d338959
added btCapsuleShapeX and btCapsuleShapeZ, for X and Z upaxis capsules. The default btCapsuleShape stays Y-axis, for backwards compatibility.
2008-02-07 00:34:06 +00:00
johnmccutchan
d368ef3d71
Remove name field and replace it with btTypedUserInfo field
2008-02-05 18:55:05 +00:00
ejcoumans
39ecc2ab7e
error C2374: 'i' : redefinition; multiple initialization
...
make MSVC 6.0 build again.
This code breaks:
for (int i=0;....
for (int i=0;....
use
int i;
for (i=0;...
for (i=0;...
instead ;-)
2008-02-05 05:55:25 +00:00
ejcoumans
5399a9ae8c
fixes to compile/share more code between SPU and PPU
2008-02-01 03:35:54 +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
923f1411d7
Disable a recent new optimization for ray-aabb in btOptimizedBvh, it has some issues.
...
///thanks Joerg/hiker for the reproduction case!
///http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1858
2008-01-28 01:34:48 +00:00
johnmccutchan
2addd46f4b
Further refactoring of btConvexHull.
2008-01-24 22:22:36 +00:00
ejcoumans
a267152945
fix doubleprecision build
2008-01-24 02:41:45 +00:00
ejcoumans
30e1c56520
fix doubleprecision build
2008-01-24 02:40:15 +00:00
ejcoumans
af85183a48
fixed to get MacOSX to compile, added new files to CMakeLists.txt
2008-01-23 23:13:31 +00:00
ejcoumans
127d911c9d
Added Stan Melax Convex Hull utility under Zlib license, Thanks Stan!
...
Use this Convex Hull to create a renderable shape, using btHullShape, Thanks to John McCutchan
2008-01-23 22:24:45 +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
63dc666bf6
fix for static planeshape and spheres, need to use the getSupportingVertex with margin for proper contact point location.
2008-01-23 02:42:14 +00:00
johnmccutchan
41e9491402
Move unquantize from btOptimizedBvh.cpp to btOptimizedBvh.h
2008-01-14 23:47:05 +00:00
johnmccutchan
15cdd9de8e
Rename btCollisionWorld::convexTest to btCollisionWorld::convexSweepTest. The new test sweeps the convex shape against all objects in the world taking into account the orientation specified in the from and to transformations.
2008-01-11 20:18:29 +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
961c38269b
Added address to debug memory allocator
...
Renamed 'free' in 'freeMemory' to avoid name clashes with some Microsoft debugging tools.
2007-12-14 01:45:13 +00:00
ejcoumans
d963a41a6b
added new btConvexPlaneCollisionAlgorithm to cmake build files
2007-12-11 23:48:30 +00:00