Commit Graph

594 Commits

Author SHA1 Message Date
erwin.coumans
4e0aa42123 Disallow the operator= for btAlignedObjectArray, together with some fixes in the code (to avoid accidental deep copy)
Enable #define BT_ALLOW_ARRAY_COPY_OPERATOR in Bullet/LinearMath/btAlignedObjectArray.h to re-enable it
Fixes Issue 564, thanks to Tissen Peter for the report/fix
2011-11-15 20:09:05 +00:00
erwin.coumans
d3c6f9dd67 BulletWorldImporter didn't properly import m_3indices16 arrays, fixes Issue 562 thanks to Marius Elvert
Support for m_3indices8 import
Fix un-initialized memPtr->m_3indices8 at export time, add a workaround at loading time
2011-11-15 18:40:45 +00:00
erwin.coumans
4f25d731f9 fix autotools build
fix picking for tetrahedral soft body (demo 29/30)
add text for failing OpenCL kernel build, thanks to Greg
2011-09-16 23:58:38 +00:00
erwin.coumans
0656de3057 premake4 compile/link fixes 2011-09-16 19:56:14 +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
82234e6f33 add preliminary premake4 support (next to cmake) mainly to auto-generate Visual Studio projectfiles that can be redistributed (with no dependency on cmake, premake) 2011-09-02 22:24:08 +00:00
erwin.coumans
ad76b3222f update to the latest HACD convex decomposition (minor fixes) 2011-08-23 00:25:17 +00:00
erwin.coumans
cf0d948d97 update to the latest version of HACD (hierarchical approximate convex decomposition, http://sourceforge.net/projects/hacd)
Thanks to Khaled Mammou for the fix.
2011-07-24 02:01:32 +00:00
erwin.coumans
c7b8035556 make things compile again 2011-07-07 21:50:35 +00:00
erwin.coumans
996bcb18ee Added HACD library by Khaled Mamou, for improved convex decomposition
See also http://sourceforge.net/projects/hacd/ and http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=4&t=6619
Thanks to Sujeong Kim for the integration with the Bullet/Demos/ConvexDecompositionDemo
2011-07-07 00:28:15 +00:00
erwin.coumans
d9a1a1d415 fix bug in the OPC_ArraySAP.cpp (used in Extras/CDTestFramework to compare agains Bullet broadphases)
Thanks to Olli-Pekka Räsänen for the report, mentioned by Pierre Terdiman in his blog:
http://www.codercorner.com/blog/?p=475
2011-04-18 00:08:48 +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
e9f2176804 fixes in AllBulletDemos OSX projectfile 2011-04-07 17:08:21 +00:00
erwin.coumans
a4e8213ede Implemented btDiscreteDynamicsWorld::addSpeculativeContacts, using conservative advancement to find contact point ahead of time
make Extras/ConvexDecomposition thread safe, Issue 501
some improvements to the btInternalEdgeUtility, patch from Issue 501
2011-04-07 06:23:34 +00:00
erwin.coumans
5454652e44 fix bug in btBulletWorldImpoter, thanks to Dirk Gregorius for sharing a .bullet file that reproduces the bug 2011-03-19 20:23:38 +00:00
erwin.coumans
7c3db274c2 add support for btScaledBvhTriangleMeshShape serialization (export and import through btBulletWorldImporter) 2011-03-12 20:25:03 +00:00
erwin.coumans
0c11538a28 Make a copy of btStridingMeshInterfaceData during import, so that the in-place data can be removed.
See http://code.google.com/p/dynamica/issues/detail?id=17
2011-03-12 06:17:54 +00:00
erwin.coumans
ed76ad98c2 update serialization structures 2011-03-12 04:43:31 +00:00
erwin.coumans
10580c94bd remove constraints/rigid bodies from dynamics world in btBulletWorldImporter
Thanks to vicariousentertainment, see http://code.google.com/p/dynamica/issues/detail?id=16
Enable SIMD OpenCL cloth solver by default
enable keyboard 'up' for Windows (non-Glut) version
2011-03-11 23:27:04 +00:00
erwin.coumans
5a4d65f2fe update Mac OSX xcode project 2011-03-07 23:48:40 +00:00
erwin.coumans
ecaf8d2594 Generate a single bullet.h headerfile for serialization, to make it easier to load .bullet files with no dependencies on the Bullet SDK (except Bullet/LinearMath and Bullet/Extras/Serialize/BulletFileLoader)
Added a work-in-progress example how to load a .bullet file using this bullet.h file (and not using the Bullet SDK)
2011-02-21 22:32:12 +00:00
erwin.coumans
dd7ee6919e serialize btGeneric6DofSpringConstraint
serialize btSoftBody::Joint
See also Issue 456
2010-12-16 02:35:44 +00:00
erwin.coumans
6173a30bce Improved BulletSoftBody serialization, added cluster support. Joints and copying data from GPU back to softbody are the main todo.
Updated the Bullet/Demos/SerializeDemo to load .bullet files with the softbody data.

BulletSoftBody should use getWorldTransform and not getInterpolationWorldTransform
Fix btBulletWorldImporter so that it creates a copy of the index/vertex data, this prevents crashes when deleting the .bullet file with triangle meshes.
2010-12-03 03:11:21 +00:00
erwin.coumans
032c6bfe2c add initial support for soft body / cloth serialization, and updated SerializeDemo to load soft bodies/cloth.
Serializes soft body nodes (vertices), links, faces, tetrahedra, materials, anchors with rigid bodies.
Some todo's are serialization of pose, constraints between soft bodies
2010-12-01 05:55:08 +00:00
erwin.coumans
cbeb5864eb Fixes in build systems for autotools and cmake, see Issue 438
Thanks to Daniel KO Listas at the ODE mailing list
Don't build graphics demos when OpenGL or GLUT is not found
CMake will still build the non-graphical HelloWorld demo (output text to console)

Fix linker error: ThreadingDemo requires pthreads on UNIX systems
Thanks to reptor, see also http://bulletphysics.org/Bullet/phpBB3/posting.php?mode=reply&f=9&t=5748
2010-10-06 23:07:00 +00:00
erwin.coumans
318e0d74dc Fix in btQuickprof that caused crash in ConcaveConvexcastDemo.cpp
Thanks to Roman Ponomarev for the report
Make btVector3::rotate const
Thanks to lepoussin, see Issue 428
CMakeLists.txt improvement: don't copy resources when INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES is set
CMakeLists.txt improvement: INSTALL_EXTRA_LIBS for ConvexDecomposition and GIMPACTUtils
Thanks to andrebra, see Issue 425
2010-09-18 00:24:50 +00:00
erwin.coumans
de56f3a473 revert old change to bullet.pc.in file for autotools. Note that autotools builds/installs lowercase libraries and cmake uses upper/camel case.
fix minor Blender serialization issue (not applicable to .bullet files, but code base is shared)
2010-09-07 20:26:22 +00:00
erwin.coumans
a022c9a555 update .bullet format to 2.77, embed DNA inside its own chunk 2010-08-24 20:49:41 +00:00
erwin.coumans
32433aa8b3 Allow to link the DX11ClothDemo against the 64bit DirectX SDK for x64 builds
Fix memory leaks in btBulletFile and btParallelConstraintSolver (and added some additional profile timers)
2010-08-19 20:03:23 +00:00
erwin.coumans
844a54a409 Fix broken CDTestFramework
Avoid crash in BulletWorldImporter, ignoring 'invalid' constraints between two static bodies
Use a bitfield for btCollisionObject::CollisionObjectTypes (to allow custom types that are derived from build-in types such as btRigidBody)
Revert/improve softbody debug rendering
2010-08-15 20:45:55 +00:00
erwin.coumans
1cb3365771 revert change in bFile, it broke serialization 2010-07-22 00:19:43 +00:00
erwin.coumans
e3f4f6f1c5 fix double-precision support
improve serialization, better search for SDNA1 tag
2010-07-21 23:59:41 +00:00
erwin.coumans
0d53b77e41 add missing files in AllBulletDemos.xcodeproj 2010-07-21 23:34:57 +00:00
erwin.coumans
7684c1b92d use relative path, to make it easier to include btBulletWorldImporter, #include "../BulletFileLoader/btBulletFile.h"
Create a separate library for MiniCL (a rudimentary OpenCL wrapper to run kernels on multi-core CPU using the default C++ compiler, using Win32 Threads or Posix)
tweak vectormath/vmInclude.h for PS3 platforms
fix warning in btKinematicCharacterController
2010-07-21 21:33:40 +00:00
erwin.coumans
5fd08505ba Serialization fix: workaround for conflicting SDNA data -> SDNANAME (needs better fix)
Serialization fix imported from gamekit, see http://code.google.com/p/gamekit/source/detail?r=433
2010-07-20 13:55:12 +00:00
erwin.coumans
745b3d4e05 fix some warnings, see Issue 400 2010-07-20 01:09:34 +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
d2cc0d73c5 avoid crash in .bullet file reading on empty files (or file-not-found) 2010-05-12 23:18:11 +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
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
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
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
8b1e1c9fdf comment-out unused var 2010-03-02 12:12:46 +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