Commit Graph

782 Commits

Author SHA1 Message Date
ejcoumans
ec76f2e0a3 - keep track of all memory allocations (gNumAllignedAllocs/gNumAllignedFree)
All memory allocations in Bullet go through btAlignedAlloc/btAlignedFree
Fix in hinge constraint constructors, thanks Marcus Hennix!
2007-10-22 22:23:10 +00:00
ejcoumans
1b70c4e5c9 added preliminary broadphase/collision C-API 2007-10-21 22:52:11 +00:00
ejcoumans
c80d1532f6 made access to mesh interface more consistent, so btConvexTriangleMeshShape uses also 'getMeshInterface', similar to btTriangleMeshShape.
Thanks Et3D for pointing this out here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1590
2007-10-21 21:04:04 +00:00
ejcoumans
b888f2d994 updated autogenerated msvc projectfiles 2007-10-21 06:08:13 +00:00
ejcoumans
c30a26e990 moved demo files 2007-10-21 06:05:42 +00:00
ejcoumans
ed342ede3b moved FrameWork into Demos folder 2007-10-21 05:59:16 +00:00
ejcoumans
554d2c7e15 update Jamfile.in to add Examples folder 2007-10-21 05:36:33 +00:00
ejcoumans
c890560063 upgrade version 2007-10-21 05:22:12 +00:00
ejcoumans
53b77629b8 updated cmake build 2007-10-21 05:17:28 +00:00
ejcoumans
a6d1b74568 renamed FrameWork to AllBulletDemos 2007-10-21 05:07:30 +00:00
ejcoumans
e56ac06fe2 added support for FrameWork demo running CcdPhysicsDemo,BasicDemo,BspDemo 2007-10-21 04:59:55 +00:00
ejcoumans
095f5f42a9 allow some existing demos to run in the TestFrameWork 2007-10-21 04:22:43 +00:00
ejcoumans
85b4b149b7 missed one dynamicCast 2007-10-21 03:15:14 +00:00
ejcoumans
11a0589732 removed the need for RTTI/runtime type checking/dynamic_cast in glui. It is unnecessary to overhaul the build systems just for this feature. Replaced by upcasting virtual methods
if ( !dynamic_cast<GLUI_Rollout*>(this) &&
becomes
if ( !this->dynamicCastGLUI_Rollout() &&
etc.
2007-10-21 03:02:11 +00:00
ejcoumans
fb1a4bd37e for now use default GLUT, we check out freeglut later 2007-10-20 16:28:16 +00:00
ejcoumans
49d9b14b14 fixed optional lib dependency in Jam build system for Extras/boxbox and Extras/quickstep 2007-10-20 15:35:36 +00:00
ejcoumans
e7caaa28d3 re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators. 2007-10-20 02:23:39 +00:00
ejcoumans
1e4e52306f don't crash when running out of pool memory, just use btAlignedAlloc/btAlignedFree instead 2007-10-19 21:25:58 +00:00
ejcoumans
c625e756fe replaced btSimdMinMax.h by btMinMax.h in a few remaining places 2007-10-19 20:48:06 +00:00
ejcoumans
dbe502c5a8 prepare for Box2D style gui demo 2007-10-18 06:37:36 +00:00
ejcoumans
8f7b132d23 add glui library 2007-10-18 04:59:58 +00:00
ejcoumans
830c096e10 added a cellDmaLargeGetReadOnly/cellDmaGetReadOnly, which avoid memcpy on non-SPU platforms.
enabled it for triangle mesh aabb DMA transfers. Todo: check if it is worth also modifying other parts of the code to avoid the memcpy into the 256kb Task memory.
2007-10-16 23:58:26 +00:00
ejcoumans
239d88985f fix for heightfield, thanks SMJ/Spangle and Jay Lee for testing.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1482
2007-10-16 21:57:05 +00:00
ejcoumans
b5a498e8bf add get method for persistent manifold 2007-10-16 20:00:34 +00:00
ejcoumans
6303d98844 - use mfc directly, instead of cellDmaSmallGet (allow sizes under 32 bytes, instead of 16)
- align btBroadphaseProxy to 16 bytes
2007-10-16 00:52:23 +00:00
ejcoumans
1d8a2539dc updated fact that 2.63 contains working Libspe2 version 2007-10-15 06:25:08 +00:00
ejcoumans
057d09eef4 added build instructions for BulletSpuLibspe2 2007-10-15 06:16:13 +00:00
ejcoumans
6797ee41cb updated BulletMultiThreaded Libspe2 version, it now runs parallel collision detection properly on IBM Cell SDK 2.1, with Playstation 3 Linux on SPUs. 2007-10-15 05:45:12 +00:00
ejcoumans
23921729ea adding padding to broadphase proxy, to make it 16 bytes (helps some platforms to run) 2007-10-15 02:35:55 +00:00
ejcoumans
e13cbe06ba removed unnecessary files from Libspe2 Makefile 2007-10-15 01:18:32 +00:00
ejcoumans
31f1ba8e47 Added support for IBM CELL SDK (Playstation 3 Linux, CellBlade) SPU Libspe2 compilation/linking. It runs but gives a bus-error, so some DMA alignment issue is still there.
This is interesting, because the same code runs fine on Playstation 3 with the Game SDK.
2007-10-15 01:07:49 +00:00
ejcoumans
ffcdb0f93d BulletMultiThreaded needs to refreshContactPoint for contact manifold (this has been moved to the collision detector, instead of constraint solver)
BulletMultiThreaded support function for box shouldn't compensate for the collision margin anymore
2007-10-14 01:51:07 +00:00
ejcoumans
43b0ecd71a 2007-10-14 00:39:01 +00:00
ejcoumans
71abe4aeca reduced number of sphere in Basic demo, some system have slow rendering of spheres.
removed another warning.
2007-10-14 00:18:49 +00:00
ejcoumans
913b141c23 fix some warning, need virtual destructor 2007-10-14 00:12:22 +00:00
ejcoumans
1a926dac9c removed obsolete GIMPACT 0.2 docs 2007-10-14 00:05:04 +00:00
ejcoumans
715611060d integrated StressTest into BasicDemo. 2007-10-14 00:03:10 +00:00
ejcoumans
ea3dfb4ca3 made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514
- applied a large patch to remove warnings
Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568
- removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight
- disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
2007-10-13 23:41:37 +00:00
ejcoumans
0aff20fc94 fixed issue, double precision doesn't compile with SSE 2007-10-12 08:23:43 +00:00
ejcoumans
14171b1c05 autogenerated MSVC projectfiles with new LibBulletColladaConverter 2007-10-12 08:03:35 +00:00
ejcoumans
b0627e30cf moved Bullet COLLADA Convert into Extras folder, instead of embedded in the ColladaDemo 2007-10-12 07:39:04 +00:00
ejcoumans
ca24f9941e updated files for GIMPACT Cmake build 2007-10-12 07:12:55 +00:00
ejcoumans
9e530a005c make parallel solver compile on MSVC 6 2007-10-12 06:59:59 +00:00
ejcoumans
0af676a2c5 make MSVC 6 compile 2007-10-12 06:44:56 +00:00
ejcoumans
01823a3b1c updated changes in ChangeLog.txt 2007-10-12 06:39:10 +00:00
ejcoumans
7a1e53935f make MSVC 6 compile, remove 'int i' out of the for loops 2007-10-12 06:34:01 +00:00
ejcoumans
b0744efbce fixed demo, accidently committed some testing configuration 2007-10-12 06:16:23 +00:00
ejcoumans
62103c94de fixed growing of hash table, to avoid hard limit on overlapping pairs 2007-10-12 05:53:27 +00:00
ejcoumans
eff4fe8ec8 more work on hashed pairmanager. growing doesn't work yet, so need to allocate enough room for the overlapping pairs in advance.
boxbox reports contact point in B, rather then average point
box, cylinder use halfextents corrected for scaling and margin. made the margin in this halfextents explicit in the 'getHalfExtentsWithMargin' and 'getHalfExtentsWithoutMargin'
integrated changed for ODE quickstep solver
replaced inline with SIMD_FORCE_INLINE
some minor optimizations in the btSequentialImpulseConstraintSolver

added cone drawing (for X,Y,Z cones)
2007-10-12 02:52:28 +00:00
ejcoumans
1baa61bc8d function isn't inline 2007-10-11 03:39:49 +00:00