Commit Graph

5652 Commits

Author SHA1 Message Date
ejcoumans
d38549aa54 more refactoring, removed PhysicsInterface, cleaned up demos to make use of btDynamicsWorld derived classes.
removed two cached optimizations, type in btTransform and cached inverse transform (todo: test performance impact)
committed fixes that make the code adhere to 'who creates it, also destroys it'
2006-09-30 01:36:39 +00:00
ejcoumans
14397a2f72 confusion about memory management, and removed obsolete PhysicsInterface code.todo: updated the demos that still use this code 2006-09-29 19:57:23 +00:00
ejcoumans
0d7c960eb6 removed #undef max
was leftover/redundant, thanks for reporting Jack
2006-09-29 15:20:45 +00:00
ejcoumans
21482e4cab some minor comment-renames, and moved some data from box/sphere into common convex. 2006-09-28 20:14:10 +00:00
ejcoumans
839c9b01c0 updated user manual with recent refactoring changes 2006-09-28 06:40:33 +00:00
ejcoumans
fc9319ee43 refactoring: added basic text in DemoApplication (not all keys are hooked up yet) 2006-09-28 01:56:34 +00:00
ejcoumans
5a75c6e09e refactoring: sphere-box collision algorithm added 2006-09-28 01:47:24 +00:00
ejcoumans
153ffcda52 more refactoring: fixed conventions in this class 2006-09-28 01:46:36 +00:00
ejcoumans
73b996cafd autogenerated new projectfiles, refactoring related 2006-09-28 01:33:59 +00:00
ejcoumans
c473bd69ce refactoring 2006-09-28 01:28:16 +00:00
ejcoumans
5b2d6af1ef refactoring: re-ordered libs 2006-09-28 01:27:48 +00:00
ejcoumans
2b1657b1dd Refactoring: another huge number of changes, renamed methods to start with lower-case. 2006-09-28 01:11:16 +00:00
ejcoumans
d0f09040e9 fixed some merging conflicts 2006-09-27 20:58:49 +00:00
ejcoumans
eb23bb5c0c merged most of the changes from the branch into trunk, except for COLLADA, libxml and glut glitches.
Still need to verify to make sure no unwanted renaming is introduced.
2006-09-27 20:43:51 +00:00
ejcoumans
d1e9a885f3 added some files 2008-02-12 02:02:48 +00:00
sjbaker
2b286e4748 Added new GPU physics demo into both trunk and branch. 2006-09-27 19:18:52 +00:00
ejcoumans
e48c81c55e added basic sphere-box case for porting purposes. This way, we can have a basic sample without GJK. 2006-09-27 00:51:25 +00:00
ejcoumans
a54f928b60 added vehicle simulation 2006-09-27 00:08:24 +00:00
ejcoumans
2a602aefa1 added replacement for CcdPhysicsEnvironment 2006-09-26 23:55:35 +00:00
ejcoumans
9531ec4b30 most basic rigid body simulation
lacks object deactivation and constraints, vehicles etc.
2006-09-26 21:31:44 +00:00
ejcoumans
37a53ee7d9 small cleanup in the DemoApplication, removed references to obsolete PHY_ShapeProps/PHY_MaterialProps
removed deletion of motionstate in CcdPhysics/CcdPhysicsController destructor
disabled m_type optimization in SimdTransform (making the memory size 64 byte, potentially more cache friendly)
fixed a bug in island generation, causing the activation not propagating in one frame, but one 'layer' of rigidbodies at a time
2006-09-26 18:59:29 +00:00
ejcoumans
0e04cfc806 First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00
sjbaker
86f5b09623 Added newline at the ends of these files in order to prevent g++ warnings. 2006-09-24 17:25:13 +00:00
ejcoumans
804d99e392 fixed bug in PolyhedralConvexShape supportmapping, and better description for GJK max iteration exit 2006-09-24 04:21:11 +00:00
sjbaker
f1627677df Fixed over 500 compile warnings. Mostly:
* Unused variables.
* Missing newlines at ends of #included files.
* signed int loop variables where the termination condition is an unsigned 'get number of' function.
* 'NULL' used inappropriately for an integer or character constant (NULL is a pointer)
* abstract base classes with no virtual destructor.
* Floating point constants used to initialise integer variables.
2006-09-23 14:51:54 +00:00
ejcoumans
ccced9fd82 fixed 2 bugs, updated changes.txt 2006-09-23 02:05:22 +00:00
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
7dea1a911c filename fixes 2006-09-20 03:48:58 +00:00
ejcoumans
1a8db5a00e minor fix 2006-09-20 03:44:27 +00:00
ejcoumans
52a950db62 added alternative paths, when files are not found 2006-09-20 03:19:27 +00:00
ejcoumans
93e145a4fc autogenerated projectfiles for GPUphysics 2006-09-20 03:08:16 +00:00
ejcoumans
69c11061c3 2006-09-20 03:04:40 +00:00
ejcoumans
c779f05989 added autogeneration file / jamfile 2006-09-20 02:59:26 +00:00
ejcoumans
fcb21dcfcd added glew for msvc autogeneration 2006-09-20 02:56:15 +00:00
ejcoumans
aaed6cc26b fixed some redundant arguments, and updated change list 2006-09-20 01:17:42 +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
sjbaker
dad2cb634e * Merged in my latest changes into SVN repository.
* Arranged to avoid reading/writing textures at same time.
* Removed depth and stencil buffers from FBO's.
* Eliminated 1-component FBO that caused grief for FBO completeness test.
* Added back missing cubeShaderNoTexture.vert
2006-09-20 00:44:41 +00:00
sjbaker
22fdf584b8 Reverse order of entries in CHANGES 2006-09-19 22:46:33 +00:00
ejcoumans
1d539aa662 XNA physics testbed, just 2 cubes for now, move with a/d keys 2006-09-19 19:03:41 +00:00
ejcoumans
7faf84d784 accidental typo 2006-09-19 18:07:27 +00:00
ejcoumans
4970e86100 latest 0.5 changes from Steven Baker, and fixed Windows MSVC compiling issues 2006-09-19 17:10:30 +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
d78d0b3055 re-autogenerated projectfiles, moved some new file 2006-09-19 05:20:45 +00:00
ejcoumans
163948e351 strange, stl::set<>::iterator is a const iterator under Apple... 2006-09-19 05:14:11 +00:00
ejcoumans
84afe40064 changed version number, moved SphereSphere algorithm and decreased default number of rigidbodies from 3250 back to 250. 2006-09-19 04:58:11 +00:00
ejcoumans
96046852b2 moved SphereSphereCollisionAlgorithm to main library 2006-09-19 04:55:02 +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
d47d23ea74 added glew, useful the GPU physics, see Extras/GPUphysics 2006-09-18 20:40:32 +00:00
ejcoumans
b548455ae9 added Steven Baker's GPU physics code (work in progress) 2006-09-18 20:16:43 +00:00