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
7234a61910
fix btSimpleBroadphase, it shouldn't store the allocated handles, they are simply in m_pHandles.
...
Thanks to Ole K. for reporting the issue:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2560
2008-09-04 19:31:37 +00:00
erwin.coumans
d2760b18aa
fix placement new[], see discussion here:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1787&p=10252#p10252
2008-09-04 18:54:14 +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
8340a77aa8
ConvexResultCallback::hasHit() and RayResultCallback::hasHit() are both const now.
...
Developers need to fix their derived classes too!
Thanks to bcsanches, http://code.google.com/p/bullet/issues/detail?id=81&can=1
2008-08-29 05:16:05 +00:00
erwin.coumans
66861ad334
bump up version to 2.71
2008-08-29 04:37:09 +00:00
erwin.coumans
6be5d00c95
Don't collide wheels with no-contact rigid bodies (sensors/triggers),
...
Thanks Murphy for the report and bugfix,
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2510
2008-08-29 04:35:26 +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
5fd1a69f32
Added some comments for stepSimulation and fixed bug: uninitialized variable m_shapeDrawer(drawer) in DebugCastResult.h
2008-08-28 02:01:23 +00:00
erwin.coumans
dcefff0e0e
stack variable 'bounds' needs to be 16-byte aligned for SSE
2008-08-27 23:37:33 +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
42ad559b2d
Add some Doxygen comments for broadphase and linearmath classes.
2008-08-27 02:24:11 +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
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
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
id0x1234
79a1e5b8f4
- General performances improvement (25%) on insert/update/collideTT.
...
- ~30% additional performance improvement for win32 using SSE implementation for critical methods.
2008-08-13 04:46:01 +00:00
john.mccutchan
551f0fa1ec
Keep track of raw pointer returned from btAlignedAlloc when using placement new on an array.
2008-08-07 16:02:59 +00:00
erwin.coumans
7838a5c980
provide interface for setting the number of tasks (unused in the btDiscreteDynamicsWorld).
2008-08-07 00:02:37 +00:00
erwin.coumans
1150183300
fix case issue in CMakeLists.txt, tMultimaterialTriangleMeshShape.
...
Thanks riko and mi076 for reporting.
2008-08-02 06:00:16 +00:00
erwin.coumans
e2daa1c277
fixes to compile on OSX, minor addition to ChangeLog
2008-08-01 02:19:26 +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
9cd83c004b
+ add dummy getcwd/getenv for PS3 compatibility
...
+ disable HAVE_SIGNAL_H 0 for LibXML
+ removed unused variable in btCollisionWorld
+ removed unused variable in btSequentialImpulseConstraintSolver
2008-07-28 23:15:43 +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
a9a67d62c3
Fixed memory leak in btDbvtBroadphase
...
http://code.google.com/p/bullet/issues/detail?id=66
2008-07-22 15:07:04 +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
fe5033119b
Add some accessor methods to btHingeConstraint and btSliderConstraint, to allow conversion.
...
Thanks to Roman Ponomarev.
2008-07-22 02:15:17 +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
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
dcf9f8d857
Don't define __int64 type in btQuickprof.h
2008-07-10 23:26:17 +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
b66e5350d0
rename HasHit method to hasHit
...
rename AddSingleResult to addSingleResult
moved collision filtering for btCollisionWorld::rayTest and btCollisionWorld::convexSweepTest from argument to the callback needsCollision
2008-07-09 23:30:21 +00:00
erwin.coumans
9996da6f2d
Update to btDbvt and btDbvtBroadphase, thanks to Nathanael Presson
2008-07-09 22:45:01 +00:00
erwin.coumans
dcd57f333b
+ improved KinematicCharacterController
...
+ improved btSubsimplexConvexCast, btContinuousConvexCollision and btGjkConvexCast to support configuration that start in touching/penetration, required for 'sliding'.
+ added files to CMakeLists.txt for CharacterController
+ bump up version to 2.70 (preparation for beta)
2008-07-09 00:08:49 +00:00
erwin.coumans
db146019f1
Fixed debug drawing for btCapsuleShapeX and btCapsuleShapeZ
2008-07-02 23:07:27 +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
52de9fee03
add profiling for 'calculateOverlappingPairs'
2008-06-25 01:26:02 +00:00
erwin.coumans
e854a5133b
add support for non-power-of-2 dma sizes (for small dma transfers)
...
add setBroadphase
2008-06-24 02:15:06 +00:00
erwin.coumans
d16c1b615f
pass in reference to actual contact point in cache, rather then temporary value, should fix issue 53
...
http://code.google.com/p/bullet/issues/detail?id=53
Thanks Alex Silverman for reporting and suggested fix
Changed addContactPoint to lowercase
2008-06-22 03:30:55 +00:00
erwin.coumans
441c729169
Clear the user cache, when re-using an existing contact point in the contact cache (btPersistentManifold).
...
Issues reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2257
2008-06-22 03:15:31 +00:00
erwin.coumans
8827d5dbfb
undo btQuadWord changes, added integration in parallel SpuSampleTask
2008-06-04 02:01:41 +00:00