Erwin Coumans
2ddd8f78c2
add option to create mp4 videos from App_AllBullet2Demos, using the
...
--mp4=video.mp4 note that you have to re-convert for Quicktime
ffmpeg -f mp4 -vcodec h264 -i test.mp4 -pix_fmt yuv420p test2.mp4
add the option to display text in 3d, used in Coriolis demo
2015-03-25 14:04:26 -07:00
Erwin Coumans
0a04a745dd
added Erin Catto's 'local' implicit coriolis/gyroscopic force, next to 'Ewert', Cooper, explicit and none
...
Configured the gyroscopic demo to show the Dzhanibekov effect
see also https://www.youtube.com/watch?v=L2o9eBl_Gzw
2015-03-24 23:16:45 -07:00
erwin coumans
1e13454511
Added experimental implicit gyroscopic force implementation, one by Michael Ewert, and another by Cooper (from OpenDE)
...
Will also add Erin Catto's local implicit version from the GDC 2015 tutorial
Added demo for btGeneric6DofSpring2Constraint, thanks to Gabor Puhr
Add gfxBridge.autogenerateGraphicsObjects method for Bullet 2 demos in new framework (need to implement all Bullet 2 collision shape types...)
Use 1,1,1 for local scaling in btStaticPlaneShape
2015-03-24 15:55:05 -07:00
Erwin Coumans
20a270bc94
more URDF2Bullet refactor to make URDF import a little bit more re-usable
2015-03-20 13:07:25 -07:00
erwin coumans
5d40d90bd0
add btMultiBodyConstraint::finalizeMultiDof API: if you add multi-body constraints to a multi-dof btMultiBody, before it has been finalized using the btMultiBody::finalizeMultiDof call,
...
then you have to manually call the btMultiBodyConstraint::finalizeMultiDof for all multi-dof multi body constraints.
2015-03-03 13:24:06 -08:00
Erwin Coumans
193e680790
_N -> n, _C -> c, _L ->l, some collision with a standard C++ header?
2015-02-20 13:51:24 -08:00
Erwin Coumans
4e02f6673b
fix a bug related to gyroscopic forces in btMultiBody
2015-02-13 18:27:01 -08:00
=
27aa959059
fix some btMultiBody URDF conversion issues in ImportURDFSetup
...
remove various vertex format structures and use GLInstanceVertex from #include "OpenGLWindow/GLInstanceGraphicsShape.h"
btMultiBody::setupPrismatic takes an additional argument to allow a shift of inertia tensor, relative to the joint frame (link frame at q=0)
2015-02-12 09:11:55 -08:00
erwincoumans
76b80ca71b
Merge pull request #309 from erwincoumans/master
...
minor fixes (GL2, preSwapFileNameOut), improved URDF/btMultiBody (work in progress), basic debug drawing for btMultiBody
2015-01-27 13:33:37 -08:00
erwincoumans
bd16df8dd6
add basic debug drawing interface for btMultiBodyPoint2Point constraint
...
add basic debug drawing drawText3D in SimpleOpenGL3App
remove a few warnings
add drawTexturedRect3D to GLPrimitiveRenderer to support debug drawing
2015-01-27 10:45:56 -08:00
erwincoumans
a159fbac69
Improved URDF support for btMultiBody and separate graphics/collision/inertial frames and shapes
...
Fix WinXP GetTickCount64 with a typedef
Expose debug drawing mode/flags in UI (hot keys A,D,L,W for now, buttons later)
GLInstancingRenderer: tweak near/far planes to allow closer approach of camera
btDiscreteDynamicsWorld: enable debug drawing for btGeneric6DofSpring2Constraint
btMultiBodyDynamicsWorld: enable basic debug drawing for btMultiBody
btMultibody: allow center-of-mass shift for prismatic and fixed constraint
2015-01-22 17:56:24 -08:00
Rhody Lugo
2118ade465
Stop adding motion in the kinematic character controller if the walk direction is near zero
2014-12-12 10:31:23 -04:30
erwin coumans
cf2b4e03b5
fix a problem in the btMultiBodyConstraint related to self-collision, see also
...
https://github.com/bulletphysics/bullet3/issues/290
2014-12-09 16:57:21 -08:00
erwin coumans
1baf2e5cc6
add support to btHingeConstraint to set/get ERP, example use:
...
hinge->setParam(BT_CONSTRAINT_ERP,0.5);
btScalar erp = hinge->getParam(BT_CONSTRAINT_ERP);
Also, preliminary support for status bar messages in demo framework.
2014-10-17 13:05:53 -07:00
erwincoumans
89aeae9102
Add serialization support for btGeneric6DofSpring2Constraint
...
Attempt to re-order serialization data so it can be serialized in-memory (for deep copy)
2014-09-16 09:22:35 -07:00
Erwin Coumans
a26f9c1871
premake: use *.cpp insteadl of **.cpp
2014-09-05 11:22:25 -07:00
erwin coumans
bc5e2b3d50
fix compile issue
2014-08-28 18:47:22 -07:00
erwin coumans
89addd438e
add 'fixed' joint for btMultiBody
...
improve btMultiBody version of URDF reader (still work-in-progress)
enabled planar joint for btMultiBody (untested)
enable loading from relative path for .stl meshes
2014-08-28 18:42:08 -07:00
Erwin Coumans
6cbf89905f
move the clearForceAndTorque to after the stepVelocities,
...
see also https://github.com/bulletphysics/bullet3/pull/221
todo: create test
2014-08-25 08:48:45 -07:00
Erwin Coumans
95f207e786
fix another warning
2014-08-22 11:51:22 -07:00
Erwin Coumans
af5883c6e8
remove a lot of warnings (more todo in demos and serialization code)
2014-08-22 10:29:05 -07:00
Erwin Coumans
d4e4fdc2c5
fix Linux and Cmake build
2014-08-20 16:48:46 -07:00
Erwin Coumans
7b28e86c7b
add improved btGeneric6DofSpring2Constraint, thanks to Puhr Gabor and Tamas Umenhoffer!
...
improved the new demo testbed (work-in-progress)
add basic Lua demo, import URDF test, STL import, obj import
2014-08-20 16:28:16 -07:00
Erwin Coumans
1d00d91707
add btHingeAccumulatedAngleConstraint derived from btHingeConstraint,
...
that exposes a new method getAccumulatedHingeAngle
See also https://github.com/bulletphysics/bullet3/issues/42
2014-07-30 16:13:34 -07:00
=
cac50c1a8e
remove a few warnings, fix GLInstancingRenderer::drawLines
2014-07-29 11:08:09 -07:00
Erwin Coumans
791b5149f6
prepare to re-enable Gwen user interface (OpenGL_DebugFont) for OpenGL2.x
...
prepare to add improved btGeneric6DofSpringConstraint
2014-06-30 12:09:59 -07:00
erwincoumans
2601932249
fix issue related to addConstraint/removeConstraint, introduced by filtering collision between two particular bodies
...
https://github.com/bulletphysics/bullet3/issues/173
2014-05-17 14:24:22 -07:00
Erwin Coumans
08369dbd0a
fix uninitialized data in btMultiBodyPoint2Point, thanks to Valgrind
...
valgrind --track-origins=yes --log-file="dump_valgrind.txt" ./App_AllBullet2Demos_codeblocks_x64_debug
2014-05-16 11:56:43 -07:00
Erwin Coumans
efd3157d1f
only compile Bullet 3 if desired (with CMake)
...
remove empty namespace
2014-05-07 10:19:27 -07:00
Erwin Coumans
e279aed08f
re-enable the fix for broken friction in Clang (got accidently undone in a recent commit)
...
fix OSX build
2014-05-03 10:11:49 -07:00
erwincoumans
0e1a77047c
fix Linux build
2014-05-03 02:50:09 -07:00
Erwin Coumans
66ab2a2022
fix OSX build
2014-05-03 08:48:46 -07:00
erwincoumans
0b6d1af1d4
Only enable SSE4 for Visual Studio 2012 or later (_MSC_FULL_VER >= 170050727), it breaks the build for Visual Studio 2010
...
Add additional constructor for btMultiBodyJointMotor
2014-05-01 22:23:37 -07:00
Erwin Coumans
0e1b90d708
Added SSE4/FMA optimized constraint row solver implementation for btSequentialImpulseConstraintSolver,
...
thanks to Vladimir Bondarev (https://github.com/VladimirBondarev/bullet3/tree/c25d )
2014-05-01 17:13:50 -07:00
Erwin Coumans
7151865c16
Introduce kF_UseGjkConvexCastRaytest, and make kF_UseSubSimplexConvexCastRaytest the default for btCollisionWorld::rayTest See https://github.com/bulletphysics/bullet3/issues/34
...
Add btCollisionObject::setIgnoreCollisionCheck to disable collisions between specific instances, without having a btTypedConstraint. See https://github.com/bulletphysics/bullet3/issues/165
Make btMultiBody and btMultiBodyJointMotor backwards compatible with Bullet 2.82 API (single-DOF API)
2014-05-01 13:51:56 -07:00
Erwin Coumans
907ac49892
work-around what appears to be a bug in Clang 3.4. Todo: create a small repro case for Clang/LLVM or see if they already fixed it.
2014-04-29 11:44:52 -07:00
Erwin Coumans
35c916f487
add CMake support for AppAllBullet2Demos demo. See also https://github.com/bulletphysics/bullet3/issues/43
2014-03-24 13:18:24 -07:00
Erwin Coumans
cfb06f9cd3
make GLUT optional in cmake
...
fix for btMultiBody to avoid extreme energy gain
2014-03-17 23:58:03 -07:00
erwin coumans
d485f2b272
btMultiBodyConstraintSolver writes back the applied impulse for contact points
...
(added some debugging output for this in the demos, commented-out by default)
2014-02-24 16:55:54 -08:00
erwin coumans
dfa738c13a
Properly propagate the applied impulse for the MLCP solvers, so it will be available for contact and non-contact constraints.
...
Use real-time clock in AllBullet2Demos, rather than hard-coded 1./60.
2014-02-24 13:24:49 -08:00
erwincoumans
122ceacb6d
move OpenCL initialization for the unit tests in a shared header file, and support some basic command-line arguments
...
--cl_device=1 --cl_platform=1 --allow_opencl_cpu
add chaindemo, test for mass ratios
restore sleeping/activation mode in featherstone demo
Use _VARIADIC_MAX=10 to avoid Google Test issues with Visual Studio 2012, thanks to Mobeen for the report
Enable verbose printf for unit tests
2014-02-11 10:33:00 -08:00
erwincoumans
51036713f0
Initialize 64bit user pointer, thanks to AndresTraks
...
See https://github.com/erwincoumans/bullet3/issues/33
2014-01-29 05:47:45 -08:00
Erwin Coumans
7e4b1c1c8a
add MultiDofDemo (Featherstone 3DOF spherical joint)
...
minor prettify of BasicDemo,RagdollDemo.
require 'multiDof' argument in btMultiBody.h (not default=false)
2014-01-10 16:34:39 -08:00
kubas
876293ac95
minor: replaced convenience lambda functions
2014-01-09 01:15:51 +01:00
kubas
aa87e47d2d
preparing for stabilization investigation: useRK4 is now a btMultiBody flag (not world's), reenabled global velocities (as a flag-controlled option), made the test application easier to handle for multiple multibodiez and added a max coordinate multibody (created from btMultiBody)
2014-01-09 01:14:48 +01:00
kubas
2cbcd86de9
fixed a btMultiBody ctor bug
2014-01-09 01:13:22 +01:00
kubas
cbf2d915d1
fixed the multibody jitter issue + several friction-related fixes
2014-01-09 01:12:02 +01:00
kubas
736ba01423
minor clean-up
2014-01-09 01:10:45 +01:00
kubas
ef6abf6490
unified btMultiBodyConstrained::fillMultiBodyConstraint..(...) mtds + cleaned some of the earlier dirty changes (6DoF grabbing constraint stuff mainly)
2014-01-09 01:09:44 +01:00
kubas
0ba7d69f86
fixed a jacobian sizing bug (m_jacSizeBoth)
2014-01-09 01:07:53 +01:00