Commit Graph

769 Commits

Author SHA1 Message Date
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
ejcoumans
52eb5fa1a4 don't use multisap yet in basic demo.
fix crash in multi sap (due to new pair manager)
2007-10-11 03:32:37 +00:00
ejcoumans
0405ce278a use size_t instead of int, for allocator
added hashtable based PairManager, thanks Pierre Terdiman and Erin Catto
improved friction in 'cachefriendly' solver
moved 'refreshcontactpoints' into collision detection, instead of solver
avoid linear search for contact manifolds, by storing an index
ignore margin for sphere shape (its entire radius is already margin)
avoid alignment checks in BVH serialization, they don't compile on 64-bit architectures
made 'bomb' box more heavy
2007-10-11 03:17:54 +00:00
ejcoumans
bb89cbcf08 quickstep improvements, thanks to Remotion
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1557
2007-10-11 03:07:11 +00:00
ejcoumans
118ac651dd updated IBM Cell SDK makefiles 2007-10-03 00:42:18 +00:00
ejcoumans
23a197b3dc add alignment for broadphase proxy/handle. need to benchmark this, and check it doesn't degrade the performance on other platforms. Otherwise make it conditional only when USE_LIBSPE2 is defined 2007-10-03 00:41:55 +00:00
ejcoumans
cc9a42d4e3 update build for IBM Cell SDK 2007-10-03 00:38:08 +00:00
ejcoumans
0de474907c updated/added Cell SPU demo for IBM Cell SDK 2007-10-03 00:37:16 +00:00
ejcoumans
23f07df420 added Makefile for the IBM Cell SDK 2.1 (need to review the build system for this architecture with PPU and SPU etc) 2007-10-01 04:26:42 +00:00
ejcoumans
1d43b5ebae changed default stack size to 2 MB. This is still overly conservative probably. Need some deeper investigation on default memory sizes... 2007-09-30 04:43:34 +00:00
ejcoumans
9a427a4ad9 make GIMPACT compile under MSVC 6 2007-09-30 03:40:44 +00:00
ejcoumans
150f7f704b pass vector by reference (alignment) 2007-09-30 03:33:12 +00:00
ejcoumans
feeac1b6dc re-autogenerated msvc projectfiles 2007-09-30 03:18:28 +00:00
ejcoumans
8faebb4c1c moved btGenericPoolAllocator to GIMPACT, updated jamfiles/buildsystem 2007-09-30 03:16:47 +00:00