Commit Graph

1899 Commits

Author SHA1 Message Date
erwin.coumans
b2798eaae5 fix typo on API btCollisionDispatcher::getDispatherFlags -> getDispatcherFlags
Thanks to Andres Traks for the report/patch:
http://code.google.com/p/bullet/issues/detail?id=372
2010-06-18 01:17:40 +00:00
erwin.coumans
627877e3e5 fix to setLocalScaling for a btCylinderShape, thanks to rutina for the patch:
http://code.google.com/p/bullet/issues/detail?id=393
2010-06-18 00:59:08 +00:00
erwin.coumans
5e069f220e Issue 395: [Patch] implement btCompoundShape::createAabbTreeFromChildren
Thanks Paul Dubois for the patch
2010-06-18 00:39:42 +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
f7be7acc3a minor thread debugging issue: move printf before the SetEvent (in Win32ThreadSupport) 2010-05-14 00:36:10 +00:00
erwin.coumans
d2cc0d73c5 avoid crash in .bullet file reading on empty files (or file-not-found) 2010-05-12 23:18:11 +00:00
erwin.coumans
ae09329a9d Add PPU fallback for btCompoundShape that have more child shapes than MAX_SPU_COMPOUND_SUBSHAPES (default 16, see SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h) 2010-05-12 23:06:48 +00:00
erwin.coumans
b39abc4513 minor addition to GLDebugFont for non-blender text rendering (better readable on top of existing graphics)
Use GLDebugDrawStringInternal(xcoord,ycoord,text,rgb_color,use_blending,character_spacing);
2010-05-12 23:03:10 +00:00
erwin.coumans
f9445bdfde Minor update SSE version of SCE Vectormath library
Changes:
Update copyright year to 2010
Updated operator- for Vector3 (use NEG_MASK)
Use  newtonrapson_rsqrt4 for Quat::normalize (better precision)
Add Vector::loadXYZW and Quat::loadXYZW, similar to scalar version, using _mm_lddqu_si128
Replace inline by __forceinline
Add get128Ref and set128() methods
2010-05-07 02:25:20 +00:00
erwin.coumans
c35e72bd9f minor tweak: allow btBulletWorldImporter to convertAllObjects (instantiate Bullet objects) without having to reload/parse the .bullet file. Can be useful to quickly destroy and restart a dynamics world 2010-05-03 19:49:46 +00:00
erwin.coumans
8723005cd7 fix for MinGW compiler support in bChunk.h serialization
thanks to comicfans44 for the report and fix:
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5014&p=18368#p18368
2010-04-26 20:25:42 +00:00
erwin.coumans
334420fc79 SCE Vectormath scalar version update 2010-04-20 18:26:03 +00:00
erwin.coumans
1c218bffed Add an 'extension' pointer to btCollisionObject for some of our Bullet extentions (a custom constraint solver that needs a back-pointer) 2010-04-13 21:43:34 +00:00
erwin.coumans
0fbd9d49c4 + Optimization: move some variable declarations outside of the innerloop in btCompoundCollisionAlgorithm.cpp
Thanks to mccdo at iastate.edu for the contribution, see Issue 373
+ Optimization: removed some unnecessary code in btConvexHullShape::localGetSupportingVertexWithoutMargin
+ Added autogenerated Visual Studio 2005 projectfiles (using a patched cmake 2.8.1 to avoid any references to cmake/absolute paths)
2010-04-12 17:46:56 +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
f0ba00c010 prettify debug drawing of cone and cylinder,
thanks to francois.sugny
see also http://code.google.com/p/bullet/issues/detail?id=369
2010-03-31 21:12:59 +00:00
erwin.coumans
c0a694c571 added bullet.pc.cmake and fixes for PKGCONFIG
See also http://code.google.com/p/bullet/issues/detail?id=337
2010-03-31 20:58: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
erwin.coumans
bb84b93dd9 enable INSTALL_LIBS for "Unix Makefiles" and for APPLE AND FRAMEWORKS,
leave the option disabled by default for other build systems (MSVC, Xcode etc)

See also http://code.google.com/p/bullet/issues/detail?id=370
2010-03-31 20:28:51 +00:00
erwin.coumans
7aa183f42f fix an issue with calculating the max depth of btDbvt
(shouldn't impact the btDbvtBroadphase or other code, feature seems to be unused)
2010-03-31 20:11:56 +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
9de41ddd7a btBulletWorldImporter fix: don't crash when loading files that have wrong constraint setup for btGeneric6DofConstraints 2010-03-15 23:28:50 +00:00
erwin.coumans
2f2d33d578 bugfix related to previous commit (btAssert at the wrong place)
fixes for automake build system (remove references to ColladaDemo)
2010-03-13 20:47:21 +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
81efe51116 create a better demo for the perturbation around the separating normal 2010-03-06 23:30:32 +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
3c8f8f55d7 add vsync for Mac OSX to avoid tearing artifacts 2010-03-06 19:37:38 +00:00
erwin.coumans
da3c174b0e Maya Dynamica plugin is moved to http://dynamica.googlecode.com 2010-03-06 18:31:59 +00:00
erwin.coumans
5bd008eff7 more fixes for shared libs 2010-03-06 17:21:08 +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
erwin.coumans
4fd48ac691 Fixes to build under MinGW
thanks to Mikhail, http://code.google.com/p/bullet/issues/detail?id=352
2010-03-03 21:40:12 +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
658979c3ac Another bugfix in the serialization (recently introduced), it is a mine field ;-)
A fix for btSubSimplexConvexCast, don't add a point of the Minkowski sum if it wasn't already in the voronoi simplex (similar to GJK)
2010-03-02 20:37:11 +00:00
erwin.coumans
8b1e1c9fdf comment-out unused var 2010-03-02 12:12:46 +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
8fbe399ea4 Make .bullet serialization mode robust:
Deal with broken DNA serialization. Bullet 2.76 release revision 2035 - 2046 was broken, and this includes the Maya Dynamica plugin.
Added some workaround to deal with the broken .bullet files, instead of crashing.
2010-03-02 09:32:34 +00:00
erwin.coumans
c517f14dd4 fix some compile issue on some 64bit compilers 2010-02-28 22:21:07 +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
d5ea1d569f for for btBvhTriangleMeshShape with short int indices serialization
disable bvh serialization, it has issues (needs testing)
2010-02-27 09:16:42 +00:00
erwin.coumans
aab5652e7d fix a serialization bug with btStridingMeshInterface with short indices (16 bit) 2010-02-27 02:16:25 +00:00
erwin.coumans
4add96ce75 fix crashing bug on import btTriangleMeshShape of 16-bit indices 2010-02-26 22:29:25 +00:00
erwin.coumans
56f3df802e update serialization mainly for Blender .blend reading, it has to do with pointer arrays not being swapped properly (Bullet .bullet doesn't use pointer arrays so it isn't affected)
Thanks a lot to Charlie/snailrose for the fix
2010-02-26 03:07:23 +00:00
erwin.coumans
3629df72fd This should be the final Bullet 2.76 release 2010-02-25 20:25:59 +00:00
erwin.coumans
8383d76c42 revert DNA change in previous commit 2010-02-25 20:18:40 +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
44503b20a9 Updated Bullet User Manual for Bullet 2.76. 2010-02-25 01:23:16 +00:00
erwin.coumans
5a6afb2b8d expose the SphereTriangleDetector::collide method
cmake build tweaks: only compile BlenderSerialize if necessary
2010-02-24 19:27:24 +00:00
erwin.coumans
6de5799d5d add missing virtual destructor (warning) 2010-02-24 16:02:55 +00:00