erwin.coumans
c9e5f2df05
fix 64-bit issue, can't cast void* to int.
2008-09-16 06:17:33 +00:00
erwin.coumans
1346c95205
reverted back to newer btDbvtBroadphase, and applied Nathanael's fixes.
2008-09-13 08:06:39 +00:00
erwin.coumans
d1318a05b3
Add plNearestPoints, contribution from Blender
...
Thanks!
2008-09-13 06:55:34 +00:00
erwin.coumans
3d2ce530d4
applied patch to make child shape of a compound shape available during ray testing.
...
Thanks to Benoit Bolsee for the patch: http://code.google.com/p/bullet/issues/detail?id=91
2008-09-13 06:46:53 +00:00
erwin.coumans
3018eb9ebb
btDbvtBroadphase is broken, revert temporarily to a previous working version.
2008-09-13 06:25:14 +00:00
erwin.coumans
50daff0848
added install.bat used for the Windows release, and updated docs to add instruction videos and link to the forums for support.
2008-09-12 21:22:30 +00:00
erwin.coumans
c435f6f65c
added btScaledBvhTriangleMeshShape to autogenerated projectfiles
2008-09-12 01:07:12 +00:00
erwin.coumans
58e1e9f049
updated version to 2.72, fix a compilation issue.
2008-09-12 00:59:16 +00:00
erwin.coumans
fae48b5c25
some more improvements to support basic CCD motion clamping
2008-09-11 23:50:50 +00:00
erwin.coumans
350e2e0393
btDbvtVolume needs to be 16-byte aligned, otherwise SIMD version crashes.
2008-09-11 20:20:31 +00:00
erwin.coumans
bc8ff765b4
SSE gives compile errors on MSVC 7.1
2008-09-11 18:59:35 +00:00
erwin.coumans
569946a96f
added some debugging variable for CCD motion clamping
2008-09-11 18:44:30 +00:00
erwin.coumans
732745d06c
fix a compiling issue
2008-09-11 18:22:06 +00:00
erwin.coumans
4ca3861944
remove ;
2008-09-11 18:19:19 +00:00
erwin.coumans
60fa900995
Added CCD motion camping, to avoid tunneling.
...
Not as versatile compared to btContinuousDynamicsWorld but still useful.
2008-09-11 18:13:56 +00:00
erwin.coumans
96c7465265
stack variables 'aabb' needs to be 16-byte aligned, when used for SIMD
2008-09-11 16:45:21 +00:00
erwin.coumans
8b3270f22f
Added 2 optimizations for the SAP broadphase: check AABB before remove, and a faster 2D overlap test.
...
Thanks to Pierre Terdiman/OPCODE Array SAP. Performance goes down from 4.6 to 2.9ms for the 8192 Extras/CDTestFramework benchmark.
2008-09-11 07:34:18 +00:00
erwin.coumans
32ab5d3691
fix crash in Maya plugin, trying to access elements in a zero-length positions/rotations array.
2008-09-11 00:57:53 +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
aad1d574ef
wrong condition: swap the contact normal/results independent from contact manifold owner.
...
Thanks to ihar3d, http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2588
2008-09-09 22:40:30 +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
103b98de73
disable SSE by default on btDbvt, it breaks build on Windows 64 bit and Win32 Intel compiler.
2008-09-06 16:58:18 +00:00
erwin.coumans
d61a3aac7f
Add btCompoundShapes to concave triangle mesh, to QA this report. Couldn't find any issue:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2557
2008-09-06 16:48:47 +00:00
erwin.coumans
33565d399e
Make ForkLiftDemo easier to use (shift+cursor keys to control fork)
...
Updated projectfiles
2008-09-06 16:35:49 +00:00
erwin.coumans
5e92e6b661
updated cmake for ForkLiftDemo, removed DinoDemo (it breaks cmake due to c/c++ mixing)
2008-09-06 15:43:20 +00:00
erwin.coumans
62f6c16fe3
Added documentation and sample scenes for MayaPlugin
...
Thanks to Walt Disney Studios.
2008-09-06 00:41:46 +00:00
erwin.coumans
82b64b0565
exclude BulletMultiThreaded from 64-bit builds
2008-09-05 20:56:50 +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
971a060bbb
Define btAssert as empty in non-debug builds.
...
GL_DEPTH_BUFFER_BIT -> GL_DEPTH_TEST, thanks to Mihail Isakov, http://code.google.com/p/bullet/issues/detail?id=86
2008-09-05 06:22:18 +00:00
erwin.coumans
862ea08d3b
use new/delete[] array, overriden by BT_ALIGNED_ALLOCATOR macro.
...
Thanks to Russell Bartley for the feedback.
2008-09-05 05:58:37 +00:00
erwin.coumans
7df4eeccec
updated changelog.txt
2008-09-05 05:29:20 +00:00
erwin.coumans
bfe4c2da55
updated projectfiles for OSX demo
2008-09-05 01:43:25 +00:00
erwin.coumans
cef07cfa20
Revert to max 1 substep by default: increased maxSubSteps to 10 make debug version way too slow.
...
Use btDbvtBroadphase in BasicDemo and CcdPhysicsDemo.
2008-09-05 01:41:32 +00:00
erwin.coumans
e08c3acc1d
updated projectfiles: removed optional ODE quickstep from core. moved into Extras/quickstep.
2008-09-05 00:32:12 +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
4f1a015b41
Added CUDA link + usage info for btCudaBroadphase demo.
2008-09-04 23:28:49 +00:00
erwin.coumans
aef74321d7
Added btCudaBroadphase, some early research & development work to accelerate Bullet using CUDA
...
Re-uses the NVidia particle demo.
2008-09-04 23:24:11 +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
5334611f48
Added MSVC 2005 project and solution. Removed glutInit/GLUT dependency. Fixed minor bug (return of non-existing variable c)
2008-09-04 22:35:08 +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
4019ae1c54
update autogenerated MSVC projectfiles
2008-09-02 19:29:14 +00:00
erwin.coumans
10b447760e
Glut/glew update with latest NVidia extensions, so we can use CUDA
2008-09-02 19:26:52 +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
932de57d4c
Updated CDTestFramework with the OPCODE Array SAP test.
...
Thanks Pierre Terdiman for the latest update.
2008-09-01 18:46: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
erwin.coumans
1fbeedc7b9
added a #define around unaligned DMA in SpuFakeDma.cpp
2008-08-29 00:49:31 +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
110e8313da
fixes in Doxyfile to generate proper documentation for classes that are aligned using a macro.
2008-08-26 23:01:46 +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
erwin.coumans
c66b5531a3
Fix memory leak, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2500&p=9848
2008-08-19 15:40:21 +00:00
erwin.coumans
05e64d6715
Add/fix CMake build support for BulletDinoDemo, thanks to slackydeb ( http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2465 )
2008-08-09 21:30:21 +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
20ebf711e1
updated ChangeLog.txt
2008-08-01 06:16:58 +00:00
erwin.coumans
9c776c6ed0
some finishing touches for drawing shadows/clusters/textures.
2008-08-01 06:11:11 +00:00
erwin.coumans
7bf65e95f4
add patch for Havok 5.5 to add COLLADA Physics conversion
2008-08-01 05:15:50 +00:00
erwin.coumans
bc73c91a39
Converter from Havok .hkx to COLLADA Physics .dae files. Patch for SimpleLoadDemo.cpp. Requires Havok 5.5 SDK, free for download from Intel website.
2008-08-01 04:57:26 +00:00
erwin.coumans
23d9483ea9
use k/l to steer Bunny car (avoid keyboard conflicts)
2008-08-01 02:45:13 +00:00
erwin.coumans
e61e1878cd
start with Bunny car
2008-08-01 02:43:30 +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
016db0b3c5
Bind the SplitImpulse button to SimulationParameters and use the Objective-C SplitImpulse variable
...
Thanks to Shamyl Zakariya for the OSX Interface Builder help!
2008-07-16 23:58:23 +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
6f8b396575
use different namespace for SPU version of btGjkEpa2 to avoid name clashes.
2008-07-14 17:19:50 +00:00
erwin.coumans
7acd12243d
Added missing projectfiles for MultiMaterialDemo,
...
Thanks reltham for reporting!
2008-07-12 06:23:57 +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
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
b9bc96e22b
use a btCollisionWorld instead of btDynamicsWorld, thanks reltham for the feedback
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2317&p=9197#p9197
2008-07-09 18:41:41 +00:00
erwin.coumans
2c224b41c5
bump up the version to 2.70, and add (non-working) button for OSX template
2008-07-09 05:13:18 +00:00
erwin.coumans
104787aeaf
updated projectfiles for character demo
2008-07-09 05:12:03 +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
76bac83937
Added new files to CMakeLists.txt for CharacterDemo
...
Use relative path, #include "../BspDemo/BspLoader.h"
2008-07-03 23:47:38 +00:00
erwin.coumans
b6af86bd98
need to include <windows.h> before glut.h (issue with glui.h)
2008-07-03 23:24:56 +00:00
erwin.coumans
65116fd3d3
Minor cleanup of CMakeLists.txt files, it works better with Code::Blocks+MinGW (glut32,opengl32,glu32)
2008-07-03 21:21:44 +00:00
erwin.coumans
db146019f1
Fixed debug drawing for btCapsuleShapeX and btCapsuleShapeZ
2008-07-02 23:07:27 +00:00