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
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
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
2c00af5dc9
removed duplicate .cpp entries in CMakeLists.txt
2008-01-03 04:55:34 +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
7897368754
updated version to 2.66
2007-12-17 05:08:53 +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
8feabf889b
fix in CMakeLists.txt
2007-12-15 03:33:23 +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
d7354e5387
get SequentialThreadSupport to compile on the Mac
2007-12-14 06:21:51 +00:00
ejcoumans
9e25108b06
use freeglut by default under Windows
2007-12-14 02:48:53 +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
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
ejcoumans
d963a41a6b
added new btConvexPlaneCollisionAlgorithm to cmake build files
2007-12-11 23:48:30 +00:00
ejcoumans
4c69ee93e2
small improvement in btConvexPlaneCollisionAlgorithm
2007-12-11 23:35:37 +00:00
ejcoumans
a7e04dbdc2
Added faster and more robust support for btStaticPlaneShape
2007-12-11 23:13:29 +00:00
johnmccutchan
66cdbb9659
Fixes for IBM Cell SDK 3.0 by Jochen Roth
2007-12-11 19:49:09 +00:00
ejcoumans
a537fb68b6
fixes in btCollisionWorld and Raytracer, to allow 'all hits' (work in progress)
2007-12-11 03:00:53 +00:00
ejcoumans
c1c01ff1a0
Use btContinuousConvexCollision instead of btGjkConvexCast (has issues in btCollisionWorld::objectQuerySingle)
...
Fixes in btHeightfieldTerrainShape, thanks Jay Lee.
2007-12-11 00:38:13 +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
johnmccutchan
513a055035
Use proper rotation for computing local aabb for convex cast shape.
...
Propagate hit point from convex caster to world callback [work in progress].
2007-12-07 21:22:38 +00:00
ejcoumans
a4bc26544c
add support for generic concave shapes for convex cast.
...
minor improvement in ray cast demo.
Thanks John McCutchan (JMC)
2007-12-07 19:21:16 +00:00
ejcoumans
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +00:00
ejcoumans
6f80b98a67
- fix issue with convex cast: results further away (larger hitfraction) could overwrite closer results
...
- minor naming convention thing (variables start with lower case)
- renamed MotorDemo
- added ConcaveConvexcastDemo, Thanks John McCutchan (JMC)
2007-12-06 02:54:29 +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
1245995c84
Added convex cast query to collision world.
...
Thanks to John McCutchan (JMC)
2007-12-06 00:51:24 +00:00
ejcoumans
1c82712b72
added newline at end, to avoid warning.
...
Thanks verizon for reporting!
2007-12-01 19:56:18 +00:00
ejcoumans
86f0575291
fixed misleading name 'numTriangleIndices' into 'numTriangles', thanks Sean Tasker for reporting:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1733
2007-11-30 06:59:12 +00:00
ejcoumans
f2c9588969
Added raycast against trianglemesh. Will be extended to object cast soon.
...
Thanks John Rowe (JMC)
2007-11-29 21:24:51 +00:00
ejcoumans
174f6009bb
make getNumPoints const correct, add const getPoints(). Thanks Dirk
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1725
2007-11-28 20:14:01 +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
5c1609fb23
don't fail if spheres have identical center, use arbitrary separating normal (1,0,0)
...
Thanks Sean Tasker for reporting!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1681
2007-11-21 04:17:00 +00:00
ejcoumans
0da5790e5c
small update on hierarchical timing integration
2007-11-21 03:49:23 +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
56e072ccc6
fixed memory leak in btMultiSapBroadphase,
...
fixed hash function (typo, should use 2 proxies)
Thanks to Stephen (shatcher) for reporting and fixes!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1696
2007-11-17 17:07:58 +00:00
ejcoumans
7ef4eab189
use better tolerance, instead of hard-coded 0.0001 inside the btMultiSphereShape supporting vector implementation.
...
Thanks to Phil Knight for reporting and fixing this issue (it could lead to failing collisions under certain conditions).
2007-11-07 13:39:05 +00:00
ejcoumans
282cbdcdd9
applied patch contributed by Tim Johansson: adds support for multiple mesh parts in combination with bvh, add short index support for meshes.
2007-11-06 06:47:04 +00:00
ejcoumans
47afa86482
added version define BT_BULLET_VERSION
2007-11-05 07:48:51 +00:00
ejcoumans
e755d1ed4e
added some comments, to clarify unit-test/brute force implementations.
2007-11-02 01:14:29 +00:00
ejcoumans
0723448895
disabled btTriangleMeshShape, to avoid usage, it is very slow performing for larger triangle meshes. Please use the derived btBvhTriangleMeshShape instead.
2007-11-01 23:59:22 +00:00
ejcoumans
2aec2a9969
Added some comments about the btPersistentManifold (contact point cache for potential overlapping pairs)
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1608
2007-11-01 23:42:17 +00:00
ejcoumans
dc4aacb03b
add ability for user pair callback, this can be used to keep track of objects, overlapping a certain AABB/shape.
2007-11-01 18:21:17 +00:00
ejcoumans
f3424f491c
cleanup memory in CcdPhysicsDemo, RagdollDemo, ConcaveDemo, BspDemo (work in progress)
2007-11-01 05:50:50 +00:00
ejcoumans
a146bbc293
more memory leak fixes in demo and btSimpleBroadphase.
...
- deleting object (END key) needs to release
- call destructor of pair cache
2007-10-31 08:17:48 +00:00