erwin.coumans
c4ad354ac0
More GJK degeneracy fixes, thanks Jacob Langford for the feedback:
...
http://code.google.com/p/bullet/issues/detail?id=250
Added missing files for Maya Dynamica plugin
Thanks Herbert Law for the patch, and damrit and others for the report
http://code.google.com/p/bullet/issues/detail?id=231
Fix btQuaternion shortestArcQuat, thanks Stan Melax for original fix and shogun for reminder
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1989
Implemented btDiscreteDynamicsWorld::removeCollisionObject (and btSoftBodyDynamicsWorld) to avoid
crashes. Thanks Jacob Langford for bringing that up.
Minor sphere-debug drawing issue (spheres were drawn inside-out (wrong face winding)
2009-07-13 21:48:19 +00:00
erwin.coumans
d4b099236c
attempts to improve degeneracies in GJK implementation
2009-07-10 21:27:04 +00:00
erwin.coumans
3538ac1162
add radius to debug sphere drawing
2009-07-10 00:26:46 +00:00
erwin.coumans
d9ad88aa7a
Fix in some degenerate GJK configuration: once a degenerate GJK case is detected, without valid EPA penetration, use a second GJK run without margin.
...
Thanks to Jacob Langford for the report:http://code.google.com/p/bullet/issues/detail?id=250
2009-07-09 22:10:27 +00:00
erwin.coumans
dc4180f1ce
+ fix bug in SoftDemo: use removeRigidBody for rigid bodies, instead of removeCollisionObject
...
+ use default convex drawing instead of special cylinder drawing (caps are wrongly drawn)
+ allow camera translation using middle-mouse button in SoftDemo
+ add/removeCollisionObject virtual
Thanks Ola for this suggestion
2009-07-06 04:15:02 +00:00
rponom
99f6ff7cf3
Some fixes to work with constraint angle limits close to -PI or PI
2009-06-12 01:23:47 +00:00
erwin.coumans
699ba8f5b2
forgot to update Demos/Gpu2dDemo for btMultiSphereShape change (removed 1st argument)
2009-06-11 14:32:41 +00:00
erwin.coumans
f552a1dbbf
Remove first argument from btMultiSphereShape, calculate local inertia approximation from aabb.
...
If user wants more accurate inertia tensor for multi-sphere shape, use btCompoundShape instead
(amd btCompoundShape::calculatePrincipalAxisTransform)
Thanks rcharlton for bringing this up.
Erwin
2009-06-11 13:51:48 +00:00
erwin.coumans
6c80353556
Minor fix in friction: calculate second friction direction based on un-scaling first friction direction (issue if it was scaled to zero)
...
Force activation state of static objects to be ISLAND_SLEEPING, once they are added to the world
Add backwards compatibility option btDiscreteDynamicsWorld::setSynchronizeAllMotionStates, just in case only updating active objects broke someones code
Don't disable 3D box-box in box2ddemo
2009-06-11 12:22:41 +00:00
erwin.coumans
3e5fc86a6c
Iterate only over non-static rigid bodies, instead of all collision objects
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=18&t=3625
http://code.google.com/p/bullet/issues/detail?id=128
Attempt to fix issue in mesh striding, multiple-mesh-parts were broken.
2009-06-11 01:25:10 +00:00
erwin.coumans
659272685b
Applied patch to fix scaling on btCapsuleShape:
...
http://code.google.com/p/bullet/issues/detail?id=230
Thanks Chuck Spencer for report/fix!
Applied patch to fix triangle mesh embedded in a btCompoundShape:
http://code.google.com/p/bullet/issues/detail?id=229
Thanks Ola for reporting/fixing!
2009-06-11 00:23:49 +00:00
erwin.coumans
47a4435a9a
Make is easier to compile Bullet/Extras/sph:
...
1) use $(CUDA_INC_PATH) for CUDA include path
2) avoid using cuda util, but use BT_GPU_SAFE_CALL and BT_GPU_CHECK_ERROR (defined in Bullet/Extras/CUDA/btCudaUtil.h)
3) remove pre-linked glee*.lib, but include glee.c directly
2009-06-10 22:44:27 +00:00
erwin.coumans
656d6b8336
Make is easier to compile Bullet/Extras/sph:
...
4) removed fluids_2008.sln, just use automatic converted upgrade using fluids_2005.sln solution
Use Bullet/Glut/GL folder, instead of Bullet/Extras/spu/common/GL folder)
2009-06-10 22:43:23 +00:00
erwin.coumans
acf8ed3de5
Re-enabled split impulse: avoids adding linear/angular momentum due to penetration recovery.
...
Both SIMD and scalar version is supported.
2009-06-10 22:04:06 +00:00
erwin.coumans
b0d5fbcc6c
remove Blender-hack for older compilers (just apply the hack only in the Blender copy of Bullet)
2009-06-09 05:10:06 +00:00
erwin.coumans
a9141d5daf
Fix in generic 6dof constraint, when springs/limits/motors are combined
...
Added btGeneric6DofConstraint::getRelativePivotPosition to read relative linear position of the constraint frame (pivot)
2009-06-06 01:09:06 +00:00
rponom
ee664e7750
Damping for spring motors added
...
see btGeneric6DofSpringConstraint::setDamping()
2009-06-02 01:10:43 +00:00
erwin.coumans
d58a14b4cd
include <string.h> instead of <memory.h>
2009-05-29 02:08:03 +00:00
rponom
dfa1f033da
Bug fix : Instability of spring motor for the 6DOF constraint
2009-05-27 20:20:38 +00:00
erwin.coumans
3985e2e328
2009-05-27 01:46:58 +00:00
erwin.coumans
d198d18721
added SVN $revision$ and $date$ for btScalar.h, to make it easier to see Bullet version
2009-05-27 01:38:43 +00:00
erwin.coumans
258ef6e25a
+ Added joint feedback for constraints, needs testing/demo before 2.75 release.
...
See also http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2677
and http://code.google.com/p/bullet/issues/detail?id=227
To enable, use constraint->enableFeedback(true);
And then either use
constraint->getAppliedImpulse() for an estimated applied impulse,
or constraint-> getAppliedLinearImpulse(), or constraint->getAppliedAngularImpulseA() or constraint->getAppliedAngularImpulseB().
+removed a few warnings.
2009-05-27 01:34:46 +00:00
rponom
056659d2af
"Motor at limit" jitter fixed for btGeneric6Dof constraint
...
This also _should_ fix situation when 6DOF constraint with motor get stuck at limit
(see forum topic at http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3598&p=13603&hilit=ode*#p13603 )
2009-05-27 00:36:02 +00:00
erwin.coumans
c9f3d3f8b6
patch to fix autotools/automake make build system.
...
Thanks to William Knight, http://code.google.com/p/bullet/issues/detail?id=226
2009-05-26 04:52:23 +00:00
erwin.coumans
0c097bd45a
Added keyboardUpCallback,
...
Thanks to Erik Weitnauer
http://code.google.com/p/bullet/issues/detail?id=215#c1
Fixed ccdMotionThreshold (wrongly squared input value)
Thanks to Mark Carlson for the report/fix.
http://code.google.com/p/bullet/issues/detail?id=216#c1
2009-05-23 02:48:16 +00:00
erwin.coumans
0ada7cbb1e
Fix in btGjkPairDetector, possibly causing a floating point overflow
...
Thanks Ole for the report and suggested fix:
http://code.google.com/p/bullet/issues/detail?id=220&can=1&start=200
Applied Character/btKinematicCharacterController.cpp patch:
Thanks Thomas for the patch!
http://code.google.com/p/bullet/issues/detail?id=196#makechanges
- added a normalizedDirection member variable. This is
slightly more efficient than recalculating the normalized
direction every simulation step.
- I overloaded the m_walkDirection member variable to hold
either the walkDirection or the Velocity, and used a boolean
flag to determine which behavior was required.
- The normalization behavior seemed custom, and I needed it
twice, so I moved it to a static helper method.
- I added the setVelocityForTimeInterval() method to the
base interface class. This to me is the scariest change
since people inheriting from it will need to make changes
(if only to add an empty function).
2009-05-23 02:28:58 +00:00
erwin.coumans
badf723257
Replace all hardcoded 1e30(f) by BT_LARGE_FLOAT, defined in btScalar.h as 1e18(f) so that its square still fits in FLT_MAX
...
Thanks to Ole K. for reporting! http://code.google.com/p/bullet/issues/detail?id=206
2009-05-23 02:15:54 +00:00
erwin.coumans
1e11223f6b
updates to msvc projectfiles
2009-05-23 01:51:02 +00:00
erwin.coumans
31d3bf7700
compile fixes for trunk on OSX
2009-05-23 01:40:27 +00:00
erwin.coumans
4f92f69ca4
added projectfiles
2009-05-22 20:09:19 +00:00
erwin.coumans
4ad21d36f9
some fixes in build systems
2009-05-22 19:24:20 +00:00
rponom
bc1662abee
Gpu3D demo added
2009-05-22 02:41:22 +00:00
erwin.coumans
fb6146f0be
Added MiniCL, a limited subset of OpenCL, the open standard for parallel programming of heterogeneous systems.
...
MiniCL includes a cross-platform run-time frontend based on pthreads, Win32 Threads, or libspe2 for Cell SPU.
It is there, to bridge the gap until OpenCL is more widely available.
See Bullet/Demos/VectorAdd, influenced by NVidia OpenCL Jumpstart Guide:
http://developer.download.nvidia.com/OpenCL/NVIDIA_OpenCL_JumpStart_Guide.pdf
2009-05-22 01:43:37 +00:00
erwin.coumans
2f1014268b
+ Internal improvements for collision shapes
...
1) add AabbCaching versions of btPolyhedralConvexShape and btMultiSphereShape (this speeds up btMultiSphereShape 'getAabb', and reduces size of btBoxShape)
2) btCylinderShape doesn't derive from btBoxShape anymore
+ Minor fixes in drawing for btMultiSphereShape, btBoxShape.
+ Don't re-generate btDebugFont every frame
+ Disabled velocity prediction for btDbvtBroadphase. Previous default can be restored using btDbvtBroadphase->setVelocityPrediction(1./2.);
2009-05-22 01:03:45 +00:00
rponom
c680791ce9
3 new constraints added : btGeneric6DofSpringConstraint, btUniversalConstraint, btHinge2Constraint
...
Motors for btConeTwistConstraint added (for obsolete solver only)
appConstraintDemo changed to test new constraints
Several coding-style fixes
2009-05-21 22:10:13 +00:00
erwin.coumans
8d9c445b73
Fix btGpu2dDemo build -> remove btGpuUtils.cpp and re-enable 3 include files for CPU implementation
...
(btGpuUtils.cpp requires several build system fixes first)
2009-05-16 14:44:28 +00:00
rponom
a95b2a33bd
Added a possibility to build appGpu2dDemo with CUDA solver.
...
It is disabled by default, see Demos/Gpu2dDemo/btGpuDemoDynamicsWorld.h for instructions how to enable it
Cleaned up Extras/CUDA folder and libbulletcuda project
2009-05-14 20:20:56 +00:00
erwin.coumans
42ece54556
applied patch that allows to enable multithreading mode for CcdPhysicsDemo,
...
Still requires manually adding BulletMultiThreaded library dependency (we won't enable it by default just yet)
Thanks SkewMatrix for the report/fix: http://code.google.com/p/bullet/issues/detail?id=222
2009-05-14 17:24:08 +00:00
erwin.coumans
1526691f89
fixed memory leaks in ForkLiftDemo/VehicleDemo
...
Thanks to mi076 for report+fix: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2652
Minor syntax error fix in a Jamfile
2009-05-14 17:03:42 +00:00
erwin.coumans
e260bcd1b2
Added initial Smoothed Particle Hydrodynamics implementation (SPH), for CPU and CUDA.
...
This software is contributed under the ZLib license by Rama Hoetzlein, http://www.rchoetzlein.com
We plan to integrate the SPH into the core Bullet library, including interaction with rigid bodies and soft bodies.
2009-05-13 22:28:03 +00:00
rponom
4616b62686
Static objects support added for appGpu2dDemo
2009-05-13 00:43:42 +00:00
erwin.coumans
22fe8935c3
updated test1.oec with a few static objects
...
fix Maya plugin hinge constraint support
update copyright year in BulletCollision/CollisionShapes.
2009-05-12 22:28:45 +00:00
rponom
6ac6b3a257
Second attempt to commit appGpu2dDemo with Bullet narrowphase
...
Previous version was with old btGpuDemoDynamicsWorld.cpp :-(
2009-05-12 18:56:08 +00:00
rponom
fcf7bda3b0
More stable parameters for solver (GpuDemo2d)
...
Added a possibility to switch between GPU/Bullet narrowphase ('j' key)
2009-05-12 01:54:41 +00:00
erwin.coumans
34685cb631
Fixes for Linux compilation,
...
Thanks to Ole: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3590
Add option to select EPA or Minkowski sampling method in btDefaultCollisionConfiguration
2009-05-11 20:35:26 +00:00
erwin.coumans
0a360904b6
fixes in Jam msvcgen -> use SSE instead of SSE2 to stay compatible with older AMD Athlon XP processors, updated build files, minor compile fixes for GPU experimental code
2009-05-09 21:25:42 +00:00
erwin.coumans
9da45d5751
updated autogenerated msvc projectfiles,
...
by default, use SSE instead of SSE2 for release build
2009-05-09 21:20:47 +00:00
erwin.coumans
33029ad996
updated demos -> ALT + mouse uses Maya-style controls, replaced BMF_Fonts by GLDebugFont
...
fix debug drawing of btMultiSphereShape
added box2d demo
added experimental gpu 2d demo
2009-05-09 19:27:14 +00:00
erwin.coumans
7a210546cf
added existing demos to CMake build system
...
thanks to http://code.google.com/p/bullet/issues/detail?id=209
Added helper method 'getAxis' to btQuaternion,
thanks to Tully.Foote, http://code.google.com/p/bullet/issues/detail?id=205
2009-05-06 22:03:22 +00:00
erwin.coumans
d9c4529a26
+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.
...
Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218
+ Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin
Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
2009-05-06 19:55:05 +00:00