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
752eb583d0
some minor work on soft body, to make it easier to integrate into apps.
2008-09-24 02:41:50 +00:00
erwin.coumans
8db0285d4f
attempt to support negative local scaling for btConvexHullShape, btConvexInternalShape-derived classes and btScaledBvhTriangleMeshShape
2008-09-20 23:47:38 +00:00
erwin.coumans
93d1d24234
Some changes in rendering, to get shadows for trimeshes
...
Add dynamic aabb tree (btDbvt) optimization for btCompoundShape/btCompoundCollisionAlgorithm
Add btTransformAabb util, todo: deploy it throughout the codebase
2008-09-10 05:20:04 +00:00
erwin.coumans
6c426f9545
make those members private, in btScaledBvhTriangleMeshShape
2008-09-07 05:30:35 +00:00
erwin.coumans
6b365a7ca5
Add get methods for localAabbMin/localAabbMax, required for btScaledBvhTriangleMeshShape
2008-09-07 05:00:55 +00:00
erwin.coumans
d836e83ea2
Added btScaledBvhTriangleMeshShape. The btScaledBvhTriangleMeshShape allows to instance multiple differently scaled versions of an existing btBvhTriangleMeshShape.
...
All those instances re-use the same btBvhTriangleMeshShape child shape (and its btOptimizedBvh).
2008-09-07 04:59:57 +00:00
erwin.coumans
398d681b22
fixed compile error for btConvexTriangleMeshShape.
...
Thanks to slackydeb for the report, http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2567
2008-09-05 18:30:18 +00:00
erwin.coumans
359c84d3b3
Fix previous commit, accidently removed some aabbMin/aabbMax assignments.
...
move margin calculation for aabb before basis transform.
2008-09-05 00:26:02 +00:00
erwin.coumans
d8a5bf2c9c
Calculation of bounding box: margins should be added before basis transform.
...
Disable btSphereBoxCollisionAlgorithm, it is broken.
More fixes for btSimpleBroadphase
Moved quickstep to Extras/quickstep folder, so developers don't get confused which constraint solver is default.
2008-09-04 22:53:24 +00:00
erwin.coumans
ae1702cfca
Bugfix in btOptimizedBvh, update curNodeSubPart correctly.
...
Thanks to Ole K. for the report and patch:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2558&p=10251#p10251
2008-09-04 18:31:28 +00:00
erwin.coumans
7380db7653
Methods to compute more accurate inertia tensor for btCompoundShape and btConvexTriangleMeshShape.
...
Thanks to Ole K. for the fixes, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2562
2008-09-04 18:20:32 +00:00
erwin.coumans
cc3e3a851f
fix for btPolyhedralShape::setLocalScaling (and derived classes such as btConvexHullShape): recalcLocalAabb.
...
Thanks to pico for the report: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2550&p=10207#p10207
2008-09-02 17:32:57 +00:00
erwin.coumans
f655eff89f
add support for premade aabb in btStridingMeshInterface/btBvhTriangleMeshShape,
...
Thanks Roy Eltham, http://code.google.com/p/bullet/issues/detail?id=70
2008-08-29 05:39:17 +00:00
erwin.coumans
80f80df7e3
set linear/angular velocity to zero when objects are asleep
...
Thanks to http://code.google.com/p/bullet/issues/detail?id=73
improve performance of btConvexTriangleMeshShape::recalcLocalAabb
Thanks to fullmetalcoder, http://code.google.com/p/bullet/issues/detail?id=67#makechanges
2008-08-29 05:30:50 +00:00
erwin.coumans
b21d8caa9a
Added more Doxygen comments for classes in src/BulletCollision/CollisionShapes
2008-08-27 22:01:50 +00:00
erwin.coumans
db2514e930
provide serialization for btOptimizedBvh, using btQuantizedBvh.
2008-08-27 01:15:34 +00:00
erwin.coumans
79b6f7a772
Removed (circular) dependency between broadphase and collision shapes: moved parts CollisionShapes/btOptimizedBvh into BroadphaseCollision/btQuantizedBvh
2008-08-26 23:40:51 +00:00
erwin.coumans
8eafab367f
syntax error fix, removed comma, see http://code.google.com/p/bullet/issues/detail?id=76&can=1
...
Fix btOptimizedBvh, thanks to reltham, http://code.google.com/p/bullet/issues/detail?id=72&can=1
2008-08-19 15:57:01 +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
af4520801b
+ Fix btSubsimplexConvexCast
...
Thanks to Nacho, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2422 )
Fix in rendering, GL_STENCIL
+ btTriangleIndexVertexArray indices should be unsigned int/unsigned short int,
+ Made InternalProcessAllTriangles virtual, thanks to
Both thank to Fullmetalcoder, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2401
+clamp impulse for btPoint2PointConstraint
Thanks to Martijn Reuvers, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2418
+ Free memory of bvh, pass in scaling factor (optional)
Thanks to Roy Eltham, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2375
2008-07-31 19:44:28 +00:00
erwin.coumans
8f3e9603f3
+ fixed issue related to temporary/root collision shape in btCollisionObject
...
+ normalize plane normal input for btStaticPlaneShape
+ fixed issue related to swapped collision detectors (SphereTriangleDetector in particular)
Thanks a lot to Andrey Tuganov for reporting the issue and his reproduction case ( http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2143 )
2008-07-11 05:39:31 +00:00
john.mccutchan
31dfbf55e1
Compile fixes
...
Added getOwnsBvh to btBvhTriangleMeshShape
2008-07-10 23:22:29 +00:00
erwin.coumans
1c0fa00bc7
+ provide access to 'root' collision shape, in case the original collision shape is temporarily replaced by a child collision shape.
...
+ added MultiMaterialDemo showing how to use the new btTriangleIndexVertexMaterialArray.
Thanks to Alex Silverman for this contribution!
2008-07-10 22:19:30 +00:00
erwin.coumans
50d41b624b
Finally applied patch to removeChildShape from btCompoundShape
...
http://code.google.com/p/bullet/issues/detail?id=51
Thanks to Ola Røer Thorsen for the patch!
2008-06-26 23:29:42 +00:00
erwin.coumans
ea86559480
removed some warnings
2008-05-21 23:29:35 +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
fd5057ec5a
fixed build/project files
2008-04-10 21:28:37 +00:00
erwin.coumans
1139c06a4d
more soft body preparations, moved some parts from Demo/SoftBody to src/BulletDynamics/SoftBody
...
moved Extras/ConvexHull/btConvexHull.* to src/LinearMath/btConvexHull.*
removed btCollisionObject::m_internalOwner, replaced it by m_internalType. This should not affect external API (it was clearly marked as internal)
2008-04-10 20:00:41 +00:00
erwin.coumans
883d3278ec
+ fixed btMinkowskiSumShape Sa+b(v) = Sa(v)-Sb(-v) instead of Sa(v)+Sb(v)
...
+ fix related btMinkowskiSumShape issue in btSubsimplexConvexCast and btGjkConvexCast
+ add hitpoint for btSubsimplexConvexCast
+ reduce maximum number of iterations in conservative advancement/CCD implementations
2008-04-03 18:35:28 +00:00
erwin.coumans
2478591e13
allow quantized AABB tree to be build and used for arbitrary arrays of AABBs, not just triangle meshes
2008-03-15 08:52:42 +00:00
erwin.coumans
fe5386a5c8
Made the move from sourceforge to googlecode (no svn sync any longer)
...
Fixed BulletColladaConverter load/save
Removed btTypedUserInfo
Added btHashMap
Fixed btCapsuleShape
2008-03-13 05:16:42 +00:00
ejcoumans
3d3d24afa9
refit tree needs an aabbMin/aabbMax
...
improved unquantization for quantized trees
reverted heightfield quantize
2008-02-28 02:55:25 +00:00
ejcoumans
f51ac89dbe
add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
...
in btTriangleMesh container and ColladaConverter.
btTriangleMesh now derives from btTriangleIndexVertexArray, so it can be used for meshes on SPU
2008-02-18 04:23:50 +00:00
ejcoumans
9aec3255ef
add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
...
in btTriangleMesh container and ColladaConverter.
compile issue with PlatformDefinitions in GDC demo.
2008-02-18 01:37:30 +00:00
ejcoumans
eeb78b8d45
free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
...
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)
work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
johnmccutchan
65ce92885b
Don't fallback to getAabbSlow in btCapsuleShape
2008-02-13 03:07:25 +00:00
ejcoumans
7ca3020133
removed some dependencies
2008-02-08 23:22:31 +00:00
ejcoumans
618263163c
add support for X,Z axis aligned capsules
2008-02-08 01:11:05 +00:00
ejcoumans
f22d338959
added btCapsuleShapeX and btCapsuleShapeZ, for X and Z upaxis capsules. The default btCapsuleShape stays Y-axis, for backwards compatibility.
2008-02-07 00:34:06 +00:00
johnmccutchan
d368ef3d71
Remove name field and replace it with btTypedUserInfo field
2008-02-05 18:55:05 +00:00
ejcoumans
39ecc2ab7e
error C2374: 'i' : redefinition; multiple initialization
...
make MSVC 6.0 build again.
This code breaks:
for (int i=0;....
for (int i=0;....
use
int i;
for (i=0;...
for (i=0;...
instead ;-)
2008-02-05 05:55:25 +00:00
johnmccutchan
8fff5c54e9
Added name fields to Collision Object and Shape.
...
Added name field to Typed Constraint.
Added accessor for gravity in dynamics world.
2008-01-30 01:52:07 +00:00
ejcoumans
923f1411d7
Disable a recent new optimization for ray-aabb in btOptimizedBvh, it has some issues.
...
///thanks Joerg/hiker for the reproduction case!
///http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1858
2008-01-28 01:34:48 +00:00
johnmccutchan
2addd46f4b
Further refactoring of btConvexHull.
2008-01-24 22:22:36 +00:00
ejcoumans
a267152945
fix doubleprecision build
2008-01-24 02:41:45 +00:00
ejcoumans
30e1c56520
fix doubleprecision build
2008-01-24 02:40:15 +00:00
ejcoumans
127d911c9d
Added Stan Melax Convex Hull utility under Zlib license, Thanks Stan!
...
Use this Convex Hull to create a renderable shape, using btHullShape, Thanks to John McCutchan
2008-01-23 22:24:45 +00:00
ejcoumans
6eb97cd966
added debug rendering for planeshape
...
added void* userpointer (+getUserPointer/setUserPointer) to each btCollisionShape
2008-01-23 03:06:15 +00:00
johnmccutchan
41e9491402
Move unquantize from btOptimizedBvh.cpp to btOptimizedBvh.h
2008-01-14 23:47:05 +00:00