Commit Graph
100 Commits
Author SHA1 Message Date
ejcoumans 42cda1692d update version, cmake, ColladaDemo 2007-09-13 07:54:57 +00:00
ejcoumans ab6accefda add getPivotInA/getPivotInB 2007-09-13 07:45:49 +00:00
ejcoumans 0bf8124668 added quickstep improvements, to allow for constraints (point to point etc).
Thanks Francisco Leon/projectileman
2007-09-13 07:44:05 +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 7a117ca7ac updated version/changelog 2007-09-11 21:19:06 +00:00
ejcoumans 2dd54dbfd0 only delete the BVH during re-scaling when we 'own' it.
Thanks Phil Knight for reporting!
2007-09-11 21:18:45 +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 cf3da19ee4 refreshed autogeneratec projectfiles 2007-09-11 07:51:02 +00:00
ejcoumans 072ee697fd added missing files for Cmake buildsystem 2007-09-11 07:49:08 +00:00
ejcoumans e81d084e3c updated changelog 2007-09-11 07:43:45 +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 bd2c83e535 updated version to 2.59, fixed 16 byte alignment for BVH serialization 2007-09-11 06:37:27 +00:00
ejcoumans a71e9c3e5a fixed issue with de-normalized quaternion, causing acosf to fail
See http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1440
Thanks Proctoid for reporting.
2007-09-11 02:49:39 +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 cfde010808 fixed memory leaks caused by pool allocator, thanks Dev0 2007-09-10 19:18:50 +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 f7adab78f1 updated version in projectfiles 2007-09-10 01:29:33 +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 e1c037b4c2 2007-09-08 06:50:53 +00:00
ejcoumans 7f1bf0b78f register sphere-triangle dedicated collision algo by default.
updated projectfiles and ChangeLog.txt
2007-09-08 06:46:01 +00:00
ejcoumans be8cc0bc24 added simple poolallocator, increased version to 2.57 2007-09-08 06:02:55 +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 30b1887f40 added configuration files for collision detection.
this allows to use different collision algorithms by default, and avoid linkage issues.
2007-09-08 03:10:30 +00:00
ejcoumans 1763c8f806 make traversal mode public, so user can change it 2007-09-06 06:49:45 +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 43d367d232 Fixed issue with transposeTimes. Luckily this method wasn't used in the SDK, except for some optional parts.
Thanks Jay Lee for pointing this out!
2007-08-24 18:30:49 +00:00
ejcoumans fa2be67e8a added preferred direction, to improve penetration depth quality (better matching collision normal) for triangle meshes. 2007-08-22 01:09:48 +00:00
ejcoumans dbdc2a812f converted files to UNIX EOL 2007-08-21 04:06:39 +00:00
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