Commit Graph
100 Commits
Author SHA1 Message Date
ejcoumans 4171d02b99 patch to allow building of SPU version 2007-08-21 03:41:42 +00:00
ejcoumans c499abbb4a forgot to add Make.* files 2007-08-20 20:28:16 +00:00
ejcoumans e8ae7ddf85 minor change in changelog 2007-08-18 16:49:21 +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 c29b961cde updated work-in-progress PS3 Linux makefiles, clarified license for optional external libraries 2007-08-18 16:15:09 +00:00
ejcoumans ecb6c967d1 updated changelog with bug 2007-08-18 15:16:34 +00:00
ejcoumans fd67de47d3 fixed bug in GIMPACT, thanks Thomas, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1368 2007-08-18 15:11:53 +00:00
ejcoumans b829bd1a32 fixed typo in name, thanks Marten Svanfeldt 2007-08-16 21:41:48 +00:00
ejcoumans d66ddebb3b accidently overwrite the most recent version of README by an older one. 2007-08-16 20:19:12 +00:00
ejcoumans f41521e335 patched makefile for tests, thanks to Kazunori Asayama 2007-08-16 05:43:06 +00:00
ejcoumans b706ea5dfd applied patch to improve build system 2007-08-16 05:30:23 +00:00
ejcoumans dae4a77589 Sony approved and provided an update to vec_types.h to use the BSD license. 2007-08-15 20:19:18 +00:00
ejcoumans 36f14c0445 updated ChangeLog.txt with new parallel constraint solver 2007-08-15 15:37:45 +00:00
ejcoumans 63d349ad5e don't create an empty algorithm when not searching, thanks Marten SvanFeldt for pointing this out 2007-08-15 15:33:56 +00:00
ejcoumans b2c29342fa removed obsolete files 2007-08-15 05:35:45 +00:00
ejcoumans 6b0a3f081c added tests for Vector Math, modified Makefile, added helper include files 2007-08-15 04:54:27 +00:00
ejcoumans b43b8f0f75 - added 'init' function for DoubleBuffer, in case constructor is not called.
- use proper transform for concave case
thanks Marten for the patch
2007-08-15 04:16:25 +00:00
ejcoumans 635632acf9 initialize m_islandTag1/m_companionId, thanks Marten 2007-08-13 20:53:02 +00:00
ejcoumans 620b67b752 some changes towards libspe2 support 2007-08-13 04:27:36 +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 7834825a43 added parallel constraint solver (for CELL Spu and multi-core, work in progress)
Thanks Marten Svanfeldt/Starbreeze Studios for the contribution
2007-08-12 17:39:15 +00:00
ejcoumans f19bc68408 fixed Win32 Threaded, by waiting for multiple objects (it was re-using the same task all the time)
Thanks Marten Svanfeldt (Starbreeze Studios) for the fix
2007-08-12 17:37:36 +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 37e2b3db0a updated README with more details 2007-08-10 16:13:26 +00:00
ejcoumans fd0f7da56b updated README with more details 2007-08-10 16:11:51 +00:00
ejcoumans 485d59c24b removed C++ style comments from license file 2007-08-09 16:26:11 +00:00
ejcoumans ecaca83f8b removed comments from LICENSE file 2007-08-09 16:25:29 +00:00
ejcoumans 60d7d4b073 quantization/compression is now allowed for btTriangleMesh containers and btBvhTriangleMeshShape 2007-08-08 16:29:40 +00:00
ejcoumans d7dcd1f626 updated projectfiles 2007-08-03 06:23:23 +00:00
ejcoumans e597eef059 updated version, cmake build, changelog 2007-08-03 05:41:23 +00:00
ejcoumans 7c0abad041 added aabb overlap check for multi SAP broadphase 2007-08-03 01:48:34 +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 5279f9e129 BulletMultiThreaded (SPU/multi-core): added compound shape support and concave-convex (swapped case). Thanks to Marten Svanfeldt 2007-08-02 20:16:58 +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 30ffcbb5fe updated projectfiles (added btUniformScalingShape and btConvexInternalShape) 2007-07-28 21:51:00 +00:00
ejcoumans 153d6000d1 removed temp files 2007-07-28 21:44:02 +00:00
ejcoumans 83395ccc9f updated CMake build files 2007-07-28 21:38:14 +00:00
ejcoumans 871521dd6a updated CMake build for btUniformScalingShape/btConvexInternalShape 2007-07-28 21:31:32 +00:00
ejcoumans 38b7f474c3 Added better support for btUniformScalingShape, by moving some data that is not shared from btConvexShape to btConvexInternalShape. This reduces the sizeof btUniformScalingShape to 16 bytes (from 64).
This is good when having lots of re-used shapes with different sizes.

