erwin.coumans
73b217fb07
Apple contribution for OSX SSE and iOS NEON optimizations unit tests, thanks to Jordan Hubbard, Ian Ollmann and Hristo Hristov.
...
For OSX:
cd build
./premake_osx xcode4
for iOS:
cd build
./ios_build.sh
./ios_run.sh
Also integrated the branches/StackAllocation to make it easier to multi-thread collision detection in the near future. It avoids changing the btCollisionObject while performing collision detection.
As this is a large patch, some stuff might be temporarily broken, I'll keep an eye out on issues.
2012-06-07 00:56:30 +00:00
erwin.coumans
710954d772
Constraints can override their own number of solver iterations (either more or less than the default) or leave it default (-1)
...
Bump version to 2.80
2012-03-03 03:07:18 +00:00
erwin.coumans
a5aa2a5ff7
Add single body constructor for btGeneric6DofSpringConstraint. See Issue 601, thanks to aj.dneg for the patch.
2012-03-01 05:48:51 +00:00
erwin.coumans
22dc2ca6c3
fix for btGeneric6DofConstraint, when the btRotationalLimitMotor goes over PI or under -PI.
...
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5046&p=27113#p27113
Thanks zlash for the fix/report and Flix for the reminder.
2012-02-18 09:21:16 +00:00
erwin.coumans
15deee7e79
Fix a division by zero in btConeTwistConstraint::calcAngleInfo2
...
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7867
Thanks to Aardwolf for report and Roman Ponomarev for the fix
2012-02-16 23:44:43 +00:00
erwin.coumans
dacb24e968
pass in const vectors into btUniversalConstraint and normalize the local copy
...
Thanks to SkewMatrix for the patch, http://code.google.com/p/bullet/issues/detail?id=571
2011-12-14 09:10:12 +00:00
erwin.coumans
22915b2344
enable randomization of non-contact constraints (disabled by default)
...
Thanks to Peter Kyme, http://code.google.com/p/bullet/issues/detail?id=576
2011-12-14 09:06:14 +00:00
erwin.coumans
8b849e0d07
Fixed split impulse SIMD issue in the constraint solver (doesn't affect default behaviour, as split impulse is switched off by default)
...
Thanks to Laurent Coulon for the report/fix. http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7515&p=25766#p25766
2011-10-12 20:22:55 +00:00
erwin.coumans
a13d22dc84
Fix a lot of warnings, thanks to ejtttje, Fixes issue 537
...
Fix soft body debug rendering
2011-09-15 01:17:34 +00:00
erwin.coumans
b690019e39
Removed global operator- in btQuaternion, and rewrote the 'getAxis' method
...
Add a unit test for testQuaternionGetAxisAngle
Thanks to ejtttje, fixes Issue 538
2011-09-13 23:37:05 +00:00
erwin.coumans
16cc5665de
fix in the breaking constraints feature
2011-07-01 21:51:38 +00:00
erwin.coumans
cdddf9d25a
add FractureDemo to AllBulletDemos
...
improvements in CCD handling
some cleanup of CcdPhysicsDemo and BasicDemo
2011-04-09 01:14:21 +00:00
erwin.coumans
b16b61d9d6
disable constraints when they exceed a breaking threshold, control it with new methods in btTypedConstraint: get/setBreakingImpulseThreshold and get/setEnabled
...
Disabled constraints are not removed from the world and they use negligible CPU cycles
2011-04-02 19:01:23 +00:00
erwin.coumans
d198451909
clear the applied impulse for constraints (no warmstarting)
...
simplify logic, see Issue 499
2011-04-02 00:44:15 +00:00
erwin.coumans
852fa3ba30
add the BT_ prefix for all #ifdef guards, to avoid conflicts with developers own header defines.
...
Fixes Issue 497
//license header
#ifndef BT_RIGIDBODY_H
#define BT_RIGIDBODY_H
class btRigidBody
{
};
#endif //BT_RIGIDBODY_H
2011-04-01 17:14:52 +00:00
erwin.coumans
f17fa297d5
wrapped up first version of the FractureDemo
...
move 'split impulse' / position solver before velocity solver, so that applied impulse is available for fracture
add btSliderConstraint::getAngularPos see http://code.google.com/p/bullet/issues/detail?id=489
2011-03-18 00:20:52 +00:00
erwin.coumans
7a9c349a8c
enable predictive contact constraints, see BasicDemo
2011-03-05 03:01:44 +00:00
erwin.coumans
e621c880d6
avoid naming conflicts with vectormath/sse version
2011-02-28 06:54:08 +00:00
erwin.coumans
4e8596eef5
Added some helper methods for constraints and btMatrix3x3,
...
Thanks to francois, See Issue 466
Prevent crash in SoftBodyDemo, when picking constraints and demo-mode switches to next demo.
2011-02-27 03:28:53 +00:00
erwin.coumans
3f74c62ca4
new getLow/getHigh methods aren't inline, thanks harkon for report and fix, see Issue 484
2011-02-22 01:36:50 +00:00
erwin.coumans
f19995aeab
improvement for btHingeConstraint to deal with large constraint limits, see Issue 479
...
Thanks promyclon for the report and patch, and Roman Ponomarev for testing.
2011-02-19 20:02:19 +00:00
erwin.coumans
dd7ee6919e
serialize btGeneric6DofSpringConstraint
...
serialize btSoftBody::Joint
See also Issue 456
2010-12-16 02:35:44 +00:00
erwin.coumans
c49927b4ed
Use cylinder inertia tensor, instead of box, by default.
...
See Issue 427
Expose some internal data for constraints,
Thanks to Francois Sugny, see Issue 420
2010-11-17 23:55:39 +00:00
rponom
a1c1007a81
Bug in btAdjustAngleToLimits() (issue 377) fixed
2010-09-16 21:04:41 +00:00
erwin.coumans
c296122e4e
fix build for Intel Compiler 11.1 -> move static ::getFixedBody method from header to cpp file.
2010-09-08 00:38:15 +00:00
erwin.coumans
54c07ddac4
Implemented constraint damping, as requested in Issue 416
...
Thanks Mark for the feedback
2010-08-24 21:12:32 +00:00
erwin.coumans
40958f2b4a
Implement btTypedConstaint::setUserConstraintPtr/setUserConstraintPtr (data shared with get/setUserConstraintId)
2010-08-11 01:01:50 +00:00
erwin.coumans
73ca9bafc8
fix angular only for btHingeConstraint
2010-07-30 22:57:49 +00:00
erwin.coumans
7a519da691
add support in btHingeConstraint for m_angularOnly
2010-07-21 22:50:10 +00:00
erwin.coumans
745b3d4e05
fix some warnings, see Issue 400
2010-07-20 01:09:34 +00:00
erwin.coumans
b3f081fc85
Added preparation for GPU hardware accelerated solvers for BulletSoftBody (OpenCL and DirectCompute backends will follow)
...
Added assert to check for positive masses in btCompoundShape::calculatePrincipalAxisTransform, see Issue 399
Fixes for LLVM/GCC compilation issue in btSequentialImpulseConstraintSolver
(Untested) fix for Linux 64bit compilation Issue 409
2010-07-16 23:26:25 +00:00
erwin.coumans
fbc17731ec
Several changes to sync Bullet trunk with PlayStation 3 spubullet version
...
Still needs some cross-platform fixes
2010-07-08 17:02:38 +00:00
erwin.coumans
f6242087a1
make btHingeConstraint constructor arguments const, thanks to Nick Waanders
...
http://code.google.com/p/bullet/issues/detail?id=391
return value in btBulletWorldImporter
2010-06-18 00:31:06 +00:00
erwin.coumans
07f51390ea
Fix for the non-virtual implementation of btGeneric6DofConstraint (mainly for Cell SPU purposes):
...
Need to explicitly call testAngularLimitMotor(i);, because it cannot be called during 'getInfo1', because m_rbA and m_rbB is not available.
2010-04-05 20:18:53 +00:00
rponom
b409abac09
Deltas of linear and angular velocities applied to rigid bodies now are kept between simulation steps.
...
Read-only access functions added to btRigidBody to get these values
Several OpenCL functions are implemented for MiniCL
2010-03-17 19:06:59 +00:00
erwin.coumans
81f04a4d48
fix: some file didn't have the svn:eol-style native yet
2010-03-06 15:23:36 +00:00
rponom
af754373b2
Dynamica Maya plugin changes to take into account scale and pivot point offset
...
when converting existing objects to convex hull or mesh
One more method added to set spring equilibrium point directly for btGeneric6DofSpringConstraint
2010-03-03 20:50:38 +00:00
erwin.coumans
1f38568f14
Fixing serialization issues introduced in previous commits:
...
0 maps to 0 (for getUniquePointer)
use getUniquePointer for names too
2010-03-02 11:40:08 +00:00
erwin.coumans
9acb3d1805
Added some improvements on Bullet serialization:
...
Introduced generated unique id's, instead of the pointer address to avoid 64bit->32bit truncation issues
Use serializer->getUniquePointer instead of directly using a pointer
moved ChunkUtils::getNextBlock to bFile::getNextBlock.
Moved 'TEST_BACKWARD_FORWARD_COMPATIBILITY' to bDNA.cpp. Enable the define for further testing of .bullet format
Removed duplicate definitions and use the one in LinearMath/btSerialization.h
2010-02-28 20:50:50 +00:00
erwin.coumans
621eddb769
make btHashMap data protected (not private) for easier serialization
...
move btTriangleInfoMap.h into its own header, into the BulletCollision/CollisionShapes folder
add btTriangleInfoMap pointer to btBvhTriangleMeshShape, so we don't need to use the 'userpointer' anymore
preparation for serialization of btTriangleInfoMap.
See also http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4603&start=30
2010-02-23 09:52:39 +00:00
erwin.coumans
155254d448
remove warning, remove Jamfile from CMakeLists.txt, check for two static objects in solver.
2010-02-20 21:12:50 +00:00
erwin.coumans
85724b5500
SerializeDemo: create a testFile.bullet if it is missing
...
Serialization: remove obsolete autogenerated headers
Minor changes in btSequentialImpulseConstraintSolver: split methods to make it easier to derive from the class and add functionality.
2010-02-19 23:24:04 +00:00
erwin.coumans
d4c3633405
Get rid of btSolverBody and use btRigidBody directly. btSolverBody didn't improve performance after all, due to random-access
...
Tweak the BenchmarkDemo a bit:
1) disable deactivation in graphical mode
2) add some settings that increase performance in the BenchmarkDemo2 (1000 stack) from 35ms to 15ms on this quad core (at the cost of a bit of quality)
2010-02-11 20:30:56 +00:00
erwin.coumans
7782952d6b
Add a minimum solver 'batch' size to avoid solving many small (independent) islands separately
...
Default size is 128 . Disable feature by using dynamicsWorld->getSolverInfo().m_minimumSolverBatchSize = 1;
2010-02-06 22:21:44 +00:00
erwin.coumans
04b7a7fff4
remove dead btSliderConstraint code
2010-02-05 01:51:57 +00:00
rponom
c31e2ed064
getInfo2NonVirtual() merged to getInfo2NonVirtualUsingFrameOffset() to reduce code size
2010-02-04 23:56:08 +00:00
erwin.coumans
0cb44b169d
variables were initialized in the wrong order (warning)
2010-02-04 23:12:31 +00:00
erwin.coumans
2e094c62ac
remove a little bit of code duplication, small fix (nrow should be srow), and initialize return value to SIMD_INFINITY for nonvalid parameters/axis.
2010-02-04 23:06:25 +00:00
rponom
5eeb624585
Bug fixed (m_useOffsetForConstraintFrame initialization)
2010-02-04 21:24:47 +00:00
erwin.coumans
99d9fddc42
add name for collision shape and constraint serialization (to objects, shapes and constaints can be mapped to user data)
...
updated serialization structures and header files (for new 'm_name' field, replacing user pointer)
fix issue with btGeneric6DofConstraint::setParam in headerfile
2010-02-04 05:28:17 +00:00