erwin.coumans
9bc3b5eb10
Update btOpenCLUtils to allow caching of precompiled program binaries (save/load). See Bullet/Demos/SerializeDemo/AMD for an example use
...
Fix in btBulletWorldImporter: load friction/restitution and patch radius of btCapsuleShape (it needs to embed the margin)
Partly apply a modified patch to make the SerializeDemo_AMD work, but avoid breaking the MiniCL version. See Issue 594
2012-03-04 22:12:12 +00:00
erwin.coumans
9c6a790e4b
minor fix in SerializeDemo
2012-03-03 03:44:10 +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
018c526edc
Install BulletFileLoader and BulletWorldImporter if -DINSTALL_EXTRA_LIBS=ON
...
See Issue 563
2012-02-29 04:43:51 +00:00
erwin.coumans
ce50f11fea
Fix mismatching de-allocation, thanks to ravi.rathnam
...
Fixes Issue 591
2012-01-23 21:24:16 +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
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
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
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
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
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
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
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
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
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
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
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
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
5a6afb2b8d
expose the SphereTriangleDetector::collide method
...
cmake build tweaks: only compile BlenderSerialize if necessary
2010-02-24 19:27:24 +00:00
erwin.coumans
012cc0cc81
update autogenerated Bullet de-serialization headerfiles
2010-02-24 03:25:47 +00:00
erwin.coumans
9c1d134f2f
add support for btTriangleInfoMap serialization (needs testing)
2010-02-24 03:22:34 +00:00
erwin.coumans
f5fabd2676
Preparation for serialization of btTriangleInfoMap
...
Add flags to disable bvh and triangleinfomap serialization
btSerializer::setSerializationFlags(flags)
flag can have value BT_SERIALIZE_NO_BVH, BT_SERIALIZE_NO_TRIANGLEINFOMAP
2010-02-24 02:49:41 +00:00
erwin.coumans
1425feec26
minor warning fixes, issue with "direction[i] = direction[i];" on OSX
2010-02-23 18:08:44 +00:00
erwin.coumans
2a2c82b7ce
update autogenerated serialization headers
2010-02-23 09:15:53 +00:00
erwin.coumans
41e9115bca
Add support to serialize btOptimizedBvh/btQuantizedBvh for a btBvhTriangleMeshShape (using the new btSerializer). This is a new implementation, with full cross-platform support.
...
So it is different from the in-place method (btQuantizedBvh::serializeInPlace/deserializeInPlace).
It is also possible to serialize/deserialize just the bvh, using the btSerializer (needs some code snippet/helper)
See also http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4770
2010-02-23 09:03:46 +00:00
erwin.coumans
5ab92c0083
fix issue with serialization (only happens when using the BT_INTERNAL_UPDATE_SERIALIZATION_STRUCTURES option)
2010-02-22 22:47:15 +00:00