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
erwin.coumans
0bf3cb5aa5
setMassProps didn't adjust gravity force, this might impact some projects
...
See also
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4835
and
http://code.google.com/p/bullet/issues/detail?id=364
2010-03-31 20:50:11 +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
192a2b38e9
assign proper index when removing a child shape from btCompoundShape
...
Thanks to sparkprime for the report and fix in Issue 354
See http://code.google.com/p/bullet/issues/detail?id=354
Fix a few warnings
2010-03-12 05:32:57 +00:00
erwin.coumans
f250fd21c5
fix warning in character controller
2010-03-08 01:40:02 +00:00
erwin.coumans
00127a3d70
apply fixes for the btKinematicCharacterController to avoid climbing walls (it was broken anyway)
...
Thanks to ossumajor, see Issue 198
2010-03-06 19:39:14 +00:00
erwin.coumans
97bc4be09d
improving shared library/framework support (still untested)
2010-03-06 17:07:22 +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
40dc18f604
remove Extras/obsolete/quickstep
...
improve serialization based on feedback: make it easier to serialize a single object, or single shape, or single bvh.
Modified Bullet/Demos/ConcaveDemo to use btSerializer to serialize the btOptimizedBvh (or optionally the trimesh+bvh)
You can also serialize trimesh without BVH, use:
serializer->setSerializationFlags(BT_SERIALIZE_NO_BVH);// or BT_SERIALIZE_NO_TRIANGLEINFOMAP
2010-02-25 20:12:40 +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
79ef84f344
fix Issue 345 with kinematic objects
...
Thanks to nanocell http://code.google.com/p/bullet/issues/detail?id=345
2010-02-23 02:33:11 +00:00
erwin.coumans
9dfe040bee
Add some btTypedConstaint methods to btRaycastVehicle for backwards compatibility.
2010-02-21 00:30:17 +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
1c0ec85c32
Retired the Jam build system (and msvcgen). CMake is currently the preferred build system on Windows, Mac and UNIX
...
(autotools files are still left for now)
2010-02-20 15:47:20 +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
45e7c7f564
Add missing files to XCode project
...
Add option to disable SPU collision processing, and add assert to detect unsupported recursive compounds on SPU.
2010-02-17 02:34:26 +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
70c70bf681
cmake: don't install anything by default, unless the option INSTALL_LIBS is enabled
...
cmake: fix for multi-threaded benchmarks
2010-02-11 07:12:58 +00:00
erwin.coumans
97921411d2
cmake build system improvement: don't INSTALL when INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES is set
...
minor fix for MinGW32, reported here: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4710
2010-02-11 04:32:37 +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
rponom
af1dafc659
Fix for the slider constraint (case when useLinearReferenceFrameA == false)
2010-02-04 01:21:45 +00:00
erwin.coumans
58c5630d7f
Add new demos to cmake: SerializeDemo and InternalEdgeDemo
...
Fix in btShapeHull for previous commit
Add support to serialize name for objects
Updated serialization structures.
2010-02-04 01:07:07 +00:00
erwin.coumans
87b313d715
Add flags to btRigidBody to disable world gravity.
...
Use setFlags/getFlags with BT_DISABLE_WORLD_GRAVITY
See http://code.google.com/p/bullet/issues/detail?id=324
2010-02-03 23:58:48 +00:00
erwin.coumans
219517db2d
move static globals inside static member functions, to avoid hassle with C#/CLI/C++ managed code, compile error C3820
2010-02-03 23:27:22 +00:00
erwin.coumans
1cd52f3d11
Removed empty constructors for constraints, I don't recall why we added them (possibly SPU) but if we really need them we have to revert this.
...
Moved static fixed body into a static function 'getFixedBody' to avoid issues when embedding Bullet in C#/CLI managed code.
2010-02-03 23:02:33 +00:00
erwin.coumans
d58081ce37
Provide easier access to CFM and ERP (and Stop ERP/Stop CFM) for constraints in a similar way to Open Dynamics Engine
...
virtual void btTypedConstraint::setParam(int num, btScalar value, int axis = -1) = 0;
virtual btScalar btTypedConstraint::getParam(int num, int axis = -1) const = 0;
Parameter can be BT_CONSTRAINT_ERP,BT_CONSTRAINT_STOP_ERP,BT_CONSTRAINT_CFM,BT_CONSTRAINT_STOP_CFM
Axis is 0 .. 5, first 3 for linear degrees of freedom, last 3 for angular. If no axis is specified it will take the 'default' degree of freedom. For a btHingeConstraint this would be the hinge axis (5)
2010-02-03 22:16:09 +00:00
erwin.coumans
788f48643b
remove all warnings on Mac OSX Snow Leopard
2010-01-30 22:31:56 +00:00
rponom
d5f5ddf2f1
Bullet debug draw added
...
It is off by default, see attributes of dSolverNode to turn it on
2010-01-30 04:21:12 +00:00
erwin.coumans
725411a1f3
added a warning to all serialization structures:
...
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
2010-01-27 02:41:38 +00:00
erwin.coumans
00f58e5a91
added basic serialization for several constraints including btPoint2PointConstraint, btHingeConstraint, btSliderConstraint, btConeTwistConstraint, btGeneric6DofConstraint
...
(no motor support or advanced settings yet)
added btStaticPlaneShape serialization
Added toggle in cmake for BenchmarksDemo to enable/disable graphics rendering
2010-01-27 02:13:56 +00:00
erwin.coumans
e7ff71d99b
add support for double precision and 64bit serialization (and compatibility between all versions)
...
fix some issue in serialization of nested array data
add some tesing files
2010-01-25 19:42:51 +00:00
rponom
e459145b91
Crash bug when "mesh" applied twice fixed
...
Constraints reworked - all of them could now work with one or two bodies
Modification of constraint frames and initial positions of rigid bodies
now allowed at start frame only
Plugin version is set to 2.76
2010-01-23 03:15:43 +00:00
erwin.coumans
0f707603f1
more work on serialization, work-in-progress
2010-01-23 00:04:58 +00:00
erwin.coumans
6af9f9434f
worked a bit more on the serialization, and added a preliminary SerializeDemo.
2010-01-21 00:17:18 +00:00
erwin.coumans
6b89f028bf
add newlines to files, thanks to tasioga for the patch
...
http://code.google.com/p/bullet/issues/detail?id=334
2010-01-20 21:33:35 +00:00
erwin.coumans
96d73d642d
fixes in debug drawer: always use rgba color with each component in range [0..1]
...
use sphere/box rendering of debug drawer
Thanks accodejockey for the report: See http://code.google.com/p/bullet/issues/detail?id=280
Also see http://code.google.com/p/bullet/issues/detail?id=279
2010-01-19 19:38:18 +00:00
erwin.coumans
4280f54ccf
Get rid of some warnings, mainly unused parameters/variables.
...
Thanks sparkprime for the patch, see http://code.google.com/p/bullet/issues/detail?id=330
2010-01-19 06:10:27 +00:00
erwin.coumans
63bb1bab94
fixes to make VC6 compiler (and its users) happy
2009-12-22 21:27:27 +00:00
erwin.coumans
b0e6e2f412
Expose vehicle maxSuspension force (instead of hard-coded 6000 value).
...
Thanks blakflow for the patch, see Issue 290
2009-12-21 22:59:12 +00:00