Commit Graph

120 Commits

Author SHA1 Message Date
sjbaker
ef993557fe Fixed elevation wrap-around problem in Demo's. 2006-10-15 19:10:30 +00:00
ejcoumans
b476223c45 added/documented some options 2006-10-14 00:16:55 +00:00
ejcoumans
3db4afa4ec disable comparison by default 2006-10-14 00:06:46 +00:00
ejcoumans
d878885db4 updated quickstep solver (for comparison), enabled GPU physics again (but WIN32 doesn't have the VertexTextureSupport enabled) 2006-10-13 23:58:52 +00:00
ejcoumans
2c66be25fc added cleanup memory for BasicDemo, and another pragma warning ignore 2006-10-13 23:24:09 +00:00
ejcoumans
f3b9dcd714 modified triangle mesh generation, to use btTriangleMesh, which is easier to build then the striding index/vertex arrays alternative. 2006-10-11 20:45:11 +00:00
ejcoumans
a337372905 added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody 2006-10-11 06:07:14 +00:00
ejcoumans
f3eb3cfa37 Added a very basic dynamics demo, only using spheres (and optionally boxes) 2006-10-09 20:41:18 +00:00
ejcoumans
bf847b839a another large series of changes, related to the refactoring.
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
2006-10-06 05:22:13 +00:00
ejcoumans
97b287a6bc updated Jam buildsystem to link properly under systems that rely on strict ordering of the link libraries 2006-10-05 14:05:09 +00:00
ejcoumans
71393bac40 updated buildstuff, collada-dom is now colladadom (should make VisualStudio 6 users happy) 2006-10-04 23:54:22 +00:00
ejcoumans
323a1046fd Cleaned up/simplified construction of a btRigidBody
Fixed memoryleak in btOptimizedBvh (delete []m_contiguousNodes;)
Changed DemoApplication::localCreateRigidBody, so it adds the rigidbody to the btDynamicsWorld.
Added check for duplicate objects in world when adding.
Added assert to prevent setLinearVelocity on static rigidbodies
Added btCollisionFilterGroups to btBroadphaseProxy
removed duplicate 'btBroadphaseProxy*	m_broadphaseProxy;' in btRigidBody
2006-10-04 23:46:27 +00:00
ejcoumans
d85ecfe5c2 removed more duplicate iterators 2006-10-03 18:01:24 +00:00
sjbaker
2aaab1ab1a Assorted cleanup of compilation warnings. Also fixed some actual errors:
#include "renderTexture.h"...when the file is actually called 'RenderTexture.h'.
2006-10-01 00:08:09 +00:00
ejcoumans
62bdd2bde2 don't crash when no debugdrawer is available, added some damping for the constraint demo 2006-09-30 03:16:02 +00:00
ejcoumans
dcf007ca38 more refactoring for CMake buildsystem 2006-09-30 02:51:35 +00:00
ejcoumans
c9e468b127 update buildsystem for recent refactoring 2006-09-30 02:40:55 +00:00
ejcoumans
01a6290cf7 more refactoring, restored some profiling and some debugging 2006-09-30 02:26:51 +00:00
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
fc9319ee43 refactoring: added basic text in DemoApplication (not all keys are hooked up yet) 2006-09-28 01:56:34 +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
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
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
7dea1a911c filename fixes 2006-09-20 03:48:58 +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
ejcoumans
d375a474b3 fixed broadphases after performance optimizations 2006-09-19 06:08:54 +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
f83677deed added buildsystem files 2006-09-17 06:34:40 +00:00
ejcoumans
28404fe477 2006-09-17 06:32:57 +00:00
ejcoumans
a98b7f1a95 example that shows how to register your own collision algorithms. 2006-09-17 01:39:54 +00:00
ejcoumans
c114703156 updated demos includes 2006-09-11 06:10:40 +00:00
ejcoumans
43370aaa4f first step in refactoring/cleaning up demos 2006-09-11 05:31:22 +00:00
ejcoumans
a27c35ecaa 2006-09-11 05:30:55 +00:00
ejcoumans
1bbd779aa3 added ColladaConverter.cpp to cmakelist 2006-09-07 00:44:34 +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
fa96109cd9 Exposed another glut method (the demos really require cleanup soon!)
First steps for a raycast-vehicle demo (far from finished)
2006-09-05 07:36:55 +00:00
ejcoumans
a0c157ed85 fixed memoryleak,
added RayTestSingle to CollisionWorld
prepared to add VehicleDemo
2006-09-04 21:28:32 +00:00
ejcoumans
815ec6178e Collada Converter minor fix in load 2006-09-02 00:34:03 +00:00
ejcoumans
59b6f509ff improved COLLADA physics support, with respect to instancing.
Can read Ageia 'CreateDynamics' exported files again.
See http://codesuppository.blogspot.com/
2006-09-01 23:42:14 +00:00
ejcoumans
334ce42650 added basic RaycastVehicle support, and CcdPhysicsEnvironment::getAppliedImpulse(int constraintId), this value is useful as treshold to break constraints. 2006-08-29 23:55:32 +00:00
ejcoumans
4cdcee8871 updated CMakeLists.txt to include LibXML and LibColladaDom, and use better naming for libs. This should allow autogeneration of visual studio projectfiles, and Apple XCode projectfiles for COLLADA_DOM demo. 2006-08-28 01:26:31 +00:00