Commit Graph
393 Commits
Author SHA1 Message Date
ejcoumans 56c69bc42e - stop threads when exiting demo that uses multi threading
- improved friction model for parallel solver (align the friction direction with projected velocity, unless the projection is close to zero (only then use 2 arbitrary axis orthogonal to contact normal)
2007-11-11 22:48:08 +00:00
ejcoumans 232f41353f fixed issue with BulletMultiThreaded parallel solver friction constraint initialization, and removed unused velocityImpulse. 2007-11-11 18:39:47 +00:00
ejcoumans dd934ebd02 modified Jamfile for GIMPACT, to properly install headerfiles 2007-11-08 17:57:04 +00:00
ejcoumans 126f46cb99 attempt to try to 'install' the headers of GIMPACT 2007-11-07 12:35:57 +00:00
ejcoumans 12c39a9d9f fixes in glui.h, forward declare classes 2007-11-05 07:38:22 +00:00
ejcoumans a101719687 - removed warnings in GLUI, thanks Jorrit Tyberghein for the patch!
- removed memory leaks from BasicDemo and Bullet library (other demos needs to be cleaned up!)
- added memory leak debugging functionality in btAlignedAlloc.h: #define BT_DEBUG_MEMORY_ALLOCATIONS
2007-10-31 08:00:03 +00:00
ejcoumans 550c500ca7 Set debug drawer for demo
Fixed issue with toggle of activation in the DemoApplication
added hint/todo for Win32ThreadSupport
2007-10-23 01:16:31 +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 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 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 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 e13cbe06ba removed unnecessary files from Libspe2 Makefile 2007-10-15 01:18:32 +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 1a926dac9c removed obsolete GIMPACT 0.2 docs 2007-10-14 00:05:04 +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 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 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 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 cc9a42d4e3 update build for IBM Cell SDK 2007-10-03 00:38:08 +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 8faebb4c1c moved btGenericPoolAllocator to GIMPACT, updated jamfiles/buildsystem 2007-09-30 03:16:47 +00:00
ejcoumans e1dad42e43 updated buildsystem 2007-09-30 02:28:26 +00:00
ejcoumans 78fe8b7249 initial upgrade to GIMPACT 0.3, thanks to Francisco Leon for the update. GIMPACT demo/build system will be fixed today. 2007-09-30 00:05:52 +00:00
ejcoumans c98a678c9a Makefile to create SPU elf and PPU lib for libspe2 parallel Cell SPE support. Contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:44:33 +00:00
ejcoumans 29dd9681f4 Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:43:51 +00:00
ejcoumans 5ebab3e59b Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:37:25 +00:00
ejcoumans dae8b658da Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:36:31 +00:00
ejcoumans 0ff4444118 Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:35:47 +00:00
ejcoumans b2b2ea71c6 Added libspe2 support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:33:56 +00:00
ejcoumans 811c105c24 align btQuadWord on 16byte boundary
slightly improved friction model
2007-09-25 06:58:53 +00:00
ejcoumans 12e2a5c57c BoxBoxCollisionAlgorithm needs to use dispatcher for memory allocation 2007-09-22 00:04:37 +00:00
ejcoumans 08d036afc7 multi-threading improvements: optionally use software caching (IBM/PS3), move some code from cpp to header to inline. 2007-09-20 22:42:56 +00:00
ejcoumans 0bf8124668 added quickstep improvements, to allow for constraints (point to point etc).
Thanks Francisco Leon/projectileman
2007-09-13 07:44:05 +00:00
ejcoumans b054f375bc - Added serialization to btBvhTriangleMeshShape/btOptimizedBvh. See ConcaveDemo for example usage.
- added bt32BitAxisSweep3, which co-exists without recompilation, using template class. This broadphase is recommended for large worlds with many objects (> 16384), until btMultiSwap is finished.
- Fixed some recent issues in Bullet 2.57 related to compound (thanks Proctoid) and memory allocations
2007-09-10 01:14:42 +00:00
ejcoumans 87df3d0f32 Based on feedback from another professional game company, there are several improvements, including some API change...
Some dynamic memory allocations have been replace by pool allocation or stack allocations.
quantized aabb versus quantized aabb overlap check is made branch-free (helps a lot on consoles PS3/XBox 360)
Collision algorithms are now created through a new btDefaultCollisionConfiguration, to decouple dependency (this is the API change):
Example:
	btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
	m_dispatcher = new	btCollisionDispatcher(collisionConfiguration);
2007-09-08 05:40:01 +00:00
ejcoumans fa2be67e8a added preferred direction, to improve penetration depth quality (better matching collision normal) for triangle meshes. 2007-08-22 01:09:48 +00:00
ejcoumans dbdc2a812f converted files to UNIX EOL 2007-08-21 04:06:39 +00:00
ejcoumans 4171d02b99 patch to allow building of SPU version 2007-08-21 03:41:42 +00:00