Commit Graph

28 Commits

Author SHA1 Message Date
ejcoumans
60fe5affd7 island management bug 2006-09-15 00:01:19 +00:00
ejcoumans
0607bfe9de optimized the island management. It was unoptimized, and becomes a bottleneck for large amounts of objects. 2006-09-14 23:43:50 +00:00
ejcoumans
1a6333e709 2006-09-11 05:31:56 +00:00
ejcoumans
7b5da11662 dispatcher was missing actual implementation for user-registration function 2006-09-08 02:41:47 +00:00
ejcoumans
fa4fd1369c Added support for SHORT/WORD indices
Removed references to m_userPointer (in CollisionObject), called it m_userObjectPointer
increased view distance in glut demo file
2006-09-06 22:21:12 +00:00
ejcoumans
400376289c 2006-09-06 00:38:12 +00:00
ejcoumans
a0c157ed85 fixed memoryleak,
added RayTestSingle to CollisionWorld
prepared to add VehicleDemo
2006-09-04 21:28:32 +00:00
ejcoumans
b76e642506 fixed one performance problem with sleeping objects 2006-09-02 01:50:16 +00:00
ejcoumans
d36abec2a9 updated projectfiles for ColladaConverter, and added Cmake mention in doxygen frontpage 2006-09-02 00:01:26 +00:00
ejcoumans
e1b85d1969 Got a license from Intel for vtune. The first performance analysis showed an unexpected bottleneck:
apparently the UnionFind / island management had unexpected overhead. Added path compression to the UnionFind::find operation, and iterative over the actual islands, rather then over all number of objects.
2006-08-29 23:37:32 +00:00
ejcoumans
d931aae32f added basic CCD calculations for Compounds and non-convex (convex-versus-concave). 2006-08-11 04:10:37 +00:00
ejcoumans
16781831dc added initial support for per-triangle material properties in a non-convex mesh. needs testing. 2006-08-10 08:18:05 +00:00
ejcoumans
8bf47140fe prepare for AABB tree traversal for compound objects 2006-07-25 00:30:15 +00:00
ejcoumans
50a2694c5b more compounds work, the basics work. now some stackless tree-tree traversal is needed to speedup compound versus compound. 2006-07-24 23:06:59 +00:00
ejcoumans
fdaa3a7abc some work on compound collision shapes (not finished yet) 2006-07-24 05:22:56 +00:00
ejcoumans
d2570694a9 added debug drawing for concave objects (draws overlapping triangles) 2006-07-05 05:03:09 +00:00
ejcoumans
62593f8b99 refactoring of TriangleMeshShape, introduced ConcaveShape, which allows for StaticPlaneShape and future landscape/heightfield shape 2006-07-03 22:41:19 +00:00
ejcoumans
a359212fb3 more work on parallel dispatching of simulation islands 2006-07-01 03:33:05 +00:00
ejcoumans
2d80bae6e3 fairly large refactoring of dispatcher/simulation island management, to allow for parallel simulation. 2006-07-01 00:22:15 +00:00
ejcoumans
3a85557c29 Refactoring for parallel processing of islands, collision detection and constraint solving. 2006-06-30 00:41:09 +00:00
ejcoumans
9105c3af5a Refactoring:
Moved optional code to Extras: AlgebraicCCD,EPA,quickstep
Moved SimpleBroadphase data to OverlappingPairCache, and derive both SimpleBroadphase and AxisSweep3 from OverlappingPairCache.
Added ParallelPhysicsEnvironment (prepair more parallel mainloop)
Upgraded hardcoded limit from 1024/8192 to 32766/65535 (max objects / max overlapping pairs)
2006-06-29 20:57:47 +00:00
ejcoumans
35c2da987e preparation for compound collision shapes 2006-06-25 19:53:07 +00:00
ejcoumans
c8a0c95195 added basic collision filtering, in broadphase. more advanced collision filtering should happen in CollisionDispatch::NeedsCollision
fixed CcdPhysicsDemo: don't pick static objects, it create a point 2 point constraint, which assert in jacobian generation
2006-06-25 19:36:50 +00:00
ejcoumans
09aeefe029 Allow multiple meshes to be used in the TriangleIndexVertexArray (this name is bad, is should be 'MeshArray'.
Renamed some 'box' into 'convex' in ConvexConcaveCollisionAlgorithm (it is generic for all convex objects, not for boxes).
2006-06-25 14:50:38 +00:00
ejcoumans
2eed545a70 enable to suspend and restore dynamics. also, catched the case where failed dynamics (resulting in infinite AABB sizes) doesn't mess up the entire simulation, it just get's deactivated (with a message that a simulation error happened) 2006-06-22 03:00:43 +00:00
ejcoumans
94e94e995f enabled early exit for GJK 2006-06-21 05:35:16 +00:00
ejcoumans
51a645bb4a constraints between bodies merge constraint simulations (this fixes problems with deactivation/sleeping) 2006-06-17 15:22:06 +00:00
ejcoumans
e061ec1ebf moved files around 2006-05-25 19:18:29 +00:00