Convex shapes will need to derive from btConvexInternalShape (which is a subclass of btConvexShape). We could have renamed btConvexShape to 'btConvexShapeInterface' (can still do that later)
2007-07-28 21:10:21 +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 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 a1fabc4b91 ray hitnormal is already in worldspace for convex objects, but not for trianglemeshes (ray is transformed in local space) 2007-07-27 23:52:33 +00:00
ejcoumans c57c863112 updated version 2007-07-27 23:04:40 +00:00
ejcoumans 91caea166b axis is column(2) 2007-07-27 22:38:05 +00:00
ejcoumans 3ce04b6940 updated projectfiles 2007-07-27 21:27:47 +00:00
ejcoumans 9eea8dce9b updated changelog 2007-07-27 20:53:41 +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 3cbf8b232f added LICENSE and README 2007-07-27 19:31:37 +00:00
ejcoumans 7954409374 added LICENSE and README 2007-07-27 19:16:56 +00:00
ejcoumans 2cb66e1aa6 update vectormath to be 32bit PPU architecture 2007-07-27 19:07:09 +00:00
ejcoumans f360dd27d6 added updated version of simdmathlibrary-1.0.1 2007-07-27 18:53:58 +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 9803a78140 add stdc++ to linker 2007-07-25 06:47:19 +00:00
ejcoumans 4508d3c612 added very quick/basic testfile+Makefile for vectormath under PS3 Linux 2007-07-25 06:42:20 +00:00
ejcoumans 1a2a43d0ab replaced alignment to use __declspec(align(16)) class VecIdx, instead of aligning the members __m128 &ref __attribute__ ((aligned(16))); 2007-07-25 05:39:14 +00:00
ejcoumans 744f287935 added SSE version of vectormath 2007-07-24 23:18:11 +00:00
ejcoumans f998250c58 Added vectormath library, the open source version. Currently, PowerPC PPU, Cell SPU and a scalar version is available.
An SSE port of vectormath might become available too.
2007-07-23 23:38:46 +00:00
ejcoumans 8a4649d78f added missing file 2007-07-23 17:04:04 +00:00
ejcoumans 7529cdb3f6 Added SCE SIMD math library in Extras/simdmathlibrary
The upcoming vectormath that will used to speed up the SPU version of Extras/BulletMultiThreaded depends on this.
2007-07-23 04:58:24 +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 614044eb52 fixed link, removed duplicate wording 2007-07-12 06:48:50 +00:00
ejcoumans 7eea7092de Applied FSelUsage.patch, thanks a lot Marten Svanfeldt, Starbreeze Studios 2007-07-12 05:28:10 +00:00
ejcoumans 7cd651c266 pass collision shapes as const. fixed some issues with continuous convex cast (resulting hitnormal was not initialized properly, results not proper) 2007-07-11 02:16:39 +00:00
ejcoumans 8c01430151 Updated Bullet user manual to version 2.55.
Regorganized,added/updated parts for build system, multi threaded version, capsule shape, collision filtering (disabling collision) between rigidbodies sharing a constraint.
2007-07-10 22:03:06 +00:00
ejcoumans 6915b168b2 2007-07-09 05:35:20 +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 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
ejcoumans cb101274a1 fixed issue with kinematic objects 2007-07-06 04:32:01 +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 b91886e1c2 type on _xenon_ should be _xenon 2007-07-05 23:23:11 +00:00
ejcoumans e4363b6e2b added ConstraintSolver/btConeTwistConstraint.cpp to allow for ragdolls
improved hinge constraint: adds limits
added btAtan2Fast
quaternion helper functions
All thanks to Starbreeze Studios / Marcus Hennix, Marten Svanfeldt
2007-07-05 23:17:13 +00:00
ejcoumans 7c5164baaf made data protected so derived classes can access it 2007-07-03 23:22:17 +00:00
ejcoumans 9b8ebf082d added new projectfiles/updates 2007-07-03 06:08:50 +00:00
ejcoumans cdc8485db9 updated version, added 'singleObjectQuery' preliminary collision query (convex cast etc)
added filtering for raycast, thanks Jacky_J
const propagated through a few files
added btHeightfieldTerrainShape.cpp to cmake buildsystem
2007-07-03 05:10:20 +00:00
ejcoumans 485677513b minor platform dependent fixes to allow compilation under Xenon 2007-06-29 22:30:05 +00:00
ejcoumans edbd7255c4 added a few updates to the ChangeLog.txt 2007-06-29 22:17:36 +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 114bfad68f made some improvements based on feedback.
- made getHeightFieldValue virtual (allows custom heightfield formats)
- don't use shorts, just full integers (no reason to limit the terrain size to 65536)
2007-06-28 20:40:54 +00:00
ejcoumans e34083551c make sure 'addConstraint' has the optional argument too 2007-06-28 19:20:17 +00:00
ejcoumans ced94d63bf Thanks to Mårten Svanfeldt for the contribution:
- optionally disable collisions between bodies that are linked with constraints
- improved debug rendering with support for compounds, spheres, capsules
2007-06-28 19:14:30 +00:00
ejcoumans a0c5401033 bugfix, wrongly assigned value to a local variable (copy/paste bug).
Thanks binofet, see http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=366
2007-06-28 00:05:14 +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 fa2ff30db4 replace __PPU__ by __CELLOS_LV2__, to avoid conflict with IBM Cell SDK (ppu-g++) 2007-06-27 06:55:41 +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 5473adb27d basic sample heightfield (128x128, unsigned char) 2007-06-27 03:22:29 +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 3ca6d7385e basic support for height fields. They are producing temporary triangles, similar to the plane shape. 2007-06-27 03:19:34 +00:00
ejcoumans bba61c834c applied some reported bugfixes, angular limit issue, limit scaled from -2.0 -> -1.0 2007-06-23 00:54:08 +00:00
ejcoumans 394e927576 upgraded projectfiles for GIMPACT 0.2 2007-06-22 18:42:57 +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 55258a8a72 gimpact 0.2 prep 2007-06-22 16:59:13 +00:00