Commit Graph

879 Commits

Author SHA1 Message Date
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
8feabf889b fix in CMakeLists.txt 2007-12-15 03:33:23 +00:00
ejcoumans
81d781c1c5 updated ChangeLog.txt with recent improvements 2007-12-15 03:23:36 +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
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
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
051efde77a Added HelloWorld application: minimal demo showing construction, stepping and deletion of a dynamics world. 2007-12-14 01:21:02 +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
ejcoumans
947dc8d33d Moved the 'btRigidBody::clearForce' to the end of the stepSimulation, instead of in each substep.
Should help with this issue, reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1601
We can optionally leave out the 'clearForces'.
Thanks everyone for the discussion.
2007-12-12 02:53:51 +00:00
ejcoumans
210a913110 autogenerated msvc projectfiles (after adding btConvexPlaneCollisionAlgorithm to jam files) 2007-12-12 00:55:40 +00:00
ejcoumans
d963a41a6b added new btConvexPlaneCollisionAlgorithm to cmake build files 2007-12-11 23:48:30 +00:00
ejcoumans
4c69ee93e2 small improvement in btConvexPlaneCollisionAlgorithm 2007-12-11 23:35:37 +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
c1c01ff1a0 Use btContinuousConvexCollision instead of btGjkConvexCast (has issues in btCollisionWorld::objectQuerySingle)
Fixes in btHeightfieldTerrainShape, thanks Jay Lee.
2007-12-11 00:38:13 +00:00
ejcoumans
a45912e39c move updateAabbs from dynamics world to collision world 2007-12-10 02:59:04 +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
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
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
8f6bffe1f6 updated autogenerated projectfiles for new demos 2007-12-06 03:07:24 +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
d53f2875e5 minor fixes, only btBvhTriangleMeshShape should provide getShapeType(), add get methods for motor limits in btHingeConstraint. 2007-12-06 01:41:07 +00:00
ejcoumans
1245995c84 Added convex cast query to collision world.
Thanks to John McCutchan (JMC)
2007-12-06 00:51:24 +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