erwin.coumans
85341fee2a
fix more places in btSoftBody that assume btRigidBody (it wasn't designed to support btCollisionObject/btGhostObject).
...
Add another 'findActiveObject'
2008-11-10 21:33:11 +00:00
erwin.coumans
3c0ca0d931
Fix btSoftBody issue, so it can interact with btCollisionObject and btGhostObject (and not just btRigidBody and btSoftBody)
...
Thank for the report mi076 http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2823
remove legacy.c from libxml
removed #include <math.h> from btQuadWord.h , it should be centralized in btScalar.h (to allow easier replacement with fastmath.h etc)
2008-11-10 20:33:14 +00:00
erwin.coumans
2a871176d4
fix broken OS X build
2008-10-29 07:01:56 +00:00
erwin.coumans
487cc1cdf1
avoid a lot of dynamic allocations in btDbvt/btSoftBody (re-use stack)
...
add Maya 2009 to Dynamica msvc projectfiles
2008-10-29 06:27:40 +00:00
erwin.coumans
b18aa2b375
Some performance improvements and fixes related to btVector3 being aligned on SPU.
...
btQuantizedBvh has a version number, memory layout might be different now (due to aligned btVector3)
reorganized some data members of some classes, to reduce memory footprint
2008-10-29 02:45:07 +00:00
id0x1234
7f52613c45
Fixed Cluster::m_ndamping issue.
2008-10-17 12:44:19 +00:00
erwin.coumans
60ce828419
Autoformat selection for soft body, btDbvt related classes (no code change, just layout using Visual Studio)
2008-10-15 18:39:27 +00:00
erwin.coumans
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.
2008-10-15 18:30:35 +00:00
erwin.coumans
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
2008-09-26 21:59:03 +00:00
erwin.coumans
d2f7f9d25b
make soft bodies more compatible with rigid body API: disable setCollisionShape (it would delete the shape passed in!)
2008-09-21 15:19:54 +00:00
id0x1234
2e4f634586
btSoftBody clusters memory leak fixed.
2008-09-15 10:02:30 +00:00
erwin.coumans
350e2e0393
btDbvtVolume needs to be 16-byte aligned, otherwise SIMD version crashes.
2008-09-11 20:20:31 +00:00
john.mccutchan
32bf51aa47
Fixed memory leaks in ConvexDecomposition and ColladaConverter libraries
...
Added ConvexDecompositionDemo to CMake build
2008-08-28 17:36:50 +00:00
erwin.coumans
07b577fd86
make debugDrawWorld virtual for btSoftRigidDynamicsWorld
...
Move btSoftBodyWorldInfo to public, instead of nested, so it can be easier forward declared.
See http://code.google.com/p/bullet/issues/detail?id=78
Add get methods for damping/thresholds, see http://code.google.com/p/bullet/issues/detail?id=77
2008-08-19 16:09:04 +00:00
erwin.coumans
4894f24c9a
Fixes for FPU exceptions, thanks to Phil Knight for reporting and John McCutchan for fix/workarounds.
...
Added new cluster collision methods for soft bodies, thanks to Nathanael Presson.
Enable/disable textures/shadows for specific demos.
2008-08-01 01:04:45 +00:00
erwin.coumans
3ca977e39f
Patch by Nathanael Presson: (needs some more work, some of the demos don't show properly (RayCaster, CollisionInterfaceDemo,'g' key is already occupied in ConcaveDemo etc)
...
btDbvtBroadphase:
- Fixed a performance issues reported by 'reltham'
- Added btDbvtBroadphase::optimize() for people who want good performances right away or don't do dynamics.
- fixed compilation issues when DBVT_BP_PROFILE was set.
btSoftBody:
- Fixed singular matrix issues related to polar decomposition (flat meshes).
DemoApplication:
- Shadows (enable/disable through 'g' or DemoApplication::setShadows(bool)).
- Texture can be enable/disable through 'u'
CDFramework:
- fixed compilation issues.
2008-07-28 04:33:55 +00:00
erwin.coumans
9e2e77d578
fixed accidental bug, introduced while getting rid of for (int i... for (int i...
2008-07-22 15:39:33 +00:00
erwin.coumans
3483e2dfc8
Fix btSoftBody so it compiles with older compilers, such as MSVC 6.0
...
Add support for angularFactor for applyForce, see http://code.google.com/p/bullet/issues/detail?id=59&can=1
2008-07-22 15:00:25 +00:00
erwin.coumans
d71f8d6623
Added several updates for btSoftBody: convex cluster collision detection, new constraints, new demos (only enabled in SoftBodyDemo, todo for AllBulletDemos) etc.
...
Thanks a lot to Nathanael Presson for this update.
2008-07-22 02:22:01 +00:00
erwin.coumans
884a494412
make the source code compile with older compilers again (Visual Studio 2006 in particular)
...
renamed btDbvt::Volume to btDbvtVolume and btDbvt::Node to btDbvtNode to distinguish from btSoftBody::Node
2008-07-15 23:27:18 +00:00
erwin.coumans
d9e7058ff2
Softbody improvements, thanks to Nathanael
2008-05-17 12:39:16 +00:00
erwin.coumans
bd97c5e569
Fixed warnings in Bullet/src core library
...
Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch
To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings)
Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
2008-05-10 18:00:21 +00:00
erwin.coumans
b9acc820d6
removed collision template, some code style cleanup, added btDbvhBroadphase to BenchmarkDemo
2008-05-06 02:45:56 +00:00
erwin.coumans
25c5d0d57a
+Added btDbvtBroadphase, this very fast/efficient broadphase is based on Dynamic AABB tree (btDbvt).
...
+SoftBody improvements by Nathanael Presson:
+Add tetrahedralization
+Add support for tearing/slicing cloth and deformable volumes. Uncomment the line in Bullet/src/BulletSoftBody/btSoftBodyHelpers.h: //#define BT_SOFTBODY_USE_STL 1
2008-05-05 23:19:21 +00:00
erwin.coumans
7a7b46b448
fixed Soft Body compile issues on Mac OSX, added build files
2008-04-14 07:44:54 +00:00
erwin.coumans
be2490e4fb
Final 2.68 from Nathanael Presson, mainly soft body related. Added raycast support for soft bodies (press comma-key in the soft body demos to toggle ray cast tests)
2008-04-14 06:24:56 +00:00
erwin.coumans
621be07178
move the SoftBody work into its own library, BulletSoftBody (work in progress)
2008-04-11 18:41:07 +00:00