Commit Graph

1249 Commits

Author SHA1 Message Date
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
erwin.coumans
58f2747acf fixed and re-enabled sphere-sphere collision: contact points were not properly removed/refreshed. 2008-09-20 22:33:36 +00:00
nicola.candussi
90cb458129 2008-09-20 10:25:30 +00:00
erwin.coumans
56d88e18f8 disable sphere-sphere collision algorithm, it is buggy.
See also http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=12&t=2636
2008-09-20 01:59:06 +00:00
erwin.coumans
a7c83d01b9 Added ReleaseDll and DebugDll configurations for MSVC projectfiles.
Fixed the MayaPlugin projectfile, using those ReleaseDll/DebugDll projects.
2008-09-20 00:47:04 +00:00
erwin.coumans
15df743b51 add ReleaseDll and DebugDll configuration for Jam msvcgen build system, to support plugin development (such as Extras/MayaPlugin) 2008-09-20 00:22:18 +00:00
rponom
486b172f58 Bug in constructor btHingeConstraint(body, pivot, axis) fixed. Build under MSVC 7.1 fixed 2008-09-19 21:10:01 +00:00
rponom
6a21ee6146 2008-09-19 21:08:13 +00:00
erwin.coumans
97766f45e6 updated MSVC projectfiles: added colladaExport.*, drawUtils.* and BulletColladaConverter, COLLADA_DOM and libxml.
Note: Bullet libs need to be switched to Multithreaded DLL run-time: we should add additional configurations for plugins!
2008-09-19 08:05:55 +00:00
erwin.coumans
c30a8bf154 added COLLADA Physics export. import will follow soon.
Note that the exporter/importer doesn't handle GIMPACT and btStaticPlaneShape yet.
2008-09-19 07:14:48 +00:00
erwin.coumans
ff46ceb519 make MayaPlugin work under Mac OSX (intel/x86), build/install:
make -f Makefile.mac
make install -f Makefile.mac

It assumes Maya is installed in the default location, and plugin will install in default /Users/Shared/Autodesk/maya folder.
2008-09-19 00:47:56 +00:00
erwin.coumans
bf5eafb759 make sure Bullet and Blender/extern/bullet2 is in sync 2008-09-17 20:01:01 +00:00
nicola.candussi
a45ef86d92 2008-09-17 11:54:59 +00:00
erwin.coumans
c9e5f2df05 fix 64-bit issue, can't cast void* to int. 2008-09-16 06:17:33 +00:00
id0x1234
2e4f634586 btSoftBody clusters memory leak fixed. 2008-09-15 10:02:30 +00:00
erwin.coumans
1346c95205 reverted back to newer btDbvtBroadphase, and applied Nathanael's fixes. 2008-09-13 08:06:39 +00:00
erwin.coumans
d1318a05b3 Add plNearestPoints, contribution from Blender
Thanks!
2008-09-13 06:55:34 +00:00
erwin.coumans
3d2ce530d4 applied patch to make child shape of a compound shape available during ray testing.
Thanks to Benoit Bolsee for the patch: http://code.google.com/p/bullet/issues/detail?id=91
2008-09-13 06:46:53 +00:00
erwin.coumans
3018eb9ebb btDbvtBroadphase is broken, revert temporarily to a previous working version. 2008-09-13 06:25:14 +00:00
erwin.coumans
50daff0848 added install.bat used for the Windows release, and updated docs to add instruction videos and link to the forums for support. 2008-09-12 21:22:30 +00:00
rponom
ddccc2797a More stable btConeTwistConstraint to fix the RagdollDemo 2008-09-12 02:55:03 +00:00
id0x1234
a6f47f17d8 Fixed alignment issue in btDbvt::CollideTV 2008-09-12 02:39:33 +00:00
id0x1234
670d7d94fc Fixed SIMD compilation issues under msvc 7 2008-09-12 02:31:43 +00:00
erwin.coumans
c435f6f65c added btScaledBvhTriangleMeshShape to autogenerated projectfiles 2008-09-12 01:07:12 +00:00