erwin.coumans
7c3db274c2
add support for btScaledBvhTriangleMeshShape serialization (export and import through btBulletWorldImporter)
2011-03-12 20:25:03 +00:00
erwin.coumans
ed76ad98c2
update serialization structures
2011-03-12 04:43:31 +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
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
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
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
d2cc0d73c5
avoid crash in .bullet file reading on empty files (or file-not-found)
2010-05-12 23:18:11 +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
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
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
012cc0cc81
update autogenerated Bullet de-serialization headerfiles
2010-02-24 03:25:47 +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
erwin.coumans
890fd49813
don't serialize names twice,
...
register unknown chunks (used for rigid body/shape/constraint names)
2010-02-20 03:19:27 +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
32b4de20ab
Fixed some serialization issues related to swapping endianness of DNA, and fixed memory leak in btSerializer
2010-02-13 01:33:28 +00:00
erwin.coumans
1a87fbf2f0
btBulletWorldImporter support for loading of btCollisionObject from a .bullet file.
...
minor compilation fix on PS3
Yippie, revision 2000!
2010-02-13 00:43:42 +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
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
37f6df2c32
added serialization support for gimpact mesh
...
improved cmake build system for updating the serialization structures
2010-01-29 02:50:34 +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
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
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
26a056e629
More work on serialization and BulletFileLoader
2010-01-22 00:15:33 +00:00