82448a3942
minor IFF.h changes to migrate from .c to .cpp
erwin.coumans
2008-10-27 00:05:32 +00:00
14ba3eaff7
rename from .c to .cpp, and updated 23 year old IFF source code (1985)
erwin.coumans
2008-10-26 23:47:35 +00:00
2a721c7489
Updated original EA-IFF-85 files to read and write Interchange File Format files. Plan is to convert COLLADA XML into IFF, for faster, more compact and easier to read and parse files. Reading/writing code is a few hundred lines of code, instead of COLLADA-DOM and libxml combo. So it would be suitable as a run-time format for platforms ranging from iPhone to PlayStation 3. Relevant physics data (and perhaps other data) will be converted from COLLADA -> IFF. We could call the resulting files COLLADA binary IFF -> CLIFF.
erwin.coumans
2008-10-26 23:04:43 +00:00
92c69ddefa
added missing files to build systems for CMake and Automake (Makefile.am still needs to add additional include directory for BulletMultiThreaded, for vectormath)
erwin.coumans
2008-10-21 19:06:29 +00:00
a05ae6e715
added src/BulletMultiThreaded/vectormath/scalar/cpp to include path for BulletMultiThreaded module
erwin.coumans
2008-10-21 19:05:50 +00:00
557ff39996
added image for the Nail constraint
nicola.candussi
2008-10-21 10:37:43 +00:00
c508711108
remove GIMPACT and added new dNailConstraint files to Dynamica Maya plugin projectfile
erwin.coumans
2008-10-21 04:35:30 +00:00
e6202f58ad
1)Added SCE Physics Effects boxBoxDistance BulletMultiThreaded/NarrowPhaseCollision makes use of this boxBoxDistance. Cache some values in src/BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.cpp, to avoid DMA transfers
erwin.coumans
2008-10-20 20:12:39 +00:00
b95810245f
Added constraint framework, and the nail contraint
nicola.candussi
2008-10-20 10:43:18 +00:00
c986721fb6
Added btGhostObject to projectfiles
erwin.coumans
2008-10-18 05:29:31 +00:00
4cbb3f2e7b
Added btGhostObject and btPairCachingGhostObject functionality. It is a fast way to keep track of overlapping objects in an area, and doing rayTest and convexSweepTest for overlapping objects, instead of btCollisionWorld::rayTest/convexSweepTest.
erwin.coumans
2008-10-18 01:33:23 +00:00
b48d05d52a
Preliminary adding btGhostObject. It can be useful for collision sensors, explosion objects, character controller etc.
erwin.coumans
2008-10-16 22:29:38 +00:00
b32a0e3491
Removed ray-AABB slopes code again, we are not using it and it is archived in Subversion repo now.
erwin.coumans
2008-10-16 20:19:01 +00:00
947a44452d
Removed ray-AABB slopes code again, we are not using it and it is archived in Subversion repo now.
erwin.coumans
2008-10-16 20:18:41 +00:00
e627f38a28
Removed ray-AABB slopes code again, we are not using it and it is archived in Subversion repo now.
erwin.coumans
2008-10-16 20:18:23 +00:00
945b299e56
some rayTest improvements in btDbvt::rayTestInternal, it avoids/reduces memory allocations during stack allocation (by sharing a persistent m_stack) and rayTestInternal re-uses precomputed invRayDirection/signs. also did some performance comparison with different ray-AABB test, from http://jgt.akpeters.com/papers/EisemannEtAl07/
erwin.coumans
2008-10-16 20:01:02 +00:00
675c45f42d
some rayTest improvements in btDbvt::rayTestInternal, it avoids/reduces memory allocations during stack allocation (by sharing a persistent m_stack) and rayTestInternal re-uses precomputed invRayDirection/signs. also did some performance comparison with different ray-AABB test, from http://jgt.akpeters.com/papers/EisemannEtAl07/
erwin.coumans
2008-10-16 20:00:47 +00:00
60ce828419
Autoformat selection for soft body, btDbvt related classes (no code change, just layout using Visual Studio)
erwin.coumans
2008-10-15 18:39:27 +00:00
cac172d422
Use consistent rayFrom/rayTo API for rayTest for btDbvt and btSoftBody, instead of rayCast/collideRAY(origin,direction). This means RayFromToCaster has a fraction [0..1] instead of distance [0..INF] Renamed collideRay -> rayTest to reflect change to (rayFrom,rayTo) interface. Re-use btRayAabb2 function from src/LinearMath/btAabbUtil2.h in btDbvt instead of duplicated implementation.
erwin.coumans
2008-10-15 18:30:35 +00:00
e6c850f13b
Fix/improve raycast performance for btBvhTriangleMeshShape (btQuantizedBvh, btOptimizedBvh) Add raycast acceleration for btAxisSweep3, using btDbvtBroadphase, providing large speedup. Can be disabled in constructor to safe memory.
erwin.coumans
2008-10-14 20:24:28 +00:00
fffca75e9f
Make raycast benchmark default, to show improved raycasting performance. Add rayTest to btBroadphaseInterface, and implement efficient version for btDbvtBroadphase to accelerate raycasting. btAxisSweep3, btSimpleBroadphase and btMultiSapBroadphase implement brute-force method (as before). For now, it is recommended to use btDbvtBroadphase for fastest world raycast.
erwin.coumans
2008-10-14 06:23:45 +00:00
374e97fa8b
even more build system changes.
erwin.coumans
2008-10-11 06:11:26 +00:00
e4ed38e7f6
more build system changes, to reflect Gimpact/BulletMultiThreaded move from Extras to src
erwin.coumans
2008-10-11 05:52:45 +00:00
22a79e61b1
updated Jamfile build system for reorganized files/folders
erwin.coumans
2008-10-11 05:23:00 +00:00
b6f0434832
a few modifications to BulletMultiThreaded, add 'setNumTasks' to interface, reorganize DMA transfers to allow larger btBroadphaseProxy size
erwin.coumans
2008-10-11 00:01:08 +00:00
512c0f167e
moved Extras/Gimpact to src/BulletCollision/Gimpact moved Extras/BulletMultiThreaded to src/BulletMultiThreaded (build systems will be updated soon)
erwin.coumans
2008-10-10 19:48:36 +00:00
6f6f88fa08
bump up version, add changelog entry for aabb/raytest improvements
erwin.coumans
2008-10-10 18:21:22 +00:00
9ad17dda22
Add aabbMin/aabbMax to broadphase proxy, and improve rayTest performance. Todo: use broadphase acceleration structure (btDbvtBroadphase etc) for ray test
erwin.coumans
2008-10-10 17:32:52 +00:00
a42b7d93f1
Stop resitution for resting contact, after n frames (can be controlled by btContactSolverInfo.m_restingContactRestitutionThreshold Thanks Jan Bender for bringing this up
erwin.coumans
2008-10-09 16:24:00 +00:00
0508c3a5d5
Disable TEST_NON_VIRTUAL debugging for btGjkPairDetector
erwin.coumans
2008-10-08 21:00:15 +00:00
10d103b50e
Disable TEST_NON_VIRTUAL debugging for btGjkPairDetector Reverted BulletMultiThreaded, there are some performance issues to be resolved.
erwin.coumans
2008-10-08 20:59:26 +00:00
e499a13572
Copy the cached local AABB for ConvexHullShape instead of recomputing it.
john.mccutchan
2008-10-08 16:59:55 +00:00
37f6b006af
Move some code (mainly constructors) into header files. Add parameter to optionally compute local AABB for ConvexPointCloudShape Add setter and getter for cached local AABB in PolyhedralConvexShape
john.mccutchan
2008-10-08 16:56:08 +00:00
7b1f30f1cf
btGjkEpa2 should call getMarginNonVirtual instead of getMargin()
john.mccutchan
2008-10-08 16:53:56 +00:00
288df0df65
don't include cfloat by default, it breaks OSX and Linux build
erwin.coumans
2008-10-06 06:00:35 +00:00
2998d2a8f3
Added ReadBlend, a data extraction API for Blender's .blend files This can come in handy, to author physics data for Bullet from Blender, and directly get the physics data straight from the .blend file
erwin.coumans
2008-10-06 03:53:51 +00:00
30a13d5b5d
updated INSTALL file and btCollisionWorld doxygen, adding ./autogen.sh and make support.
erwin.coumans
2008-10-04 14:52:01 +00:00
b281057337
made shape construction virtual, to allow destruction of memory of btCollisionShape
erwin.coumans
2008-10-04 01:11:40 +00:00
23b2767100
add support for exporting static plane shape in ColladaConverter.
erwin.coumans
2008-10-03 23:58:55 +00:00
9e8410dbae
Add libgimpact, libgimpactutils, libglui, libconvexdecomposition, soft body demo, all bullet demos to autotools build
john.mccutchan
2008-10-03 23:01:04 +00:00
854aaea56a
renamed 'failed' into not found, to make it sound less dramatic (it continues fine). add cmake/msvc as alternative build options, at the end of configure.
erwin.coumans
2008-10-03 22:45:54 +00:00
192198f365
Fixes for Mac OS X
john.mccutchan
2008-10-03 22:20:20 +00:00
a70b0550ef
[Autotools] Add support for opengl_LIBS on Apple
john.mccutchan
2008-10-03 21:27:01 +00:00
cb8ecc0d2f
Fixes for UNIX build system
john.mccutchan
2008-10-03 21:00:57 +00:00
e431450620
Initial support of Autoconf / Automake build system
john.mccutchan
2008-10-02 22:23:01 +00:00
4e70343a8b
by default, a btTriangleIndexVertexArray has no setPremadeAabb, so initialize m_hasAabb to zero.
john.mccutchan
2008-10-02 22:15:53 +00:00
425376a416
Update MayaPlugin projectfiles, to compile for Maya 8.5, when available. If multiple Maya versions are installed, the include path order is Maya 2008 -> 8.5 -> 8.0
erwin.coumans
2008-10-02 01:29:10 +00:00
0ca2eef022
FIX: use btScalar instead of float, otherwise double precision build breaks FIX: make Maya plugin compile for Maya 8.0 FIX: btDbvt SSE doesn't compile for double precision builds
erwin.coumans
2008-10-02 01:17:18 +00:00
c265db0007
updated auto-generated MSVC projectfiles, for new btConvexPointCloudShape
erwin.coumans
2008-10-01 23:58:22 +00:00
1800169604
add new files to CMake
erwin.coumans
2008-10-01 23:45:54 +00:00
0ff15db3f3
+ capsule should subtract margin, and take local scaling into account. + boxshape uses btFsels + add assert in btGjkPairDetector that the new non-virtual method produces the same result as old non-virtual
erwin.coumans
2008-09-30 18:37:01 +00:00
9f28b2bc12
Improve damping formula in btRigidBody::applyDamping Thanks to sparkprime, see http://code.google.com/p/bullet/issues/detail?id=74 Fixed btCompoundShape/btCapsuleShape/btGImpactShape for missing m_shapeType, and added an assert in DemoApplication::localCreateRigidBody for invalid shape types.
erwin.coumans
2008-09-30 00:34:58 +00:00
d221d3be8d
Update btSoftBodyCollisionShape to set m_shapeType
erwin.coumans
2008-09-30 00:05:44 +00:00
f3b417df6c
Modification to SPU collision detection and ray cast code to share implementation of GJK, EPA, Minkowski penetration depth solver, voronoi simplex solver across multi-threaded and non-multi-threaded versions.
john.mccutchan
2008-09-29 22:48:44 +00:00
2b71784c86
Make getShapeType() a non virtual function. Add localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, getAabbNonVirtual and getMarginNonVirtual methods to convex shape classes
john.mccutchan
2008-09-29 22:47:05 +00:00
41b6eaa87f
Change to make serializing btOptimizedBvh/btQuantizedBvh properly deterministic. Contributed by reltham.
john.mccutchan
2008-09-29 21:17:37 +00:00
e590f4a721
fixed some outstanding issues with Bullet soft bodies: 1) re-allocate a pool allocator, if one of the soft body collision algorithms is larger than max pool element size 2) manage child shapes properly, and call RemoveReferences on the m_sparsesdf
erwin.coumans
2008-09-26 23:39:17 +00:00
682a0a1b90
fixed btSoftBodyConcaveCollisionAlgorithm, wrong bounding box transformation added vertex welding option for btTriangleMesh (brute-force slow) reject appendFace for some degenerate triangles (all 3 vertices/nodes need to be different) add setVelocity method for btSoftBody
erwin.coumans
2008-09-26 21:59:03 +00:00
e0d1c1d057
fixed the bug were the first object created was translated back to the origin
nicola.candussi
2008-09-24 12:40:15 +00:00
752eb583d0
some minor work on soft body, to make it easier to integrate into apps.
erwin.coumans
2008-09-24 02:41:50 +00:00
d7b635cabf
logic bug in (de)activation/island management: deactivated 'fantom' objects do merge islands, in particular when connected by constraints. (fantom = object with collision detection but no collision response).
erwin.coumans
2008-09-23 04:57:20 +00:00
965ef932e9
fixed rotation and translation issues for mesh and hull collision shapes
nicola.candussi
2008-09-22 18:07:39 +00:00
a5da7347db
changed order in link libraries, math should go last
erwin.coumans
2008-09-22 14:33:39 +00:00
106b18813e
copying the initial* to position and rotation for rigid body arrays in the first frame
nicola.candussi
2008-09-22 10:41:56 +00:00
255de503e0
renamed OBJ to COLLADA
erwin.coumans
2008-09-22 02:12:35 +00:00
3d64413ec2
Add Dynamica Bullet installer script for NSIS Nullscript scriptable install system 2.39 for Windows. Assumes Microsoft Visual Studio 2005 installed in the default location, and BulletMayaPlugin.mll compiled.
erwin.coumans
2008-09-22 02:01:09 +00:00
d2f7f9d25b
make soft bodies more compatible with rigid body API: disable setCollisionShape (it would delete the shape passed in!)
erwin.coumans
2008-09-21 15:19:54 +00:00
323df8f85b
btDbvtBroadphase, fixed missed pairs when m_deferred collide was set to false.
id0x1234
2008-09-21 02:21:22 +00:00
8ae3f92859
encountered some issue with the btDbvtBroadphase, switch of a deferred collision feature.
erwin.coumans
2008-09-21 01:15:05 +00:00
8db0285d4f
attempt to support negative local scaling for btConvexHullShape, btConvexInternalShape-derived classes and btScaledBvhTriangleMeshShape
erwin.coumans
2008-09-20 23:47:38 +00:00
58f2747acf
fixed and re-enabled sphere-sphere collision: contact points were not properly removed/refreshed.
erwin.coumans
2008-09-20 22:33:36 +00:00
56d88e18f8
disable sphere-sphere collision algorithm, it is buggy.
erwin.coumans
2008-09-20 01:59:06 +00:00
a7c83d01b9
Added ReleaseDll and DebugDll configurations for MSVC projectfiles. Fixed the MayaPlugin projectfile, using those ReleaseDll/DebugDll projects.
erwin.coumans
2008-09-20 00:47:04 +00:00
15df743b51
add ReleaseDll and DebugDll configuration for Jam msvcgen build system, to support plugin development (such as Extras/MayaPlugin)
erwin.coumans
2008-09-20 00:22:18 +00:00
486b172f58
Bug in constructor btHingeConstraint(body, pivot, axis) fixed. Build under MSVC 7.1 fixed
rponom
2008-09-19 21:10:01 +00:00