Commit Graph

1425 Commits

Author SHA1 Message Date
erwin.coumans
fe461296c6 Fix issue with un-initialized broadphase proxy during broadphase insert. It was an chicken-egg problem:
1) creating a broadphase proxy -> adding pairs during insertion. But during this pair insertion, the btGhostObject broadphase handle isn't set yet (it is done in step 2)
2) assign the broadphase proxy to btGhostObject
Thanks to ihar3d for the report http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2864
2008-11-17 18:40:21 +00:00
erwin.coumans
bc131321a8 fix in (unused) operator == 2008-11-16 08:06:28 +00:00
erwin.coumans
0deffb7495 mutable wasn't needed for this anonymous union (btBroadphasePair) 2008-11-16 08:06:07 +00:00
erwin.coumans
a006cea5ab cosmetic text fix for ForkLiftDemo 2008-11-16 07:48:08 +00:00
erwin.coumans
f474e58fb1 some minor fixes for BulletMultiThreaded 2008-11-16 06:39:45 +00:00
erwin.coumans
686accab16 + repaired SpuParallellSolverTask: support for warmstarting and added btAssert for constraint sizes that exceed CONSTRAINT_MAX_SIZE
+ Share some more code between SpuParallelSolver and btSequentialImpulseConstraintSolver (both use btSolverBody now)
Lack of warmstarting reported here: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2858
+ allow btBoxBoxDetector to execute on SPU.
2008-11-16 05:48:42 +00:00
erwin.coumans
dcf3f96869 Raise number of objects to 16384, move all objects at 0.01 speed, to show worst case behaviour (and CUDA benefits) 2008-11-15 23:44:40 +00:00
erwin.coumans
21f03f2aed add 'NextScene' button and minor help in GUI 2008-11-15 23:42:39 +00:00
erwin.coumans
972d3be247 Disable Bullet SAP by default (initialization takes too long, will speed that up later), just compare btDbvt, CUDA and OPCODE broadphases 2008-11-15 23:06:12 +00:00
erwin.coumans
4d0c11cd95 add PE_REF macro to allow Win32 SIMD for Physics Effects box-boxBoxDistance (although performance hardly differs) 2008-11-15 22:40:09 +00:00
erwin.coumans
29bfd06af7 Disable friction warmstarting by default, removing second friction direction. This gives a large performance increase.
friction warmstarting can be turned on using:
dynamicsWorld ->getSolverInfo().m_solverMode |= SOLVER_USE_FRICTION_WARMSTARTING;
2008-11-15 22:20:55 +00:00
erwin.coumans
a5c18db854 fix CMake install for CMAke 2.6 -> version GREATER then 2.5 2008-11-15 03:48:24 +00:00
erwin.coumans
183dcb0ce4 fixed uninitialized variable, thanks to Roman 2008-11-15 00:45:04 +00:00
rponom
b8b2d8f69b Test for btCudaBroadphase added 2008-11-15 00:22:17 +00:00
rponom
afec653726 New version of btCudaBroadphase compatible with Bullet and better performance 2008-11-15 00:21:09 +00:00
rponom
8abddb2400 Fixed deleting objects procedure for btSimpleBroadphase 2008-11-15 00:17:59 +00:00
erwin.coumans
78a7b07b41 removed BulletSpuOptimized.pdf and Bullet_Faq.pdf, it will be moved into the Bullet_User_Manual.pdf 2008-11-15 00:05:26 +00:00
john.mccutchan
a6fb51a871 Switch multithreaded flag to disable by default (pass
--enable-multithreaded) to enable BulletMultiThreaded
2008-11-14 23:55:54 +00:00
erwin.coumans
cc43193b25 Fixes to allow compilation of BulletMultiThreaded under 64bit linux 2008-11-14 23:51:49 +00:00
john.mccutchan
86727242a2 Define USE_ADDR64 on x86-64 platform
Add configure option --disable-multithreaded which will disable building of libbulletmultithreaded.a and MultiThreadedDemo
2008-11-14 17:57:30 +00:00
erwin.coumans
1f66cd15a7 minor tweaks to the demos 2008-11-13 08:32:47 +00:00
erwin.coumans
352aed528e Added specialKeyboardUp handler to GLUI (why was it missing?)
Some cleanup for ForkLiftDemo
Enable textures for ConcavePhysicsDemo, 
Added scaling to BasicDemo to show small objects (20 centimeter)
Removed demos from 'AllBulletDemos': less (clutter) = more
2008-11-13 07:33:25 +00:00
john.mccutchan
0514944b41 Initial notes on making a release of Bullet Physics SDK 2008-11-12 23:17:36 +00:00
erwin.coumans
055c82ce08 disable raycast accelerator in Bullet, for better sweep and prune performance comparison (Bullet SAP) 2008-11-12 22:59:26 +00:00
erwin.coumans
5493ba8411 Updated ChangeLog
Rename CProfileManager::DumpAll to CProfileManager::dumpAll
2008-11-12 22:52:13 +00:00
erwin.coumans
9516e505a7 fix broken build
Add btCompoundShape export support for BulletColladaConverter. 
Thanks to JamesH for the report/request:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=12&t=2840
2008-11-12 22:25:23 +00:00
erwin.coumans
5feea39803 Fix compilation for MSVC 6.0 for Bullet and COLLADA DOM.
Fix issues with btDbvt: use ATTRIBUTE_ALIGNED16
Removed several places where variable was declared within for statement: for (int i=0; should be int i; for (i=0
2008-11-12 18:37:05 +00:00
erwin.coumans
444fbfeb40 add obsolete 'getPoints' to be backwards compatible (breaks MayaPlugin) 2008-11-12 16:53:06 +00:00
erwin.coumans
c4bd276dfc make it easier to disable btQuickProf,
added a CProfileManager::DumpAll, to dump/printf all timings for one simulation frame.
2008-11-12 02:45:59 +00:00
erwin.coumans
1381394dd8 reverted 'getActiveObjects', island management will be improved for Bullet 2.74 release.
The implementation was error-prone and could lead to crashes.

See http://code.google.com/p/bullet/issues/detail?id=128
2008-11-11 16:19:20 +00:00
erwin.coumans
0384562db0 removed bloated reference docs, will add them in a separate package 2008-11-10 22:26:16 +00:00
erwin.coumans
85341fee2a fix more places in btSoftBody that assume btRigidBody (it wasn't designed to support btCollisionObject/btGhostObject).
Add another 'findActiveObject'
2008-11-10 21:33:11 +00:00
erwin.coumans
3c0ca0d931 Fix btSoftBody issue, so it can interact with btCollisionObject and btGhostObject (and not just btRigidBody and btSoftBody)
Thank for the report mi076 http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2823

remove legacy.c from libxml
removed #include <math.h> from btQuadWord.h , it should be centralized in btScalar.h (to allow easier replacement with fastmath.h etc)
2008-11-10 20:33:14 +00:00
erwin.coumans
8865e38e5b bugfix: for btCompoundShape::getChildTransform: return (const) reference to btTransform, not a copy.
added btCompoundShape::updateChildTransform
Thanks to ejtttje, see http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2831
2008-11-10 09:04:04 +00:00
erwin.coumans
463a1b74c1 The SPURS version requires 16-byte alignment at the moment, and Cell SDK doesn't, so keep it like this for 2.73. @todo: Need to figure out better way to deal with those differences. 2008-11-09 23:35:23 +00:00
erwin.coumans
bf3b6a2140 autogenerated projectfiles, add BulletDynamics/Character, moved from CharacterDemo 2008-11-08 22:50:57 +00:00
erwin.coumans
049270bb29 add Character to Jamfile 2008-11-08 22:49:16 +00:00
erwin.coumans
9bba23bf51 use eRadial as default for TerrainDemo 2008-11-08 22:42:19 +00:00
erwin.coumans
556241c92f updated build system for BulletDynamics/Character files 2008-11-08 21:46:21 +00:00
erwin.coumans
5dac27e694 fix in GIMPACT, reported here: http://code.google.com/p/bullet/issues/detail?id=118
tweak character margin for smoother sliding (needs to be fixed properly)
2008-11-08 21:33:37 +00:00
erwin.coumans
f9aa7f3b53 Add Character control to btDiscreteDynamicsWorld (moved btCharacterControllerInterface/btKinematicCharacterController functionality from demo)
Remove ibmsdk from CcdPhysicsDemo and CollisionDemo
2008-11-08 21:01:20 +00:00
erwin.coumans
ce0bdd891d added synchronizeSingleMotionState, thanks Chunky. 2008-11-08 19:34:05 +00:00
erwin.coumans
075ba0b9d9 Enabling USE_SEPDISTANCE_UTIL2 requires 100% reliable distance computation, but there are issues with large size rations. todo: fix this
Make synchronizeMotionStates() pure virtual in btDynamicsWorld and public in btDiscreteDynamicsWorld. Thanks Chunky.
2008-11-08 19:27:53 +00:00
erwin.coumans
3e9af21cec disable btActivatingCollisionAlgorithm 2008-11-08 17:14:13 +00:00
erwin.coumans
98e66fc1c7 fix issue with PosixThreadSupport on non-Apple platforms 2008-11-08 16:33:58 +00:00
erwin.coumans
f6dcf94f25 Reduce default memory pool sizes (will use heap on overflow anyway), fits better with iPhone and consoles
Debug drawer needs to iterate over all objects, not just active
2008-11-08 06:37:48 +00:00
erwin.coumans
1996004b01 removed a few unused variables 2008-11-08 05:29:19 +00:00
erwin.coumans
96aa18f12f don't align btVector3 for now (need to reconsider it) 2008-11-08 05:28:24 +00:00
erwin.coumans
cef40e5cce no 'const int' but inline for a few methods
remove redundant/unreachable 'breaks'
2008-11-08 05:27:26 +00:00
erwin.coumans
c3dfcd21bf add missing appTerrainDemo project/rc files 2008-11-07 21:41:51 +00:00