Commit Graph

383 Commits

Author SHA1 Message Date
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
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
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
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
nicola.candussi
90cb458129 2008-09-20 10:25:30 +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
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
nicola.candussi
a45ef86d92 2008-09-17 11:54:59 +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
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
id0x1234
147b6c8975 -Divide speed by 10 for more useful results as recommended by Pierre Terdiman.
-Using shared speed value.
2008-09-11 11:32:38 +00:00
erwin.coumans
32ab5d3691 fix crash in Maya plugin, trying to access elements in a zero-length positions/rotations array. 2008-09-11 00:57:53 +00:00
erwin.coumans
62f6c16fe3 Added documentation and sample scenes for MayaPlugin
Thanks to Walt Disney Studios.
2008-09-06 00:41:46 +00:00
erwin.coumans
82b64b0565 exclude BulletMultiThreaded from 64-bit builds 2008-09-05 20:56:50 +00:00
erwin.coumans
bfe4c2da55 updated projectfiles for OSX demo 2008-09-05 01:43:25 +00:00
erwin.coumans
359c84d3b3 Fix previous commit, accidently removed some aabbMin/aabbMax assignments.
move margin calculation for aabb before basis transform.
2008-09-05 00:26:02 +00:00
erwin.coumans
4f1a015b41 Added CUDA link + usage info for btCudaBroadphase demo. 2008-09-04 23:28:49 +00:00
erwin.coumans
aef74321d7 Added btCudaBroadphase, some early research & development work to accelerate Bullet using CUDA
Re-uses the NVidia particle demo.
2008-09-04 23:24:11 +00:00
erwin.coumans
d8a5bf2c9c Calculation of bounding box: margins should be added before basis transform.
Disable btSphereBoxCollisionAlgorithm, it is broken.
More fixes for btSimpleBroadphase
Moved quickstep to Extras/quickstep folder, so developers don't get confused which constraint solver is default.
2008-09-04 22:53:24 +00:00
erwin.coumans
5334611f48 Added MSVC 2005 project and solution. Removed glutInit/GLUT dependency. Fixed minor bug (return of non-existing variable c) 2008-09-04 22:35:08 +00:00
nicola.candussi
5d2720d267 Added "real" unique ids to the nodes 2008-09-04 12:39:11 +00:00
nicola.candussi
21b0ccfcc2 2008-09-02 09:44:59 +00:00
erwin.coumans
932de57d4c Updated CDTestFramework with the OPCODE Array SAP test.
Thanks Pierre Terdiman for the latest update.
2008-09-01 18:46:57 +00:00
erwin.coumans
1fbeedc7b9 added a #define around unaligned DMA in SpuFakeDma.cpp 2008-08-29 00:49:31 +00:00
john.mccutchan
32bf51aa47 Fixed memory leaks in ConvexDecomposition and ColladaConverter libraries
Added ConvexDecompositionDemo to CMake build
2008-08-28 17:36:50 +00:00
nicola.candussi
d78a46fea2 First MayaPlugin, still need to fix the makefiles and get unique ids for
the Maya nodes.
Got rid of boost dependencies.
Cleaned up mvl library
2008-08-25 15:11:33 +00:00
erwin.coumans
c66b5531a3 Fix memory leak, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2500&p=9848 2008-08-19 15:40:21 +00:00
id0x1234
2db430ca4f +Changed process/thread priority for more accurate benchmarking.
+btDbvt benchmarking can be enable/run in main()
2008-08-14 23:44:39 +00:00
erwin.coumans
7bf65e95f4 add patch for Havok 5.5 to add COLLADA Physics conversion 2008-08-01 05:15:50 +00:00
erwin.coumans
bc73c91a39 Converter from Havok .hkx to COLLADA Physics .dae files. Patch for SimpleLoadDemo.cpp. Requires Havok 5.5 SDK, free for download from Intel website. 2008-08-01 04:57:26 +00:00
erwin.coumans
af4520801b + Fix btSubsimplexConvexCast
Thanks to Nacho, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2422)
Fix in rendering, GL_STENCIL
+ btTriangleIndexVertexArray indices should be unsigned int/unsigned short int,
+ Made InternalProcessAllTriangles virtual, thanks to 
Both thank to Fullmetalcoder, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2401
+clamp impulse for btPoint2PointConstraint
Thanks to Martijn Reuvers, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2418
+ Free memory of bvh, pass in scaling factor (optional)
Thanks to Roy Eltham, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2375
2008-07-31 19:44:28 +00:00
erwin.coumans
9cd83c004b + add dummy getcwd/getenv for PS3 compatibility
+ disable HAVE_SIGNAL_H 0 for LibXML
+ removed unused variable in btCollisionWorld
+ removed unused variable in btSequentialImpulseConstraintSolver
2008-07-28 23:15:43 +00:00
erwin.coumans
3ca977e39f Patch by Nathanael Presson: (needs some more work, some of the demos don't show properly (RayCaster, CollisionInterfaceDemo,'g' key is already occupied in ConcaveDemo etc)
btDbvtBroadphase:
- Fixed a performance issues reported by 'reltham'
- Added btDbvtBroadphase::optimize() for people who want good performances right away or don't do dynamics.
- fixed compilation issues when DBVT_BP_PROFILE was set.

btSoftBody:
- Fixed singular matrix issues related to polar decomposition (flat meshes).

DemoApplication:
- Shadows (enable/disable through 'g' or DemoApplication::setShadows(bool)).
- Texture can be enable/disable through 'u'

CDFramework:
- fixed compilation issues.
2008-07-28 04:33:55 +00:00
erwin.coumans
016db0b3c5 Bind the SplitImpulse button to SimulationParameters and use the Objective-C SplitImpulse variable
Thanks to Shamyl Zakariya for the OSX Interface Builder help!
2008-07-16 23:58:23 +00:00
erwin.coumans
6f8b396575 use different namespace for SPU version of btGjkEpa2 to avoid name clashes. 2008-07-14 17:19:50 +00:00
erwin.coumans
8f3e9603f3 + fixed issue related to temporary/root collision shape in btCollisionObject
+ normalize plane normal input for btStaticPlaneShape
+ fixed issue related to swapped collision detectors (SphereTriangleDetector in particular)
Thanks a lot to Andrey Tuganov for reporting the issue and his reproduction case ( http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2143 )
2008-07-11 05:39:31 +00:00
erwin.coumans
b66e5350d0 rename HasHit method to hasHit
rename AddSingleResult to addSingleResult
moved collision filtering for btCollisionWorld::rayTest and btCollisionWorld::convexSweepTest from argument to the callback needsCollision
2008-07-09 23:30:21 +00:00
erwin.coumans
2c224b41c5 bump up the version to 2.70, and add (non-working) button for OSX template 2008-07-09 05:13:18 +00:00
erwin.coumans
dcd57f333b + improved KinematicCharacterController
+ improved btSubsimplexConvexCast, btContinuousConvexCollision and btGjkConvexCast to support configuration that start in touching/penetration, required for 'sliding'.
+ added files to CMakeLists.txt for CharacterController
+ bump up version to 2.70 (preparation for beta)
2008-07-09 00:08:49 +00:00
erwin.coumans
b6af86bd98 need to include <windows.h> before glut.h (issue with glui.h) 2008-07-03 23:24:56 +00:00
erwin.coumans
dbc464f831 Applied patch from Alex Silverman, to swap the partId/triangleId correctly.
http://code.google.com/p/bullet/issues/detail?id=54
Thanks for the patch!
2008-06-26 23:52:39 +00:00
erwin.coumans
e854a5133b add support for non-power-of-2 dma sizes (for small dma transfers)
add setBroadphase
2008-06-24 02:15:06 +00:00
erwin.coumans
d16c1b615f pass in reference to actual contact point in cache, rather then temporary value, should fix issue 53
http://code.google.com/p/bullet/issues/detail?id=53
Thanks Alex Silverman for reporting and suggested fix
Changed addContactPoint to lowercase
2008-06-22 03:30:55 +00:00
erwin.coumans
8634b6ba14 fixed a few issues with BulletColladaConverter/ColladaConverter.cpp, related to constraints. 2008-06-05 05:09:47 +00:00