Commit Graph

259 Commits

Author SHA1 Message Date
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
ejcoumans
42cda1692d update version, cmake, ColladaDemo 2007-09-13 07:54:57 +00:00
ejcoumans
7f5823ee16 updated ragdoll demo/Jamfile 2007-09-13 07:26:54 +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
a7841c7775 rewrote vector/quadword storage, it was incompatible with gcc compiler (causing some run-time problems) 2007-09-11 20:40:55 +00:00
ejcoumans
edbc5a932c minor fixes for Mac OS X compilation 2007-09-11 07:40:18 +00:00
ejcoumans
ca5b68e9b8 added generic joint demo, by Francisco Leon 2007-09-11 07:05:13 +00:00
ejcoumans
11cfbc489d upgraded version, fixed compiling issues 2007-09-10 01:25:09 +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
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
89272639e9 added IBM Cell SDK 2.1 makefile 2007-08-13 04:25:46 +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
60d7d4b073 quantization/compression is now allowed for btTriangleMesh containers and btBvhTriangleMeshShape 2007-08-08 16:29:40 +00:00
ejcoumans
b6cd61a5e1 preparation for multi SAP broadphase 2007-08-03 01:39:36 +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
8a1d556e93 moved Bullet-C-Api.h to src, rather then include. 2007-08-02 06:41:24 +00:00
ejcoumans
574aad98bc Updated BulletDino.c demo, to test C-API. 2007-08-02 06:09:35 +00:00
ejcoumans
871521dd6a updated CMake build for btUniformScalingShape/btConvexInternalShape 2007-07-28 21:31:32 +00:00
ejcoumans
177b6f5ce2 Added btUniformScalingShape (including support for debug rendering etc)
This allows to re-use a convex shape, while each instance can re-scale it (with a uniform scalar factor)
2007-07-28 19:20:45 +00:00
ejcoumans
2d038c8f49 added RagdollDemo (needs a bit more work, the initial constraint setup 'flips') 2007-07-27 20:23:54 +00:00
ejcoumans
121fd7808e Changed BulletMultiThreaded Thread Support to be passed in, rather then global 'Win32ThreadSupport'/'Libspe2ThreadSupport' etc.
This allows developer to hookup Bullet to a custom task scheduler, by deriving from btThreadSupportInterface.
2007-07-09 03:21:33 +00:00
ejcoumans
5c80ff1f7d improved performance by adding constructors to btTransform/btMatrix3x3 to avoid conversions, compoundshape returns const references (instead of duplicate objects)
Thanks Marten Svanfeldt, Starbreeze Studios
2007-07-05 23:48:05 +00:00
ejcoumans
5f8873c339 support diamondsubdivision (thanks Jay for contribution)
support user-defined broadphase collision filtering (thanks Marten)
make sure btSimpeDynamicsWorld doesn't use cache friendly optimization in the solver (added an assert, and updated BasicDemo)
2007-06-29 22:13:15 +00:00
ejcoumans
e33f5390dd added patch from Marten Svanfeld to pass collision filter group/mask in addRigidbody. 2007-06-29 19:37:30 +00:00
ejcoumans
cad28a8b35 allow for float data, and prepare for 'quad edge flip', either re-use the first triangle vertex, or second (re-use index 00 or 01) 2007-06-27 19:56:18 +00:00
ejcoumans
9099d6bed5 updated vehicle demo to load heightfield data from file 2007-06-27 19:12:09 +00:00
ejcoumans
0ef218424c enable general drawing of concave meshes for heightfields/planes, not just trianglemeshes 2007-06-27 03:27:13 +00:00
ejcoumans
59cb275c9c basic support for height fields. They are producing temporary triangles, similar to the plane shape.
VehicleDemo demonstrates heightfield support.
2007-06-27 03:21:00 +00:00
ejcoumans
40a6009342 need to register 'triangle sphere' collision algorithm with types in right order.
Thanks Stephen Marshall for pointing this out.
2007-06-22 17:40:57 +00:00
ejcoumans
980f03dc3d upgrade to GIMPACT 0.2 2007-06-22 17:32:28 +00:00
ejcoumans
718b73371f removed 'processAllTrianglesBruteForce'
autogenerated new visual studio projectfiles
2007-06-14 13:06:05 +00:00
ejcoumans
f4d31a2dd8 unknown issue with dma size, need to investigate deeper (had to increase target buffer size to avoid crashes) 2007-06-13 23:18:04 +00:00
ejcoumans
effb5a8b62 added brute-force triangle iteration method, to allow graphics to skip aabb traversal (useful for debugging) 2007-06-13 22:35:14 +00:00