6463605e54
cmake more fixes
erwin.coumans
2010-02-11 22:09:08 +00:00
065a56ee4b
fix Mac OSX build
erwin.coumans
2010-02-11 21:41:05 +00:00
10c300c7a0
sprintf_s and strcpy_s breaks mac build, remove for now. If we want safe versions, we need to implement a btSprintf and byStrCpy version
erwin.coumans
2010-02-11 21:33:51 +00:00
d4c3633405
Get rid of btSolverBody and use btRigidBody directly. btSolverBody didn't improve performance after all, due to random-access
erwin.coumans
2010-02-11 20:30:56 +00:00
bb8d1b11df
Add btBroadphaseInterface::aabbTest. btDbvtBroadphase and btAxisSweep3 should perform well, as long as the raycast accelerator is enabled.
erwin.coumans
2010-02-11 18:25:50 +00:00
14f65a5cac
fix minor issue with cmake build system
erwin.coumans
2010-02-09 21:12:36 +00:00
f567130d78
add option to compile benchmark using BulletMultiThreaded (for now the option is only tested on Windows)
erwin.coumans
2010-02-08 23:50:33 +00:00
7d4e2873e2
move some recent MiniCL work to trunk
erwin.coumans
2010-02-08 22:42:58 +00:00
52e60c8246
manually disable incremental build (cmake seems to have issues with it still) -> find and replace in all files LinkIncremental="2" -> LinkIncremental="1"
erwin.coumans
2010-02-08 20:38:44 +00:00
6a8a8ad39f
more improvements for msvc cmake build system and test for autogenerated cmake projectfiles for msvc 2008 in msvc/2008 (with relative paths)
erwin.coumans
2010-02-08 20:35:04 +00:00
558abff4db
added extra file search path for cmake-generated msvc projectfiles (needs 4 levels back)
erwin.coumans
2010-02-08 08:51:08 +00:00
a6d9e977f7
A bit more work on the cmake build system, copy glut32.dll or glut64.dll into binary directory for out-of-source builds. Include .rc resource file (to add icon) for WIN32 cmake.
erwin.coumans
2010-02-08 08:12:04 +00:00
7782952d6b
Add a minimum solver 'batch' size to avoid solving many small (independent) islands separately Default size is 128 . Disable feature by using dynamicsWorld->getSolverInfo().m_minimumSolverBatchSize = 1;
erwin.coumans
2010-02-06 22:21:44 +00:00
a9556d0fd5
use _WIN32 instead of WIN32 (_WIN32 is a compiler built-in) add virtual destructor to bFile
erwin.coumans
2010-02-06 18:50:45 +00:00
744774d9ad
re-added SpuSync.h, it might come handy at some stage
erwin.coumans
2010-02-06 01:09:29 +00:00
04b7a7fff4
remove dead btSliderConstraint code
erwin.coumans
2010-02-05 01:51:57 +00:00
c31e2ed064
getInfo2NonVirtual() merged to getInfo2NonVirtualUsingFrameOffset() to reduce code size
rponom
2010-02-04 23:56:08 +00:00
0cb44b169d
variables were initialized in the wrong order (warning)
erwin.coumans
2010-02-04 23:12:31 +00:00
2e094c62ac
remove a little bit of code duplication, small fix (nrow should be srow), and initialize return value to SIMD_INFINITY for nonvalid parameters/axis.
erwin.coumans
2010-02-04 23:06:25 +00:00
5364f22047
use #include "BulletHeaders.h" instead of #include <BulletHeader.h>
erwin.coumans
2010-02-04 20:37:06 +00:00
e83ef9cb1c
remove projectfiles from trunk for now, use cmake instead see INSTALL file
erwin.coumans
2010-02-04 06:40:33 +00:00
3598c01c9b
INSTALL file update: remove references to jam and msvc projectfiles and point to cmake as primary build system for all operating systems
erwin.coumans
2010-02-04 06:08:02 +00:00
efd37afac7
autogenerate projectfiles using cmake
erwin.coumans
2010-02-04 05:51:12 +00:00
8139ea3d83
update version to 2.76 in several places
erwin.coumans
2010-02-04 05:33:06 +00:00
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
erwin.coumans
2010-02-04 05:28:17 +00:00
af1dafc659
Fix for the slider constraint (case when useLinearReferenceFrameA == false)
rponom
2010-02-04 01:21:45 +00:00
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.
erwin.coumans
2010-02-04 01:07:07 +00:00
43d82fc20c
Bug in command registration/deregistration fixed One more path to Maya SDK added
rponom
2010-02-04 00:38:15 +00:00
87b313d715
Add flags to btRigidBody to disable world gravity.
erwin.coumans
2010-02-03 23:58:48 +00:00
219517db2d
move static globals inside static member functions, to avoid hassle with C#/CLI/C++ managed code, compile error C3820
erwin.coumans
2010-02-03 23:27:22 +00:00
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.
erwin.coumans
2010-02-03 23:04:39 +00:00
1cd52f3d11
Removed empty constructors for constraints, I don't recall why we added them (possibly SPU) but if we really need them we have to revert this.
erwin.coumans
2010-02-03 23:02:33 +00:00
d58081ce37
Provide easier access to CFM and ERP (and Stop ERP/Stop CFM) for constraints in a similar way to Open Dynamics Engine
erwin.coumans
2010-02-03 22:16:09 +00:00
f34bb0176c
minor compile fixes for __CELLOS_LV2_
erwin.coumans
2010-02-03 02:20:09 +00:00
23c814f699
show ".bullet" as file extension in the Maya plugin, by implementing MString filter() const;
erwin.coumans
2010-02-02 18:56:28 +00:00
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!)
erwin.coumans
2010-02-02 07:58:53 +00:00
6850b72ef6
added Mac OSX XCode projectfile for BulletMayaPlugin, tested with Maya 2010
erwin.coumans
2010-02-02 06:24:00 +00:00
34c7b38ac7
fixes for Mac Maya plugin. still need to figure out the flags for a 64bit build
erwin.coumans
2010-02-01 15:54:31 +00:00
2050afaa3c
remove binary (BulletMayaPlugin.mll) and fix name BulletMayaPlugin (to match previous NSI Installer script)
erwin.coumans
2010-01-31 19:38:29 +00:00
d734225345
Added initial cmake option to build Maya plugin (Bullet Dynamica), only tested under Windows so far.
erwin.coumans
2010-01-31 19:20:13 +00:00
c71b968110
fixes on unix (new lines and case)
erwin.coumans
2010-01-30 23:48:19 +00:00
e57f03599a
make Bullet compile on Visual Studio 6
erwin.coumans
2010-01-30 23:10:12 +00:00
788f48643b
remove all warnings on Mac OSX Snow Leopard
erwin.coumans
2010-01-30 22:31:56 +00:00
77b773f470
more improvements, copy testFile.bullet to target binary directory (cmake), fix some warnings
erwin.coumans
2010-01-30 21:46:50 +00:00
f9ad5cf587
fixes in serialization, should fix non-Windows platforms.
erwin.coumans
2010-01-30 21:31:56 +00:00
4fcea85c01
Changed options to BT_TRIANGLE_CONVEX_BACKFACE_MODE ,BT_TRIANGLE_CONCAVE_DOUBLE_SIDED and BT_TRIANGLE_CONVEX_DOUBLE_SIDED.
erwin.coumans
2010-01-30 10:44:16 +00:00
fbc4089e3f
add btAdjustInternalEdgeContacts options for BT_TRIANGLE_CONVEX_BACKFACE_MODE (defaults to front facing) and BT_TRIANGLE_CONCAVE_SINGLE_SIDED
erwin.coumans
2010-01-30 10:21:40 +00:00
d5f5ddf2f1
Bullet debug draw added It is off by default, see attributes of dSolverNode to turn it on
rponom
2010-01-30 04:21:12 +00:00
08f597454a
minor fix for InternalEdgeDemo
erwin.coumans
2010-01-30 03:59:58 +00:00
e311597a7b
added InternalEdgeDemo and fixes for btInternalEdgeUtility
erwin.coumans
2010-01-30 03:48:57 +00:00
8616ea07d8
copy glut*.dll next to executable using cmake postbuild step re-add CollisionInterfaceDemo to cmake
erwin.coumans
2010-01-29 17:47:17 +00:00
37f6df2c32
added serialization support for gimpact mesh improved cmake build system for updating the serialization structures
erwin.coumans
2010-01-29 02:50:34 +00:00
701bc64ab7
re-enable the GenericJointDemo for CMake
erwin.coumans
2010-01-29 00:46:59 +00:00
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)
rponom
2010-01-29 00:03:45 +00:00
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.
rponom
2010-01-28 23:41:09 +00:00
ae0e78efd8
add support for serialization/writing DNA on big endian machines fix for swapping endianness for nested array of structures
erwin.coumans
2010-01-28 10:56:38 +00:00
a082716fe2
SerializeDemo only loads the testFile.bullet by default (making it a handy .bullet file viewer) Also note that pressing the '=' key while running any of the demos will create/serialize a physics snapshot to testFile.bullet
erwin.coumans
2010-01-28 00:22:26 +00:00
485d1a338e
fix btCompoundShaps serialization of child shapes added ConcaveDemo to cmake added LinearMath/btSerializer.h to btBulletCollisionCommon.h
erwin.coumans
2010-01-27 23:37:46 +00:00
7a445d70b7
fix bug in serialization buffer allocation btAlignedAlloc(16,totalSize); should be btAlignedAlloc(totalSize, 16); added cmake-autogenerated MSVC 2008 projectfiles in msvc/2008
erwin.coumans
2010-01-27 22:24:07 +00:00
725411a1f3
added a warning to all serialization structures: ///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
erwin.coumans
2010-01-27 02:41:38 +00:00
cd15b314c1
revert minor local change
erwin.coumans
2010-01-27 02:16:17 +00:00
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
erwin.coumans
2010-01-27 02:13:56 +00:00
7003823bed
minor tweak to BenchmarkDemo to enable toggling between console/graphical output Disable island manager for 3000 falling boxes: we need to add some batching rather then running thousands of single-body islands
erwin.coumans
2010-01-26 08:32:39 +00:00
e6922f2af6
revert accidental commit of btSerializer.h
erwin.coumans
2010-01-26 02:25:48 +00:00
44565d20f4
added serialization support for btCompoundShape, btCapsuleShapeX/Z, btCylinderShapeX,Z make some serialization methods const prepare for constraint serialization
erwin.coumans
2010-01-26 02:24:03 +00:00
2f44eabd7d
fix, no argument to setZero
erwin.coumans
2010-01-25 23:41:22 +00:00
8bab40b49b
initialize inertia to zero
erwin.coumans
2010-01-25 23:39:55 +00:00
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
erwin.coumans
2010-01-25 21:58:32 +00:00
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
erwin.coumans
2010-01-25 19:42:51 +00:00
9d7d1c3983
more work on serialization, initial for btTriangleMeshShape/btBvhTriangleMeshShape (only for floating point vertices, integer indices) work-in-progress
erwin.coumans
2010-01-23 20:59:41 +00:00