Commit Graph
1972 Commits
Author SHA1 Message Date
erwin.coumans 9ad17dda22 Add aabbMin/aabbMax to broadphase proxy, and improve rayTest performance.
Todo: use broadphase acceleration structure (btDbvtBroadphase etc) for ray test
2008-10-10 17:32:52 +00:00
erwin.coumans a42b7d93f1 Stop resitution for resting contact, after n frames (can be controlled by btContactSolverInfo.m_restingContactRestitutionThreshold
Thanks Jan Bender for bringing this up
2008-10-09 16:24:00 +00:00
erwin.coumans 0508c3a5d5 Disable TEST_NON_VIRTUAL debugging for btGjkPairDetector 2008-10-08 21:00:15 +00:00
erwin.coumans 10d103b50e Disable TEST_NON_VIRTUAL debugging for btGjkPairDetector
Reverted BulletMultiThreaded, there are some performance issues to be resolved.
2008-10-08 20:59:26 +00:00
john.mccutchan e499a13572 Copy the cached local AABB for ConvexHullShape instead of recomputing it. 2008-10-08 16:59:55 +00:00
john.mccutchan 37f6b006af Move some code (mainly constructors) into header files.
Add parameter to optionally compute local AABB for ConvexPointCloudShape
Add setter and getter for cached local AABB in PolyhedralConvexShape
2008-10-08 16:56:08 +00:00
john.mccutchan 7b1f30f1cf btGjkEpa2 should call getMarginNonVirtual instead of getMargin() 2008-10-08 16:53:56 +00:00
erwin.coumans 288df0df65 don't include cfloat by default, it breaks OSX and Linux build 2008-10-06 06:00:35 +00:00
erwin.coumans 2998d2a8f3 Added ReadBlend, a data extraction API for Blender's .blend files
This can come in handy, to author physics data for Bullet from Blender, and directly get the physics data straight from the .blend file

Thanks a lot to Adam D. Moss, to digg up this code and make it available under the MIT license
It was mentioned several years ago in this thread:
http://archives.seul.org/linuxgames/Apr-2005/msg00002.html
2008-10-06 03:53:51 +00:00
erwin.coumans 30a13d5b5d updated INSTALL file and btCollisionWorld doxygen, adding ./autogen.sh and make support. 2008-10-04 14:52:01 +00:00
erwin.coumans 454fc84517 updated changelog 2008-10-04 01:15:49 +00:00
erwin.coumans b281057337 made shape construction virtual, to allow destruction of memory of btCollisionShape 2008-10-04 01:11:40 +00:00
erwin.coumans 23b2767100 add support for exporting static plane shape in ColladaConverter. 2008-10-03 23:58:55 +00:00
john.mccutchan 9e8410dbae Add libgimpact, libgimpactutils, libglui, libconvexdecomposition, soft body demo, all bullet demos to autotools build 2008-10-03 23:01:04 +00:00
erwin.coumans 854aaea56a renamed 'failed' into not found, to make it sound less dramatic (it continues fine). add cmake/msvc as alternative build options, at the end of configure. 2008-10-03 22:45:54 +00:00
john.mccutchan 192198f365 Fixes for Mac OS X 2008-10-03 22:20:20 +00:00
john.mccutchan a70b0550ef [Autotools] Add support for opengl_LIBS on Apple 2008-10-03 21:27:01 +00:00
john.mccutchan cb8ecc0d2f Fixes for UNIX build system 2008-10-03 21:00:57 +00:00
john.mccutchan e26d2e7664 Add config.guess to keep configure happy 2008-10-02 22:53:55 +00:00
john.mccutchan 933ecf7cf0 Rename ChangeLog.txt into ChangeLog 2008-10-02 22:52:46 +00:00
john.mccutchan 37ee70f0f4 Fixes for Autoconf build system 2008-10-02 22:48:03 +00:00
john.mccutchan 36fa9f3382 Commit missing Makefile.am 2008-10-02 22:34:19 +00:00
john.mccutchan e431450620 Initial support of Autoconf / Automake build system
Now running ./autogen.sh and ./configure will produce both Makefiles built from Autoconf and Automake 
as well as Jam build files.
2008-10-02 22:23:01 +00:00
john.mccutchan 4e70343a8b by default, a btTriangleIndexVertexArray has no setPremadeAabb, so initialize m_hasAabb to zero. 2008-10-02 22:15:53 +00:00
erwin.coumans 425376a416 Update MayaPlugin projectfiles, to compile for Maya 8.5, when available. If multiple Maya versions are installed, the include path order is Maya 2008 -> 8.5 -> 8.0 2008-10-02 01:29:10 +00:00
erwin.coumans 0ca2eef022 FIX: use btScalar instead of float, otherwise double precision build breaks
FIX: make Maya plugin compile for Maya 8.0
FIX: btDbvt SSE doesn't compile for double precision builds
2008-10-02 01:17:18 +00:00
erwin.coumans c265db0007 updated auto-generated MSVC projectfiles, for new btConvexPointCloudShape 2008-10-01 23:58:22 +00:00
erwin.coumans 1800169604 add new files to CMake 2008-10-01 23:45:54 +00:00
erwin.coumans d2a282dc07 fixed issue with clamping/quantization in btAxisSweep3,
Thanks to ole.k for report and fix:  http://code.google.com/p/bullet/issues/detail?id=87
2008-09-30 20:58:03 +00:00
erwin.coumans 0ff15db3f3 + capsule should subtract margin, and take local scaling into account.
+ boxshape uses btFsels
+ add assert in btGjkPairDetector that the new non-virtual method produces the same result as old non-virtual
2008-09-30 18:37:01 +00:00
erwin.coumans 9f28b2bc12 Improve damping formula in btRigidBody::applyDamping
Thanks to sparkprime, see http://code.google.com/p/bullet/issues/detail?id=74
Fixed btCompoundShape/btCapsuleShape/btGImpactShape for missing m_shapeType, and added an assert in DemoApplication::localCreateRigidBody for invalid shape types.
2008-09-30 00:34:58 +00:00
erwin.coumans d221d3be8d Update btSoftBodyCollisionShape to set m_shapeType 2008-09-30 00:05:44 +00:00
john.mccutchan f3b417df6c Modification to SPU collision detection and ray cast code to share implementation of GJK, EPA, Minkowski penetration depth solver, voronoi simplex solver across multi-threaded and non-multi-threaded versions. 2008-09-29 22:48:44 +00:00
john.mccutchan 2b71784c86 Make getShapeType() a non virtual function.
Add localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, getAabbNonVirtual and getMarginNonVirtual methods to convex shape classes
2008-09-29 22:47:05 +00:00
john.mccutchan 41b6eaa87f Change to make serializing btOptimizedBvh/btQuantizedBvh properly deterministic. Contributed by reltham. 2008-09-29 21:17:37 +00:00
erwin.coumans e590f4a721 fixed some outstanding issues with Bullet soft bodies:
1) re-allocate a pool allocator, if one of the soft body collision algorithms is larger than max pool element size
2) manage child shapes properly, and call RemoveReferences on the m_sparsesdf
2008-09-26 23:39:17 +00:00
erwin.coumans 682a0a1b90 fixed btSoftBodyConcaveCollisionAlgorithm, wrong bounding box transformation
added vertex welding option for btTriangleMesh (brute-force slow)
reject appendFace for some degenerate triangles (all 3 vertices/nodes need to be different)
add setVelocity method for btSoftBody
2008-09-26 21:59:03 +00:00
nicola.candussi e0d1c1d057 fixed the bug were the first object created was translated back to the
origin
2008-09-24 12:40:15 +00:00
erwin.coumans 752eb583d0 some minor work on soft body, to make it easier to integrate into apps. 2008-09-24 02:41:50 +00:00
erwin.coumans d7b635cabf logic bug in (de)activation/island management: deactivated 'fantom' objects do merge islands, in particular when connected by constraints. (fantom = object with collision detection but no collision response). 2008-09-23 04:57:20 +00:00
nicola.candussi 965ef932e9 fixed rotation and translation issues for mesh and hull collision shapes 2008-09-22 18:07:39 +00:00
erwin.coumans a5da7347db changed order in link libraries, math should go last 2008-09-22 14:33:39 +00:00
nicola.candussi 106b18813e copying the initial* to position and rotation for rigid body arrays in the
first frame
2008-09-22 10:41:56 +00:00
erwin.coumans 255de503e0 renamed OBJ to COLLADA 2008-09-22 02:12:35 +00:00
erwin.coumans 3d64413ec2 Add Dynamica Bullet installer script for NSIS Nullscript scriptable install system 2.39 for Windows.
Assumes Microsoft Visual Studio 2005 installed in the default location, and BulletMayaPlugin.mll compiled.
2008-09-22 02:01:09 +00:00
erwin.coumans d2f7f9d25b make soft bodies more compatible with rigid body API: disable setCollisionShape (it would delete the shape passed in!) 2008-09-21 15:19:54 +00:00
id0x1234 7a72d76ef2 btDbvtBroadphase, re-enable deferred collide. 2008-09-21 02:23:30 +00:00
id0x1234 323df8f85b btDbvtBroadphase, fixed missed pairs when m_deferred collide was set to false. 2008-09-21 02:21:22 +00:00
erwin.coumans 8ae3f92859 encountered some issue with the btDbvtBroadphase, switch of a deferred collision feature. 2008-09-21 01:15:05 +00:00
erwin.coumans 8db0285d4f attempt to support negative local scaling for btConvexHullShape, btConvexInternalShape-derived classes and btScaledBvhTriangleMeshShape 2008-09-20 23:47:38 +00:00