Commit Graph

23 Commits

Author SHA1 Message Date
ejcoumans
7c61399313 fixed two recently introduced bugs, that cause crashes when removing objects.
one related to UnionFind optimization, the other to broadphase optimizations. Should do better unittesting next time!
2006-09-23 02:00:33 +00:00
ejcoumans
5ed0cf5b7f improved performance, and allowed custom friction and contact solver models. See CcdPhysicsDemo #define USER_DEFINED_FRICTION_MODEL 2006-09-20 00:49:33 +00:00
ejcoumans
7faf84d784 accidental typo 2006-09-19 18:07:27 +00:00
ejcoumans
eb6664f7c2 issue with OS X and std::set, erase doesn't return an iterator. todo: check this 2006-09-19 07:06:23 +00:00
ejcoumans
d375a474b3 fixed broadphases after performance optimizations 2006-09-19 06:08:54 +00:00
ejcoumans
163948e351 strange, stl::set<>::iterator is a const iterator under Apple... 2006-09-19 05:14:11 +00:00
ejcoumans
8c023e764c started working on some serious performance improvements. now the union find is optimized, the broadphase add/remove overlapping pair was too slow. added a stl::set to keep track of overlapping pairs. this speeds up the set find/remove. work in progress.the SimpleBroadphase is broken. will be fixed tomorrow.
Did some tests with 3000 rigidbodies, works much smoother now :)
2006-09-19 02:59:30 +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
1048793061 fixed collision bug involving meshes/compounds: always keep point with deepest penetration
increased default number of objects/overlaps in broadphase to 20k/60k
2006-09-04 18:54:36 +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
3a27e8b1bf Added preliminary CMake buildsystem support, it can autogenerate projectfiles/makefiles etc. Including Mac OS X Xcode.
This provides a better maintainable alternative to jam/msvcgen
2006-08-09 19:38:21 +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
57e8bd87d1 updated version/projectfiles with new files 2006-07-01 00:34:43 +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
93fda830d4 accidently made CollisionGroup filter/mask int, instead of short int 2006-06-25 19:40:59 +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
39c5f29fd0 added new convex trianglemesh shape 2006-05-26 00:30:16 +00:00
ejcoumans
e061ec1ebf moved files around 2006-05-25 19:18:29 +00:00