Commit Graph

494 Commits

Author SHA1 Message Date
ejcoumans
b70f5cda39 more demo cleanup 2007-11-01 06:01:07 +00:00
ejcoumans
f3424f491c cleanup memory in CcdPhysicsDemo, RagdollDemo, ConcaveDemo, BspDemo (work in progress) 2007-11-01 05:50:50 +00:00
ejcoumans
a146bbc293 more memory leak fixes in demo and btSimpleBroadphase.
- deleting object (END key) needs to release
- call destructor of pair cache
2007-10-31 08:17:48 +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
42fc5b37cc fixed drawing issue with new AllInOne demos, glClear/glutSwapBuffers was called twice each frame. 2007-10-31 04:39:45 +00:00
ejcoumans
c36133cbd5 - removed obsolete/unused method in btTransform.h
- enable pause mode in AllBulletDemos.
- allow verbose output of time stepping in CcdPhysicsDemo
2007-10-27 00:17:20 +00:00
ejcoumans
1b7e5ad638 updated Raytracer demo, to enable non-world ray test
disable USE_WORLD_RAYCAST to see low level method to do ray testing, using one of the convex casting methods (tracing a point against a convex)
2007-10-26 21:40:57 +00:00
ejcoumans
fd1e672fcb updated demos to show debug display with new AllBulletDemos (AllInOne),
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +00:00
ejcoumans
2a75e186ec updated CMake buildfiles 2007-10-25 05:31:34 +00:00
ejcoumans
d17a8dae0e updated autogenerated msvc projectfiles, moved destructor in CPP file, it was causing some random crash under msvc 6.0 (todo find out why) 2007-10-25 05:11:19 +00:00
ejcoumans
5f5dfcf6b8 added btGetVersion(), return integer without the fraction: for example 2.64 returns 264.
moved more demos into AllBulletDemos
2007-10-25 04:37:48 +00:00
ejcoumans
7c5fbb9fbd added main.cpp 2007-10-24 02:00:42 +00:00
ejcoumans
5e343b54b2 updated GimpactTestDemo into AllBulletDemos 2007-10-24 02:00:27 +00:00
ejcoumans
9ffadec490 updated CMake file 2007-10-23 05:50:45 +00:00
ejcoumans
ce0ce3b135 updated AllBulletDemo 2007-10-23 05:46:16 +00:00
ejcoumans
aa28f8c223 Updated allbulletdemos glui framework, to work better with DemoApplication. 2007-10-23 02:22:18 +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
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
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
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
53b77629b8 updated cmake build 2007-10-21 05:17:28 +00:00
ejcoumans
095f5f42a9 allow some existing demos to run in the TestFrameWork 2007-10-21 04:22:43 +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
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
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
b0627e30cf moved Bullet COLLADA Convert into Extras folder, instead of embedded in the ColladaDemo 2007-10-12 07:39:04 +00:00
ejcoumans
0af676a2c5 make MSVC 6 compile 2007-10-12 06:44:56 +00:00
ejcoumans
b0744efbce fixed demo, accidently committed some testing configuration 2007-10-12 06:16:23 +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
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
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
8faebb4c1c moved btGenericPoolAllocator to GIMPACT, updated jamfiles/buildsystem 2007-09-30 03:16:47 +00:00
ejcoumans
86bdc2f6c2 reverted shapedrawer (incompatible drawing with ConcaveDemo and VehicleDemo), made GimpactTestDemo build under OS X 2007-09-30 02:29:09 +00:00
ejcoumans
fcfdb96e54 demo for testing GIMPACT 0.3, thanks to Francisco Leon for the update. GIMPACT demo/build system will be fixed today. 2007-09-30 00:09:32 +00:00
ejcoumans
65b9fbe16e More patches from Francisco Leon, will be tested multi-platform etc. today 2007-09-30 00:08:07 +00:00
ejcoumans
876ddcfd76 fixes for demo, jamfile 2007-09-20 06:16:14 +00:00
ejcoumans
bbb88e67fb i duplicate (msvc6) 2007-09-20 06:00:08 +00:00
ejcoumans
63cd9618be added Dev0's GIMPACT test/demo 2007-09-20 05:30:21 +00:00
ejcoumans
f50f3ad722 fix for restitution
added preliminary continuous dynamics world (under construction, not ready yet)
fix crash on when restarting simplex demo using spacebar, Thanks Jorrit Tyberghein for reporting!
2007-09-20 05:24:03 +00:00
ejcoumans
a0e92efebb more fixes in serialization/BVH/endianness 2007-09-19 23:04:37 +00:00
ejcoumans
339917a9eb added Jamfile for GenericJointDemo 2007-09-19 02:03:56 +00:00
ejcoumans
f7117466a2 add support for the <interpenetrate>, which disables collisions between two bodies linked by a constraint. 2007-09-18 04:51:26 +00:00
ejcoumans
95da04bea9 use SIMD_HALF_PI instead of M_PI_2 2007-09-13 08:07:45 +00:00