ejcoumans
1b70c4e5c9
added preliminary broadphase/collision C-API
2007-10-21 22:52:11 +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
1e4e52306f
don't crash when running out of pool memory, just use btAlignedAlloc/btAlignedFree instead
2007-10-19 21:25:58 +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
239d88985f
fix for heightfield, thanks SMJ/Spangle and Jay Lee for testing.
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1482
2007-10-16 21:57:05 +00:00
ejcoumans
b5a498e8bf
add get method for persistent manifold
2007-10-16 20:00:34 +00:00
ejcoumans
6303d98844
- use mfc directly, instead of cellDmaSmallGet (allow sizes under 32 bytes, instead of 16)
...
- align btBroadphaseProxy to 16 bytes
2007-10-16 00:52:23 +00:00
ejcoumans
23921729ea
adding padding to broadphase proxy, to make it 16 bytes (helps some platforms to run)
2007-10-15 02:35:55 +00:00
ejcoumans
ffcdb0f93d
BulletMultiThreaded needs to refreshContactPoint for contact manifold (this has been moved to the collision detector, instead of constraint solver)
...
BulletMultiThreaded support function for box shouldn't compensate for the collision margin anymore
2007-10-14 01:51:07 +00:00
ejcoumans
913b141c23
fix some warning, need virtual destructor
2007-10-14 00:12:22 +00:00
ejcoumans
715611060d
integrated StressTest into BasicDemo.
2007-10-14 00:03:10 +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
7a1e53935f
make MSVC 6 compile, remove 'int i' out of the for loops
2007-10-12 06:34:01 +00:00
ejcoumans
62103c94de
fixed growing of hash table, to avoid hard limit on overlapping pairs
2007-10-12 05:53:27 +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
1baa61bc8d
function isn't inline
2007-10-11 03:39:49 +00:00
ejcoumans
52eb5fa1a4
don't use multisap yet in basic demo.
...
fix crash in multi sap (due to new pair manager)
2007-10-11 03:32:37 +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
23a197b3dc
add alignment for broadphase proxy/handle. need to benchmark this, and check it doesn't degrade the performance on other platforms. Otherwise make it conditional only when USE_LIBSPE2 is defined
2007-10-03 00:41:55 +00:00
ejcoumans
1d43b5ebae
changed default stack size to 2 MB. This is still overly conservative probably. Need some deeper investigation on default memory sizes...
2007-09-30 04:43:34 +00:00
ejcoumans
a98ccc839e
enable double precision for triangle indices in BT_USE_DOUBLE_PRECISION mode (need to review this)
2007-09-30 02:28:04 +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
08d036afc7
multi-threading improvements: optionally use software caching (IBM/PS3), move some code from cpp to header to inline.
2007-09-20 22:42:56 +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
287f11de01
more endianness swapping fun for BVH serialization.
2007-09-19 22:37:22 +00:00
ejcoumans
1d556b9a6c
fixed serialization/alignment issue
2007-09-19 22:02:49 +00:00
ejcoumans
9fb6f0af09
added fix for heightfield (division by floating point scalar, instead of integer),
...
added default aligned alloc/free
2007-09-19 03:19:13 +00:00
ejcoumans
323eed2885
fix in endianness of serialization of BVHs
...
Thanks Phil Knight!
2007-09-16 05:37:11 +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
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
072ee697fd
added missing files for Cmake buildsystem
2007-09-11 07:49:08 +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
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
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