Commit Graph

320 Commits

Author SHA1 Message Date
johnmccutchan
7c40589831 Added full featured saving support including collision geometry and constraints. 2008-01-30 01:53:08 +00:00
ejcoumans
5c40e615bd make source compile under MinGW32
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
30e1c56520 fix doubleprecision build 2008-01-24 02:40:15 +00:00
ejcoumans
af85183a48 fixed to get MacOSX to compile, added new files to CMakeLists.txt 2008-01-23 23:13:31 +00:00
johnmccutchan
be0beaf7bd Refactored SpuGatheringCollisionTask to use code in SpuCollisionShapes.
More work on SpuBatchRaycaster. It is working now on the PS3 and Windows.
2008-01-14 23:44:07 +00:00
ejcoumans
6ba6805b43 bugfix: need to use returned address of cellDmaSmallGetReadOnly
Thanks John McCutchan for pointing this out. Affects non-Cell BulletMultiThreaded.
2008-01-12 00:07:39 +00:00
johnmccutchan
702323f27a Initial work on batch raycast support. 2008-01-08 23:38:33 +00:00
ejcoumans
abfe5c81f7 ADD_DEFINITIONS( -D_CRT_SECURE_NO_DEPRECATE) for COLLADA_DOM/CMakeLists.txt, so that msvc stop warning/complaining about sprintf etc. 2008-01-03 04:59:07 +00:00
ejcoumans
d051e2eacb First commit of 2008, Happy New Year!
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
17a214a2b3 - Added btRigidBodyConstructionInfo, to make it easier to set individual setting (and leave other untouched) during rigid body construction.
This was harder using default arguments. Thanks Vangelis Kokkevis for pointing this out.
- Fixed memoryleak in the ConstraintDemo and Raytracer demo.
- fixed issue with clearing forces/gravity at the end of the stepSimulation, instead of during internalSingleStepSimulation.
Thanks chunky for pointing this out: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1780
- Disabled additional damping in rigid body by default, but enable it in most demos. Set btRigidBodyConstructionInfo m_additionalDamping to true to enable this.
- Removed obsolete QUICKPROF BEGIN/END_PROFILE, and enabled BT_PROFILE. Profiling is enabled by default (see Bullet/Demos/OpenGL/DemoApplication.cpp how to use this).
User can switch off profiling by enabling define BT_NO_PROFILE in Bullet/src/btQuickprof.h.
2007-12-17 04:26:36 +00:00
ejcoumans
b8c2cb6f53 Stop MSVC 8/9 from moaning
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
2007-12-15 03:41:07 +00:00
ejcoumans
c09a09d169 replaced cellDmaSmallGet by mfc command 2007-12-15 03:03:09 +00:00
ejcoumans
61ffa6a1b5 Updated cmake files, added header files, Thanks John McCutchan
re-autogenerated msvc projectfiles with new HelloWorld/BulletMultiThreaded Demo 
Minor fixes
2007-12-15 02:48:24 +00:00
ejcoumans
6dff743d68 Cleanup some #defines in parallel collision detector, add conditional freeglut support to return from glutMainLoop. 2007-12-15 00:40:34 +00:00
ejcoumans
335c79a2a2 added CMake support for AllBulletDemos 2007-12-14 08:35:35 +00:00
ejcoumans
c5e6044e53 added MultiThreadedDemo 2007-12-14 07:17:35 +00:00
ejcoumans
d7354e5387 get SequentialThreadSupport to compile on the Mac 2007-12-14 06:21:51 +00:00
ejcoumans
38349b5af4 add freeglut (work in progress) 2007-12-14 01:46:49 +00:00
ejcoumans
961c38269b Added address to debug memory allocator
Renamed 'free' in 'freeMemory' to avoid name clashes with some Microsoft debugging tools.
2007-12-14 01:45:13 +00:00
ejcoumans
599579803e Added portable non-parallel implementation for btThreadSupportInterface: SequentialThreadSupport, Thanks John McCutchan (JMC)
Added CMake support for BulletMultiThreaded.
2007-12-13 03:47:47 +00:00
ejcoumans
8d10a6ba1d Fix friction and restitution in BulletMultiThreaded (collision detection and parallel solver)
Thanks to lsgmasa for reporting, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1758
2007-12-12 03:41:35 +00:00
johnmccutchan
66cdbb9659 Fixes for IBM Cell SDK 3.0 by Jochen Roth 2007-12-11 19:49:09 +00:00
ejcoumans
bf5a4a7d39 added workaround to compile libxml under Visual Studio 2008 Beta 2 2007-12-10 00:44:18 +00:00
ejcoumans
a34f229ad3 make glui compile under MSVC 9.0 beta (vsnprintf is already defined) 2007-12-10 00:33:19 +00:00
ejcoumans
e5720170f0 demo cleanup part 2 (gimpact memory leaks) 2007-12-07 01:21:37 +00:00
ejcoumans
58014b9848 2007-11-21 04:01:12 +00:00
ejcoumans
cab75b53ec added hierarchical profiling (needs more cleanup)
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
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