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
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
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
johnmccutchan
66cdbb9659
Fixes for IBM Cell SDK 3.0 by Jochen Roth
2007-12-11 19:49:09 +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
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +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
eb9429ad31
need to include btQuickprof.h, instead of btQuickProf.h (breaks case sensitive systems)
...
Thanks ola for reporting this!
2007-11-28 18:55:28 +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
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
f5fb2d77eb
fixed include path (don't use system include <>, but "" instead)
...
Thanks to Stephen (shatcher) for reporting!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1696&p=6412#p6412
2007-11-17 17:16:19 +00:00
ejcoumans
e755d1ed4e
added some comments, to clarify unit-test/brute force implementations.
2007-11-02 01:14:29 +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
fd1e672fcb
updated demos to show debug display with new AllBulletDemos (AllInOne),
...
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +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
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
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
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
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
118ac651dd
updated IBM Cell SDK makefiles
2007-10-03 00:42:18 +00:00
ejcoumans
7dbc60d931
need 10 iterations for now, accidently committed with 4 (for some benchmarking)
2007-09-25 07:07:41 +00:00
ejcoumans
811c105c24
align btQuadWord on 16byte boundary
...
slightly improved friction model
2007-09-25 06:58:53 +00:00
ejcoumans
a38de566c6
make sure aligned structures/classes use the btAlignedAlloc/btAlignedFree, by overriding the operator new/delete for that struct/class.
...
integrated some contributions from IBM Germany for libspe2
2007-09-25 06:41:57 +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
ab6accefda
add getPivotInA/getPivotInB
2007-09-13 07:45:49 +00:00
ejcoumans
0300e8fa12
Applied patch/contribution to improve btGeneric6DofConstraint. See also GenericJointDemo/Ragdoll.cpp
...
Thanks Francisco Leon/projectileman.
2007-09-13 07:22:40 +00:00
ejcoumans
15df0a7d7a
revert to previous version of constraint solver, until the memory allocation issues are sorted properly.
2007-09-10 19:19:52 +00:00
ejcoumans
ab33083a9c
make visual studio 6 compile/run (doesn't support 'long long int', so replace by char* pointers...
2007-09-10 01:53:07 +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
0f7193c0f8
fixed MSVC 6 build, thanks Proctoid, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1375
...
fixed double precision build issues, thanks Alex Silverman, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1434
2007-08-31 23:32:51 +00:00
ejcoumans
375e428910
updated IBM Cell SDK makefiles
2007-08-18 16:45:06 +00:00
ejcoumans
cdbc95c105
updated IBM Cell SDK makefiles, to use CELL_TOP
2007-08-18 16:36:21 +00:00
ejcoumans
e7304e6cec
added Makefiles for IBM Cell SDK 2.1, thanks to Bruce D'Amora, IBM Watson
2007-08-13 04:18:25 +00:00
ejcoumans
ec22825e65
added parallel solver (work in progress) and made modifications to demo/constraints to allow for getting the type without using virtual functions (needed on CELL SPU processors)
2007-08-12 17:27:33 +00:00
ejcoumans
e597eef059
updated version, cmake build, changelog
2007-08-03 05:41:23 +00:00
ejcoumans
1f7646f72a
Refactoring to enable multi SAP broadphase.
...
This was already planned, and Pierre Terdiman recent thread motivated me to decouple the paircache from the sweep and prune.
http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1329
2007-08-02 23:48:46 +00:00
ejcoumans
574aad98bc
Updated BulletDino.c demo, to test C-API.
2007-08-02 06:09:35 +00:00
ejcoumans
83395ccc9f
updated CMake build files
2007-07-28 21:38:14 +00:00
ejcoumans
0df4cedc3e
added 'getConstraintSolver' and ability to 'reset' (set randseeds back to zero, and clear internal caches)
2007-07-27 23:54:22 +00:00
ejcoumans
91caea166b
axis is column(2)
2007-07-27 22:38:05 +00:00
ejcoumans
fddd6c5721
remove accidental 'return'
2007-07-26 05:22:48 +00:00
ejcoumans
49aa535be9
updated to make projects compiler under double precision. GIMPACT compiles/links, but doesn't work properly.
2007-07-26 03:44:21 +00:00
ejcoumans
bf967a458a
applied patches from Marten (Starbreeze) for per-rigidbody sleeping thresholds, access to constraint references.
...
Also added assert, to make sure users don't delete rigidbodies while constraints point to them.
2007-07-26 00:16:06 +00:00
ejcoumans
685138d033
include paths should not be relative starting with "../
...
It leads to problems with certain compilers, when Bullet/src is located in a long pathname.
Keep include path starting with "LinearMath/, "BulletCollision/, or "BulletDynamics/
2007-07-14 05:08:57 +00:00
ejcoumans
2508cef2cf
removed prefix "btHingeConstraint::" in headerfile. Doesn't compile under all platforms. Thanks to Blender community for spotting this.
2007-07-06 20:30:55 +00:00