Commit Graph

352 Commits

Author SHA1 Message Date
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
erwin.coumans
35083aae4a moved predictUnconstraintMotion to SPU 2008-06-04 02:39:37 +00:00
erwin.coumans
8827d5dbfb undo btQuadWord changes, added integration in parallel SpuSampleTask 2008-06-04 02:01:41 +00:00
erwin.coumans
5e3777ddd2 added sample task, for multi threading tests
added union vec_float4 m_Vec128; for btVector3 for SPU and PPU.
2008-06-03 21:24:34 +00:00
erwin.coumans
d49aeb9dff + improved split impulse constraint solver option
+ improved friction warm starting
+ made constraint solver configuration more consistent (moved m_solverMode into btContactSolverInfo)
+ reset timing in CDTestFramework after initialization (SAP init destorts timings)
+ make it easier to change default sizes for stack allocator in btDefaultCollisionConfiguration
2008-05-29 03:33:32 +00:00
erwin.coumans
3726af466e removed obsolete files, make CDTestFramework compile again 2008-05-25 07:32:44 +00:00
erwin.coumans
f8e5481612 Added method to collect all persistent contact manifolds, given a btBroadphasePair (collision algorithm)
virtual	void	getAllContactManifolds(btManifoldArray&	manifoldArray)
See Demos/CharacterDemo/CharacterDemo.cpp for example usage of getAllContactManifolds
Added btDbvtBroadphase to btBulletCollisionCommon.h headerfile
Enable soft body vs concave (albeit slow)
Improved contact point debug rendering (moved from constraint solver into debugDrawWorld)
2008-05-24 04:23:00 +00:00
erwin.coumans
561066af75 + make compound versus soft body work (soft body uses interpolated transform)
+ fixed issue with persistent manifold, warmstarting values were not initialized properly
+ don't clear manifold in sphere-sphere collision (need warmstarting)
+ added support for 'split impulse', decouple positional error correction from velocity correction
This avoids adding momentum due to penetration correction, it can be tuned using following variables:
solverInfo.m_splitImpulse = true/false (disable/enable)
solverInfo.m_splitImpulsePenetrationThreshold (below this value, baumgarte/mixed velocity/penetration is used (cheaper, looks more plausible)
solverInfo.m_linearSlop (less jitter, when small amound of penetration is allowed)
2008-05-23 09:05:37 +00:00
erwin.coumans
ea86559480 removed some warnings 2008-05-21 23:29:35 +00:00
erwin.coumans
0b48b1c76b Added Mac OSX XCode project with Cocoa userinterface (wrapping GLUT) for Bullet demos
Thanks to TomorrowPlus for the constribution!
2008-05-18 00:38:17 +00:00
erwin.coumans
d9e7058ff2 Softbody improvements, thanks to Nathanael 2008-05-17 12:39:16 +00:00
erwin.coumans
649709dc2d updated build files 2008-05-10 19:24:39 +00:00
erwin.coumans
bd97c5e569 Fixed warnings in Bullet/src core library
Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch

To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings)
Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
2008-05-10 18:00:21 +00:00
john.mccutchan
3268cab6d7 Add EPA penetration depth solver support to bullet multithreaded.
Update SubSimplexConvexCast algorithm used in bullet multithreaded.
2008-05-06 00:44:18 +00:00
erwin.coumans
25c5d0d57a +Added btDbvtBroadphase, this very fast/efficient broadphase is based on Dynamic AABB tree (btDbvt).
+SoftBody improvements by Nathanael Presson:
+Add tetrahedralization
+Add support for tearing/slicing cloth and deformable volumes. Uncomment the line in Bullet/src/BulletSoftBody/btSoftBodyHelpers.h: //#define	BT_SOFTBODY_USE_STL	1
2008-05-05 23:19:21 +00:00
john.mccutchan
bce0047986 Add a destructor to ColladaConverter.
Two minor fixes to ColladaConverter as well.
2008-04-28 21:53:10 +00:00
erwin.coumans
1139c06a4d more soft body preparations, moved some parts from Demo/SoftBody to src/BulletDynamics/SoftBody
moved Extras/ConvexHull/btConvexHull.* to src/LinearMath/btConvexHull.*
removed btCollisionObject::m_internalOwner, replaced it by m_internalType. This should not affect external API (it was clearly marked as internal)
2008-04-10 20:00:41 +00:00
erwin.coumans
03d846add0 cleanup of Stan Melax ConvexHull utility, all memory allocations go through btAlignedAlloc/btAlignedFree, instead of new/delete.
It can be moved into Bullet/src now.
2008-04-10 05:36:17 +00:00
john.mccutchan
7066c43d79 Fix normals being lost in batch raycaster 2008-04-08 22:47:36 +00:00
erwin.coumans
2ee866e37f fix in partId/triangleId, thanks Alex 2008-04-08 22:28:02 +00:00
erwin.coumans
bfe6774399 removed unused structure 2008-04-08 21:14:14 +00:00
erwin.coumans
daf293c43e don't try to include <pthread> if USE_PTHREADS is not defined 2008-04-08 02:13:05 +00:00
erwin.coumans
c1a10fd1fe Add support for part/triangle id for GIMPACT.
Thanks Alex Silverman:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2032
2008-04-07 19:37:04 +00:00
erwin.coumans
8ddbf12f1a only move 10% of objects
added relative path to Bullet projectfiles (math/collision)
2008-04-02 19:22:08 +00:00
erwin.coumans
1ef4c721a0 CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman
Added Bullet SAP/MultiSAP support by Erwin Coumans (BulletSAPCompleteBoxPruningTest.*)
AABB tree broadphase by Nathanael Presson (btDbvt.*, DbvtTest.*)
2008-04-02 18:05:36 +00:00
john.mccutchan
ba27e0522b Add posix thread backend to BulletMultiThreaded. Contributed by Enrico. 2008-04-01 18:32:41 +00:00
erwin.coumans
64df6edf39 reverted DISABLE_CELL_DMA_READ_ONLY
commented out printf
2008-04-01 00:29:21 +00:00
erwin.coumans
b12c52efa8 removed AlternativeCollisionAlgorithms, and moved btBoxBoxDetector from Extras into Bullet core collision detection
Re-distribute ODE box-box under the ZLib license as part of Bullet, with permission of Russell L. Smith.
2008-03-30 20:54:14 +00:00
erwin.coumans
a9080f2984 removed quickstep from Extras folder, into Bullet core as optional constraint solver.
Re-distributed under the Zlib license with permission from Russel L. Smith.
2008-03-30 20:51:49 +00:00
john.mccutchan
1464097327 Minor changes to SpuBatchRaycaster
Add DISABLE_CELL_DMA_GET_READ_ONLY define to SpuCollisionShapes
2008-03-28 19:10:46 +00:00
john.mccutchan
d775191eff Fix memory leak in btShapeHull 2008-03-27 21:17:47 +00:00
erwin.coumans
65bb612598 - added quickSort to btAlignedObjectArray (has generally better performance then heapSort)
- replaced all usage of heapSort by quickSort
- finished btMultiSapBroadphase. Still some work to be done to increase performance (faster add/remove from child broadphases. 
  uses currently AABB tree to locate child broadphase (should use grid), and sorted array takes too much time.
2008-03-16 04:30:43 +00:00