Commit Graph

518 Commits

Author SHA1 Message Date
erwin.coumans
83f0bfc0e5 strip LibXML, we don't use it anymore (neither COLLADA_DOM) 2010-02-11 23:41:14 +00:00
erwin.coumans
7a175fb65e Add pairwise collision test:
void	btCollisionWorld::contactPairTest(btCollisionObject* colObjA, btCollisionObject* colObjB, ContactResultCallback& resultCallback)

cmake: improve feedback for Maya Plugin handling if the Maya base path is not detected
2010-02-11 09:18:49 +00:00
erwin.coumans
a9556d0fd5 use _WIN32 instead of WIN32 (_WIN32 is a compiler built-in)
add virtual destructor to bFile
2010-02-06 18:50:45 +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
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
rponom
43d82fc20c Bug in command registration/deregistration fixed
One more path to Maya SDK added
2010-02-04 00:38:15 +00:00
erwin.coumans
c1e20e98c7 allow to compile all demos when USE_GLUT is enabled in cmake
fix minor issue in ConcaveDemo (animation should be time-dependent)
remove COLLADA from the demos.
2010-02-03 23:04:39 +00:00
erwin.coumans
23c814f699 show ".bullet" as file extension in the Maya plugin, by implementing MString filter() const; 2010-02-02 18:56:28 +00:00
erwin.coumans
d47ce6f46e (untested) MayaPlugin for Linux 64bit Makefile, instead of linking against Bullet libs, directly include all source files
(we should try to get the cmake build to work!)
2010-02-02 07:58:53 +00:00
erwin.coumans
6850b72ef6 added Mac OSX XCode projectfile for BulletMayaPlugin, tested with Maya 2010
unfortunately, cmake took too much time to get working on OSX (bundle and dylib doesn't combine)
2010-02-02 06:24:00 +00:00
erwin.coumans
34c7b38ac7 fixes for Mac Maya plugin. still need to figure out the flags for a 64bit build 2010-02-01 15:54:31 +00:00
erwin.coumans
2050afaa3c remove binary (BulletMayaPlugin.mll) and fix name BulletMayaPlugin (to match previous NSI Installer script) 2010-01-31 19:38:29 +00:00
erwin.coumans
d734225345 Added initial cmake option to build Maya plugin (Bullet Dynamica), only tested under Windows so far. 2010-01-31 19:20:13 +00:00
erwin.coumans
4140a20552 fixed some compile issue for Mac Dynamica plugin, see
http://code.google.com/p/bullet/issues/detail?id=221

added some missing file for autotools/Makefile.am

fix: btBulletWorldImporter::loadFileFromMemory always returned false, if it was succesful
2010-01-31 16:46:06 +00:00
erwin.coumans
c71b968110 fixes on unix (new lines and case) 2010-01-30 23:48:19 +00:00
erwin.coumans
e57f03599a make Bullet compile on Visual Studio 6 2010-01-30 23:10:12 +00:00
erwin.coumans
788f48643b remove all warnings on Mac OSX Snow Leopard 2010-01-30 22:31:56 +00:00
erwin.coumans
77b773f470 more improvements, copy testFile.bullet to target binary directory (cmake), fix some warnings 2010-01-30 21:46:50 +00:00
erwin.coumans
f9ad5cf587 fixes in serialization, should fix non-Windows platforms. 2010-01-30 21:31:56 +00:00
erwin.coumans
01b66a6799 fixes in serialization (don't serialize shapes multiple times), hull shape issue,
fix InternalEdgeDemo compilation using GLUT
2010-01-30 06:55:39 +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
37f6df2c32 added serialization support for gimpact mesh
improved cmake build system for updating the serialization structures
2010-01-29 02:50:34 +00:00
rponom
133bb63dd8 Dynamica export to Bullet .bullet file, and some fixes in Hull scaling (not using btCompoundShape::setLocalScaling but directly appying the scaling to the hull vertices, and caching the local scaling) 2010-01-29 00:03:45 +00:00
rponom
ee3e231be5 + more consistent 'setLocalScaling' for the btCompoundShape. Full non-uniform scaling is not supported when child shapes have a rotation. If any child shapes have rotation, the best you can do is either uniform scaling, or 'baking' the non-uniform scaling into the child geometry (vertices of a convex hull for example)
+ fixed an issue with BulletWorldImporter, btBoxShape implicitShapeDimensions already includes local scaling.
2010-01-28 23:41:09 +00:00
erwin.coumans
ae0e78efd8 add support for serialization/writing DNA on big endian machines
fix for swapping endianness for nested array of structures
2010-01-28 10:56: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
44565d20f4 added serialization support for btCompoundShape, btCapsuleShapeX/Z, btCylinderShapeX,Z
make some serialization methods const
prepare for constraint serialization
2010-01-26 02:24:03 +00:00
erwin.coumans
2f44eabd7d fix, no argument to setZero 2010-01-25 23:41:22 +00:00
erwin.coumans
8bab40b49b initialize inertia to zero 2010-01-25 23:39:55 +00:00
erwin.coumans
a7a6ab8835 Add BulletWorldImporter: it takes the in-memory data from BulletFileLoader and instantiates objects in a BulletDynamicsWorld.
Note that BulletFileLoader is has no dependencies on BulletDynamics/BulletCollision.
Also added a custom build step to copy asset (.bullet and .obj file) into the executable folder
Made a few 'char*' 'const char*' to avoid compiler warnings
2010-01-25 21:58:32 +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
erwin.coumans
5d8e6dc3f3 improved btTriangleMeshShape/btBvhTriangleMeshShape serialization 2010-01-24 16:48:14 +00:00
erwin.coumans
9d7d1c3983 more work on serialization, initial for btTriangleMeshShape/btBvhTriangleMeshShape (only for floating point vertices, integer indices) work-in-progress 2010-01-23 20:59:41 +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
5378cf4c8a more work on Bullet serialization (added support for btConvexHullSupport) 2010-01-23 00:58:47 +00:00
erwin.coumans
0f707603f1 more work on serialization, work-in-progress 2010-01-23 00:04:58 +00:00
erwin.coumans
76eccc39fc more work on serialization (work-in-progress) 2010-01-22 03:36:58 +00:00
erwin.coumans
e899845fc1 fix type in CMake build files 2010-01-22 00:19:25 +00:00
erwin.coumans
26a056e629 More work on serialization and BulletFileLoader 2010-01-22 00:15:33 +00:00
erwin.coumans
901ff7a4f8 remove readblend, it will be replaced by Serialize 2010-01-20 22:50:37 +00:00
rponom
5dd43ab3a2 Various nail constraint improvements
TODO: errors while scene loading / saving
2009-12-25 00:22:20 +00:00
erwin.coumans
9fa2460933 Provide verbosity control in BulletColladaConverter, see Issue 228
Thanks SkewMatrix for the patch

Fix a crash in BulletColladaConverter, when bodies were created outside of the Collada converter,
Thanks Jan Ciger for the patch, see Issue 306
2009-12-21 22:55:32 +00:00
erwin.coumans
6536d8cc31 Added option to install 'Extra' libs, turned off by default (BulletMultiThreaded, OpenGL, COLLADA_DOM, libxml,BulletColladaConverter)
Thanks xenonofarcticus, for the patch: http://code.google.com/p/bullet/issues/detail?id=294
2009-12-13 20:30:29 +00:00
lawrence.bullet
59fa35fcd6 changed a couple maya typeIds to valid ids. fixed example scene files 2009-12-02 23:04:47 +00:00
erwin.coumans
eea73bc76a more fixes to get cmake 2.8 to create Xcode projects 2009-11-17 03:09:14 +00:00
erwin.coumans
f3525c3a86 make the btAcosf/btAsinf fix multi-line to make it easier to put breakpoints.
fix a memory leak issue with ColladaConverter (keep track of the btTriangleMesh containers)
2009-10-09 23:53:18 +00:00
erwin.coumans
dd65ef3a8a fix some compile errors in Extras/CDTestFramework (cross/dot are no longer global functions) 2009-09-11 22:15:55 +00:00
erwin.coumans
52971076f5 updated Mac OSX projectfile for Bullet/Extras/AllBulletDemosOSX 2009-09-07 00:53:20 +00:00
erwin.coumans
819622fbe8 delete obsolete SpuRaycast files, attempt to get demos to compile/run under 64bit glut. 2009-09-06 23:01:49 +00:00
erwin.coumans
3e2529fcb5 Minor constraint refactoring, to allow SPU-side processing for PLAYSTATION 3 (added non-virtual methods)
Also comment-out some code for __SPU__ to reduce code size
Added btContactConstraint (only used on PS3 SPU right now, better to use btPersistentManifold directly for contact constraints)
Improved readblend utility library (see also usage in http://gamekit.googlecode.com with Irrlicht)

Fix for btConvexConvexAlgorithm, potential division by zero
Thanks linzner http://code.google.com/p/bullet/issues/detail?id=260
2009-08-05 22:14:46 +00:00