Commit Graph
100 Commits
Author SHA1 Message Date
ejcoumans 438230b95b added proper clipping of angular limits in generic d6 ConstraintSolver/btGeneric6DofConstraint.cpp
added trianglebuffer (easier GIMPACT integration)
2006-11-10 22:56:45 +00:00
ejcoumans 56e135874b added angular limits to the Generic D6 constraint. Works for small angles. Will add a check for different combinations, and use different extraction of ordering of rotation from the diff quaternion.
Improved vehicle interpolation of wheels, and added Z-up axis option for the Demo
made 'getWorldTransform' const method in btMotionState
added future 'deactivationCallback'(not used yet)
2006-11-10 04:00:16 +00:00
ejcoumans 442ce2ec09 updated VehicleDemo to show Z as up-axis, rather then Y.
proper gravity for BspDemo
2006-11-09 19:55:14 +00:00
ejcoumans a42718f753 quickprof (optional performance tuning) changed into Zlib license,entire Bullet/src folder is Zlib again. (thanks Tyler Streeter) 2006-11-09 18:44:28 +00:00
ejcoumans 4ab4fc8bb1 Integrated fixes for Solaris from Noerghel, http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=673 2006-11-09 15:27:02 +00:00
ejcoumans 5102b7ac60 added very basic debug drawing for vehicle wheels, and updated raycast in world to do ray-aabb instead of aabb-aabb 2006-11-09 04:43:18 +00:00
ejcoumans 6d47d9492e added non-uniform scaling to btMultiSphereShape
added ray-aabb check
modified Raycast demo to be more useful for debugging collision shapes
2006-11-09 01:58:33 +00:00
ejcoumans db65601f9a added LCP clamp for linear limit on the generic D6 joint 2006-11-07 22:11:15 +00:00
ejcoumans 2a1546764e perform GJK calculations in local space, transform added contact points back into worldspace.
Perhaps rethink of adding contact points in local place (might hit complication with compounds)
2006-11-07 20:34:52 +00:00
ejcoumans c3ed55057c - added linear limits to btGeneric6DofConstraint and made sure the linear axis are in local space of objectA
- use microseconds instead of milliseconds for deltatime
2006-11-07 02:32:52 +00:00
ejcoumans 074e2b2d3b improved robustness of penetrations involving triangles and boxes, by adding their 'preferred' penetration directions.
added wireframe/solid mode for meshes
updated solid penetration depth solver (comparison in Extras)
2006-11-05 05:12:10 +00:00
ejcoumans 23c64fb0db more solver experiments, randomize the order of contact points, not just manifolds
use #defines for constants, rather then const btScalar
2006-11-04 05:22:36 +00:00
ejcoumans c4c4523a4e updated changelog 2006-11-03 16:01:45 +00:00
ejcoumans 07873854a4 more small refactoring: some methods were still upper-case. 2006-11-03 04:32:48 +00:00
ejcoumans 4050da0e2f One of the last parts of the refactoring (hopefully), made most members of btCollisionObject protected.
Also did some work on improving the constraint solver.
2006-11-02 03:42:53 +00:00
ejcoumans 82ba30caa6 fixed 2 issues, one related to wrong 'safety' catch for large objects
and COLLADA constaints didn't recognize rigid body names
2006-10-31 02:11:29 +00:00
ejcoumans 68c78eaf4b updated build/version/changelog 2006-10-30 19:59:22 +00:00
ejcoumans d1a1b3d492 fixes to allow applying impulses during interpolated timesteps (avoid visual discontinuities)
experimental jitter removal (doesn't work very well yet)
2006-10-30 19:37:08 +00:00
ejcoumans b14ccdaa57 rename treshold into thresold (spelling mistake)
added cr/linefeed at end of btDefaultMotionState.h
2006-10-30 05:06:46 +00:00
ejcoumans dd8297c86e refresh contact points, even when they are already persistent. needs a bit more work (a 'replacedContactCallback' where optionally the user can carry over the persistent contact data) 2006-10-30 04:51:17 +00:00
ejcoumans 745828ab9c added resource file 2006-10-30 02:49:20 +00:00
ejcoumans 6232763f9e fixed debugDraw colors (thanks pcOde http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=642 ) 2006-10-29 18:54:09 +00:00
ejcoumans 0404ba51b3 addad BulletDino demo (C instead of C++, will use future Bullet C-API) projectfiles 2006-10-29 16:51:49 +00:00
ejcoumans 733e135753 made the BulletDino a c-demo, to demonstrate future Bullet C-API 2006-10-29 16:26:19 +00:00
ejcoumans 507a06bc06 fixed Dino demo for Mac OS X 2006-10-29 14:48:55 +00:00
ejcoumans 82b310c9cd prepared to add BulletDino, and made ForkLiftDemo compile (no functionality yet) 2006-10-29 06:34:58 +00:00
ejcoumans d6c6cbaee6 enabled the vehicle demo again (still needs lots of tuning before it drives well)
fixed some warnings
2006-10-29 03:36:16 +00:00
ejcoumans caca3a1ca2 commented out some unused headerfile in the demo 2006-10-28 02:17:54 +00:00
ejcoumans 3fe3b11924 use Dispatcher in ConcaveConvexCollisionAlgorithm (so it uses the registered collision algorithm, not hardcoded convexconcave)
improved performance of constraint solver by precalculating the cross product/impulse arm
added collision comparison code: ODE box-box, also sphere-triangle
added safety check into GJK, and an assert for AABB's that are very large
write partid/triangle index outside of GJK
2006-10-28 02:06:19 +00:00
ejcoumans 7987be45c5 added Pierre's PenetrationTestBullet.cpp
See http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=638
2006-10-27 21:22:29 +00:00
ejcoumans b8376a1673 removed SphereSphereCollisionAlgorithm.cpp (is now part of core Bullet/src) and added ODE BoxBoxCollisionAlgorithm/BoxBoxDetector for comparison 2006-10-27 21:01:16 +00:00
ejcoumans e2093823ff fixed check for response (no static/kinematic, rather then 'active') 2006-10-21 16:34:36 +00:00
ejcoumans 289c5ca7fe improvements/bugfixes related to kinematic(animated) objects, synchronizeMotionStates 2006-10-19 15:20:38 +00:00
ejcoumans d11572a4d7 case-issue, QuickProf->Quickprof 2006-10-19 05:33:36 +00:00
ejcoumans 940e753086 made demos working for realtime 2006-10-18 04:32:00 +00:00
ejcoumans 33b3ec94f1 more fixes, related to introduction of btMotionState, and using realtime timestep 2006-10-18 04:01:07 +00:00
ejcoumans 3a6942fb91 processed a lot of feedback: added 'realtime' simulation with fixed substeps (and clamping maximum number of substeps), this means that when stepSimulation is called with smaller timesteps then 'fixed substep' the motionstate is interpolated.
renamed m_ccdSweptSphereRadius,
enabled wireframe debugDrawObject (using debugDrawer)
2006-10-18 03:28:42 +00:00
ejcoumans 1fe414d98a Hooked up 'disable deactivation mode' via debugMode 2006-10-17 01:59:02 +00:00
ejcoumans 15840d7bb0 2006-10-15 20:18:38 +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 ccb7a311b2 updated the Extras/quickstep files, for comparison 2006-10-13 22:34:16 +00:00
ejcoumans 6fa35ba9a4 updated the Extras/quickstep files, for comparison 2006-10-13 22:33:28 +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 919e8def68 removed scaling from btTransform (we only want to deal with rigid transforms)
added BasicDemo to projectfiles (serves as a very small test for porting Bullet to other languages)
2006-10-10 00:43:13 +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 659207e7a3 removed some obsolete/debugging stuff 2006-10-07 02:18:05 +00:00
ejcoumans 04e5e70d31 updated manual with Bullet architecture overview picture 2006-10-07 00:38:03 +00:00
ejcoumans abc52f3199 doxygen 2006-10-06 22:14:32 +00:00
ejcoumans 2832300435 doxygen tags 2006-10-06 22:12:17 +00:00
ejcoumans 831636af25 doxygen comments 2006-10-06 22:03:04 +00:00
ejcoumans 7f8345f0e9 doxygen comments 2006-10-06 22:02:34 +00:00
ejcoumans e24aa9f0c7 doxygen comments 2006-10-06 22:02:02 +00:00
ejcoumans bbe301fff8 lowered safety limit to 32, and added link/comment to forum 2006-10-06 22:01:29 +00:00
ejcoumans ce627a8b2a doxygen comments 2006-10-06 21:57:10 +00:00
ejcoumans 70e5fcf024 doxygen comments 2006-10-06 21:56:39 +00:00
ejcoumans 725d69c0c5 more refactoring/cleanup 2006-10-06 06:00:29 +00:00
ejcoumans 4ba9619b5d 2006-10-06 05:49:40 +00:00
ejcoumans 3241443434 removed 1 file 2006-10-06 05:47:57 +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 3d589a7544 bumbped up version to 2.12 2006-10-05 00:13:56 +00:00
ejcoumans 8bb89d4cef updated projectfiles: renamed collada-dom to colladadom, tosatisfy VisualStudio6. Added clock.cpp to GPUphysics 2006-10-05 00:05:54 +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
ejcoumans 1208c67f85 removed duplicate int i, caused VC6 not to compile. 2006-10-03 17:51:07 +00:00
ejcoumans 708aa9fbcc added getW for btQuaternion 2006-10-03 02:00:11 +00:00
ejcoumans 9b01b6672e updated makefile and fixed a GLuint <-> int conversion issue 2006-10-01 17:16:02 +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 45386e05dc autogenerated updated projectfiles 2006-09-30 02:58:40 +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 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
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
ejcoumans 804d99e392 fixed bug in PolyhedralConvexShape supportmapping, and better description for GJK max iteration exit 2006-09-24 04:21:11 +00:00
ejcoumans ccced9fd82 fixed 2 bugs, updated changes.txt 2006-09-23 02:05:22 +00:00