Commit Graph

438 Commits

Author SHA1 Message Date
johnmccutchan
f593b6001f Add support for batch raycast to ConcaveRaycastDemo. Disabled by default. 2008-01-14 23:50:10 +00:00
johnmccutchan
15cdd9de8e Rename btCollisionWorld::convexTest to btCollisionWorld::convexSweepTest. The new test sweeps the convex shape against all objects in the world taking into account the orientation specified in the from and to transformations. 2008-01-11 20:18:29 +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
4a3c2506d4 fixed cmake/jam for HelloWorld sample 2007-12-15 02:42:33 +00:00
ejcoumans
a77fca6394 add printing of worldpos in HelloWorld.cpp 2007-12-15 02:28:39 +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
b29330b19d added MultiThreadedDemo to AllBulletDemos 2007-12-14 07:57:20 +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
9e25108b06 use freeglut by default under Windows 2007-12-14 02:48:53 +00:00
ejcoumans
051efde77a Added HelloWorld application: minimal demo showing construction, stepping and deletion of a dynamics world. 2007-12-14 01:21:02 +00:00
ejcoumans
a7e04dbdc2 Added faster and more robust support for btStaticPlaneShape 2007-12-11 23:13:29 +00:00
johnmccutchan
66cdbb9659 Fixes for IBM Cell SDK 3.0 by Jochen Roth 2007-12-11 19:49:09 +00:00
ejcoumans
0bf152cabe fixes in btCollisionWorld and Raytracer, to allow 'all hits' (work in progress) 2007-12-11 03:02:47 +00:00
ejcoumans
a537fb68b6 fixes in btCollisionWorld and Raytracer, to allow 'all hits' (work in progress) 2007-12-11 03:00:53 +00:00
ejcoumans
f1be4ab221 only update aabb of active objects, thanks Peter Tchernev for reporting (http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
move debug aabb rendering from updateAabb to debugDrawWorld
2007-12-10 02:18:38 +00:00
johnmccutchan
513a055035 Use proper rotation for computing local aabb for convex cast shape.
Propagate hit point from convex caster to world callback [work in progress].
2007-12-07 21:22:38 +00:00
ejcoumans
68af58c09d demo cleanup part 6, basic demo more self contained 2007-12-07 19:56:42 +00:00
ejcoumans
a4bc26544c add support for generic concave shapes for convex cast.
minor improvement in ray cast demo.
Thanks John McCutchan (JMC)
2007-12-07 19:21:16 +00:00
ejcoumans
9447dfdcfb demo cleanup part 5, fixed memory leaks in ConstraintDemo 2007-12-07 06:24:19 +00:00
ejcoumans
c1a2debd3b demo cleanup part 4 (fixed leaks in vehicle demo) 2007-12-07 02:12:00 +00:00
ejcoumans
8a28c7940a demo cleanup part 3 (fixed memory leaks in raytracer demo and linear convex cast demo) 2007-12-07 01:33:40 +00:00
ejcoumans
e5720170f0 demo cleanup part 2 (gimpact memory leaks) 2007-12-07 01:21:37 +00:00
ejcoumans
2e4912b67a demo cleanup part 1 2007-12-07 00:27:30 +00:00
ejcoumans
71fb40b775 some demo cleanup, part 0 2007-12-06 23:58:50 +00:00
ejcoumans
c09923dc20 fixed issue with fixed rigid bodies: need to create with mass == 0 2007-12-06 04:44:04 +00:00
ejcoumans
4d260bb736 added new demos to build system, fixed timing report (is in milliseconds -> ms) 2007-12-06 03:05:57 +00:00
ejcoumans
6f80b98a67 - fix issue with convex cast: results further away (larger hitfraction) could overwrite closer results
- minor naming convention thing (variables start with lower case)
- renamed MotorDemo
- added ConcaveConvexcastDemo, Thanks John McCutchan (JMC)
2007-12-06 02:54:29 +00:00
ejcoumans
35d2ae870c added MotorControl demo, thanks to eddybox 2007-12-06 02:17:15 +00:00
ejcoumans
d2973ed48a added workaround for OpenGL bug in Mac OS X 10.5.0 (Leopard)
added concave raycast demo
Thanks to John Rowe (JMC)
2007-12-05 20:34:32 +00:00
ejcoumans
a64cc39faf Fixed issues that prevent Linux version to compile. Thanks to Enrico for reporting and patch, see
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1747
2007-12-04 02:22:05 +00:00
ejcoumans
638c6f42e1 Added ConcaveRaycastDemo, thanks to John Rowe (JMC) for the contribution! 2007-11-30 20:38:47 +00:00
ejcoumans
f2c9588969 Added raycast against trianglemesh. Will be extended to object cast soon.
Thanks John Rowe (JMC)
2007-11-29 21:24:51 +00:00
ejcoumans
e252f5cadd Bugfix: allow btCollisionObjects (non-btRigidBody) to interact properly with btRigidBody for cache-friendly btSequentialImpulseConstraintSolver.
Thanks Andy O'Neil for pointing this out.
2007-11-28 03:17:09 +00:00
ejcoumans
0da5790e5c small update on hierarchical timing integration 2007-11-21 03:49:23 +00:00
ejcoumans
cab75b53ec added hierarchical profiling (needs more cleanup)
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
89382c0dc4 refreshContactPoints() is not needed anymore, it is already done inside collisionWorld->performDiscreteCollisionDetection(); 2007-11-17 17:25:38 +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
a03e5d7a56 added main.o (main.cpp) in ibm cell sdk makefile 2007-11-05 07:28:53 +00:00
ejcoumans
e755d1ed4e added some comments, to clarify unit-test/brute force implementations. 2007-11-02 01:14:29 +00:00
ejcoumans
974ad5ac1b minor changes to make text better readable 2007-11-02 00:40:56 +00:00
ejcoumans
c3ac939a94 removed debug drawer, should be added externally (in main.cpp or in AllBulletDemos) 2007-11-01 23:44:50 +00:00
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