Erwin Coumans (Google)
84f2d5b9a0
Merge remote-tracking branch 'bp/master'
2015-04-28 20:57:41 -07:00
erwin coumans
f4b0cc85cd
add Vehicles/Hinge2Vehicle demo, based on the ForkLift demo, using btHinge2Constraint with rigid body wheels
...
change btHinge2Constraint to derive from new btGeneric6DofSpring2Constraint
2015-04-28 18:12:49 -07:00
erwin coumans
05bf86d95f
added LICENSE.txt and AUTHORS.txt file
...
add MultiBody Custom Creation example, to show how to import data from a URDF file and fill up your own data structures.
add btMultiBody::setBaseWorldTransform method
todo: fix cmake build, this patch is premake only
2015-04-23 15:41:17 -07:00
erwincoumans
e884511924
Merge pull request #353 from cameronwhite/fix-conetwist-nans
...
Fix a potential division by zero for cone twist constraints.
2015-04-22 11:44:29 -07:00
Kenneth Bogert
a57e1632a6
Prevent SSE Alignment crash in VS2010 and up
...
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=8915
2015-04-21 00:31:41 -04:00
Erwin Coumans (Google)
bf39570ff3
fixes for Linux
2015-04-16 16:58:42 -07:00
Erwin Coumans
b2ba615874
fixed for Mac in examples
2015-04-16 15:52:30 -07:00
erwincoumans
794c8ec064
add BspDemo.bsp data file
...
add sphere2.urdf
move btSpatialAlgebra into LinearMath
remove some warnings, introduce BT_ZERO, BT_ONE, BT_HALF as defines for 0.f/0., 1.f/1., 0.5f/0.5 respectively
2015-04-16 10:17:35 -07:00
Cameron White
445dc667b3
Avoid a potential division by zero.
2015-04-06 16:56:13 -04:00
erwin coumans
a883cead46
maintain backward compatibility using BT_ENABLE_GYROPSCOPIC_FORCE = BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_BODY
2015-03-30 11:58:57 -07:00
erwin coumans
cba140431e
prepare to add ForkLiftDemo in App_AllBullet2Demos
...
rename Ewert/Catto to World/Body for implicit coriolis forces
2015-03-27 11:59:22 -07:00
Erwin Coumans
9931dd9684
remove Cooper implicit (it was just for comparison, it is buggy)
...
add btMatrix3x3::solve33, thanks to Erin Catto, and added safety against division by zero
2015-03-25 19:33:02 -07:00
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
erwincoumans
5a91c9ea3c
Merge pull request #317 from namar0x0309/master
...
Fix for 64bit builds btSqrt and USE_APPROXIMATION
2015-02-12 13:34:22 -08:00
=
c8e252ba36
Merge remote-tracking branch 'bp/master'
2015-02-12 09:14:39 -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
15d5659483
Merge pull request #313 from jackoalan/neon-setinterpolate3-fix
...
Fixed self-referencial bug in btVector3's setInterpolate3 (NEON)
2015-02-10 18:10:26 -08:00
Erwin Coumans
c7671779c2
add method to add triangle by its indices for btTriangleMesh
...
See also https://github.com/bulletphysics/bullet3/pull/315
thanks to quiasmo for the contribution
2015-02-04 10:47:13 -08:00
Nassim Amar
e9c7f3a0d2
Fixed macro's to detect 64bit
2015-02-01 14:32:37 -08:00
Nassim Amar
cf705d6fa4
Fix for 64bit builds btSqrt
...
Fix issue with btSqrt with macro USE_APPROXIMATION turned on.
2015-02-01 05:41:07 -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
Jack Andersen
9e8e22bee5
Same fix for B3 codebase
2015-01-20 20:11:56 -10:00
Jack Andersen
991366a48f
Fixed self-referencial bug in btVector3's setInterpolate3
2015-01-20 19:10:52 -10:00
erwincoumans
bb2805379c
Merge pull request #292 from lunkhound/fix-sse-win32
...
quickfix: SSE was accidentally disabled on windows desktop
2014-12-16 14:38:17 -08:00
erwincoumans
c7d9c5ba5b
Merge pull request #296 from rraallvv/master
...
Stop adding motion in the kinematic character controller if the walk dir...
2014-12-16 14:37:05 -08:00
emMichael Alexander Ewert/em
d4be7a4823
Revert "replace unstable Gyroscopic force calculations with stable back Euler derived"
...
This reverts commit 0ce687853d
.
2014-12-12 16:35:40 -08:00
emMichael Alexander Ewert/em
92dabdc07d
Fix a couple of bugs in 2dConvex Hull algorithm.
...
* Need to use atan2 so 3d angles are calculated properly after projection.
* Need to handle case where the first tripple of points is non-convex,
previously this would cause the algorithm to fail with only 1 point.
2014-12-12 15:39:16 -08:00
emMichael Alexander Ewert/em
0ce687853d
replace unstable Gyroscopic force calculations with stable back Euler derived
...
update. Removed max force clamping.
2014-12-12 11:49:36 -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
Lunkhound
beaf1b5922
fix for fix
2014-11-25 13:48:20 -08:00
Lunkhound
8cac481091
quickfix: SSE was accidentally disabled on windows desktop by a change intended to disable it only for Windows Phone
2014-11-25 12:44:22 -08:00
Erwin Coumans
ba0dd676aa
comment-out the memset in DEBUG mode in btVector3.cpp and b3Vector3.cpp
2014-11-02 14:12:54 -08:00
Erwin Coumans
5757de14d7
Merge remote-tracking branch 'bp/master'
...
Conflicts:
btgui/Bullet3AppSupport/CommonParameterInterface.h
2014-11-02 13:12:16 -08:00
Erwin Coumans
b1863f7ce2
Refactored GJK, EPA and MPR as a template class, reducing/removing the dependencies
...
to the rest of the Bullet code base. This code will replace the original GJK/EPA
in a future commit.
Added btMprPenetration, an implementation of Minkowski Portal Refinement
by Daniel Fiser. Original MPR idea is by Gary Snethen, and the first
implementation is here: https://github.com/erwincoumans/xenocollide
It is an alternative to EPA, although computing the local penetration depth.
EPA computes the global penetration depth. In many cases, MPR is sufficient
and performs better than EPA.
2014-11-02 12:53:36 -08:00
erwin coumans
4b665fa82b
add btFileUtils::toLower to convert a string (char*) to lower case
...
URDF import demo: add COLLADA .dae file support
add FiniteElementMethod demo, extracted from the OpenTissue library (under the zlib license)
don't crash if loading an invalid STL file
add comparison with Assimp for COLLADA file loading (disabled by default, to avoid library dependency)
Gwen: disable some flags that make the build incompatible
2014-10-29 13:18:34 -07:00
erwincoumans
959e86eb1a
Merge pull request #276 from erwincoumans/master
...
Enable CMake support for Windows Phone (_WIN32+_M_ARM) and Windows Store...
2014-10-27 12:47:59 -07:00
erwin coumans
aaaf8dc4e2
Enable CMake support for Windows Phone (_WIN32+_M_ARM) and Windows Store Apps,
...
Use this recent cmake version (http://cmakems.codeplex.com/ ) or future cmake that has the Windows Phone/Store App support
Use the following defines in CMake:
-DCMAKE_SYSTEM_NAME=WindowsPhone or -DCMAKE_SYSTEM_NAME=WindowsStore
-DCMAKE_SYSTEM_VERSION=8.0 or -DCMAKE_SYSTEM_VERSION=8.1
Thanks to Microsoft OSS group for the patch!
2014-10-24 15:44:33 -07:00
erwincoumans
0160512a01
Merge pull request #275 from erwincoumans/master
...
fix build
2014-10-22 14:47:53 -07:00
erwin coumans
1ce647742c
fix build
2014-10-22 14:46:48 -07:00
erwincoumans
fccd00b3cf
Merge pull request #260 from sippeangelo/issue-260
...
Microsoft compiler wrongly assumed on Windows platform
2014-10-17 13:49:30 -07:00
erwincoumans
1d78b1aef9
Merge pull request #271 from erwincoumans/master
...
btHingeConstraint to set/get ERP, refactor gfx backends (work-in-progress)
2014-10-17 13:48:02 -07: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
Kevin Watts
0623f99a27
Adding virtual dtors to classes in btSoftBody
2014-10-16 11:58:44 -07:00
sippeangelo
f9674d4b95
MSVC-specific function calls wrapped in a MSVC-specific macro instead of a Windows-specific one.
2014-10-07 18:21:13 +02:00
Erwin Coumans
4352eb1ea4
disable btInMemorySerializer by default
2014-09-16 20:16:01 -07:00
Erwin Coumans
1fccfc4e28
fix btInMemorySerializer
2014-09-16 20:14:31 -07:00
Erwin Coumans
ad251da294
disable btInMemorySerializer by default
2014-09-16 19:56:26 -07:00
Erwin Coumans
f9eb7c68c5
add btInMemorySerializer (experiments, allows for in-memory deep copy of worlds, bypassing the BulletFileLoader mechanism)
...
add btCollisionWorldImporter that can load a .bullet file, or use the btInMemorySerializer for deep-copy
2014-09-16 19:18:10 -07:00
erwincoumans
3240d790e4
Update btSerializer.h
...
fix compile error in LinearMath/btSerializer.h
2014-09-16 09:32:26 -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
f199a4a972
add fileOpenDialog and enable loading of urdf from GUI
...
(will add .bullet file support soon)
Uses native Windows (getFileOpenFileName) and Mac OSX NSOpenPanel,
on Linux using pipe popen to zenity)
2014-08-31 11:53:44 -07:00
erwin coumans
dc16655d35
more bug fixes
2014-08-28 19:01:56 -07:00
erwin coumans
0dff61fbe0
fix two compile errors, thanks to Travis
...
https://travis-ci.org/bulletphysics/bullet3/jobs/33858712
2014-08-28 18:53:51 -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
3c558ec995
explicitly deserialize btCapsuleShape date (margin, scaling, halfextents), because the API modifies them
2014-08-26 17:21:08 -07:00
Erwin Coumans
2b35911f2a
X11OpenGLWindow: create stencil buffer for shadows in OpenGL2 mode (OpenGL3 uses shadow maps)
...
Add 'createCollisionObjectGraphicsObject' API for CommonPhysicsSetup
Add 'pthread' dependency as workaround for NVIDIA graphics driver issue
(see //See https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642
)
2014-08-26 11:28:44 -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
37aa4dc4f8
fix more warnings, implement missing X11 function for dynamic loading
2014-08-21 17:27:14 -07:00
Erwin Coumans
5834547368
fix more warnings in BulletCollision, and fix CMakeLists for Linux
2014-08-21 15:54:50 -07:00
Erwin Coumans
143c2da254
premake4: don't use recursive file globbing in LinearMath and BulletCollision
2014-08-21 14:03:15 -07:00
Erwin Coumans
4af9c5a4c9
remove some warnings
2014-08-21 13:32:32 -07:00
erwincoumans
590504bf72
Merge pull request #201 from bgossage/fix_pointer_cast
...
-- Corrected cast of 32-bit int to 64-bit pointer
2014-08-21 11:19:45 -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
erwincoumans
34baab5077
Merge pull request #196 from jackoalan/parallel_linear_bvh_cl_fix
...
Compile fix for parallelLinearBvh.cl on OS X Intel HD 5000
2014-08-19 08:30:56 -07:00
erwincoumans
c471e27280
Merge pull request #203 from AussieBacom/master
...
added get elapsed time from clock in seconds
2014-07-31 18:05:24 -07:00
Haydn Trigg
3d944782e9
Update btQuickprof.cpp
...
removed inline declaration from get time seconds function definition
2014-08-01 07:25:31 +09:30
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
=
c487170196
remove OpenGL/glu.h from gl3 headers (warning), replace some OpenGL definitions ARB/non-ARB
2014-07-27 11:19:11 -07:00
Haydn Trigg
6ff7a6d48b
Update btQuickprof.cpp
2014-07-26 00:44:16 +09:30
Haydn Trigg
4a43eab4dd
Update btQuickprof.h
2014-07-26 00:44:15 +09:30
bgossage
d58857f06b
-- Corrected cast of 32-bit int to 64-bit pointer
...
-- Removes 64-bit portability issue.
2014-07-17 11:13:07 -05:00
Jack Andersen
d4fd695d56
Compile fix for parallelLinearBvh.cl on OS X Intel HD 5000
2014-07-11 14:11:11 -10:00
erwincoumans
473c2d43bf
Merge pull request #188 from gjaegy/master
...
fix crash on CPU not having AVX support
2014-06-30 12:13:26 -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
Gregory Jaegy
f2e54ea0a5
fix crash on CPU not having AVX support
2014-06-20 09:58:31 +02:00
erwin coumans
eb74688c18
Add setUserIndex/getUserIndex (int index) to btCollisionShape
...
Share physics setup of BasicDemo between different graphics frameworks, see Demos\BasicDemo\BasicDemoPhysicsSetup.*
Plan is to do this for all Bullet demos.
Improve gwen performance and cursor navigation for tree control.
tweak shadowmap size
SimpleOpenGL3App::registerCubeShape accepts half extents
2014-05-20 12:02:01 -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
1e2b907562
update version to 2.83 for an intermediate release (2014 will be a transition year to Bullet 3.x)
2014-05-16 16:20:07 -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
01ce7a0288
remove a few unused variable, and add casts to avoid warnings
2014-05-16 08:59:34 -07:00
Erwin Coumans
7f3cbc066f
Remove @workaround for sticky convex collisions in btGjkPairDetector, it suffers from many artifacts,
...
We still need to do more work on GJK when using very small collision margins...
Fix premake build on Windows
2014-05-15 22:55:54 -07:00
Erwin Coumans
73c5d49434
Merge branch 'master' of https://github.com/bulletphysics/bullet3
2014-05-15 15:45:32 -07:00
Erwin Coumans
e579fa9488
fix/workaround for gcc internal compiler error
...
See also http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=9636&hilit=compiler+error+gcc
and https://github.com/bulletphysics/bullet3/issues/174
https://github.com/bulletphysics/bullet3/issues/39
2014-05-15 15:44:22 -07:00
Jan-Philip Stecker
6f3abe414c
fix gcc warning message in public header for c++11
...
- missing whitespace lead to msgs like:
include/bullet/LinearMath/btScalar.h💯 41:
warning: invalid suffix on literal; C++11 requires a space between
literal and string macro [-Wliteral-suffix]
- this error was visible in projects using bullet when using c++11 mode
2014-05-14 19:44:23 +02: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
8eb1835415
fix a potential bug in CProfileNode destructor, if the SDK is included/used multiple times.
2014-04-28 11:24:29 -07:00
Erwin Coumans
4996a64238
fix CMake build on Mac OSX
2014-04-28 11:11:45 -07:00
XBog
ed42e217b5
subdivion backface shouldnt be in front
2014-04-12 18:11:58 +02:00
erwincoumans
5dafea7c06
avoid allocations in renderer (messes up AMD buggy OpenGL driver)
...
add missing file in cmake build system (BroadphaseCollision/b3GpuParallelLinearBvhBroadphase.cpp and BroadphaseCollision/b3GpuParallelLinearBvh.cpp)
2014-04-09 21:23:22 -07:00
erwincoumans
be889f5eff
Merge pull request #159 from xantares/master
...
Fix linux|mingw shared|static build
2014-04-09 11:14:58 -07:00
erwincoumans
6cc5311216
Merge pull request #160 from rtrius/plbvh_raycast
...
Plbvh raycast
2014-04-09 11:14:34 -07:00
xantares
aafbf48130
Fix linux|mingw shared|static build
2014-04-09 10:33:22 +00:00
erwincoumans
aa76b88936
Added btSoftBodyHelpers::ReoptimizeLinkOrder(btSoftBody* softBody) method, to help improve performance for modern out-of-core CPUs.
...
It is tested in Aero2 demo (13) of AppSoftBodyDemo. Note that the cloth in Areo2 is not expensive enough to see benefits. Increase segments to see benefits.
Thanks a lot for the contribution.
2014-04-08 09:45:09 -07:00
erwincoumans
050c7d9289
allow to disable 'useMpr' without crash
2014-04-08 09:05:02 -07:00
Erwin Coumans
01fe7159d9
Added CMake support to compile App_Bullet3_OpenCL_Demos
2014-03-24 15:44:45 -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
Jackson Lee
26bcff31f7
Add overlapping pairs validation to PairBench.
2014-03-19 22:35:23 -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
Jackson Lee
b709d6beeb
Clean up plbvhCalculateOverlappingPairs kernel.
...
Also fix overlapping pair generation with triangle mesh.
(Currently, large/concave AABBs must be the first entry in a pair.)
2014-03-14 13:55:22 -07:00
Jackson Lee
f324e66f86
Add access to overlapping pairs b3OpenCLArray.
2014-03-13 21:27:15 -07:00
Jackson Lee
19b194e8fe
Fix PLBVH symmetry optimization for calculateOverlappingPairs().
2014-03-13 19:22:05 -07:00
Jackson Lee
bb0102d79b
Add PLBVH documentation/slides.
2014-03-13 13:52:49 -07:00
Jackson Lee
1b85dad6b4
Fix PLBVH raycast when only 1 small AABB is added to the tree.
2014-03-11 17:43:29 -07:00
Jackson Lee
db02ced606
Clean up PLBVH construction, add comments.
2014-03-11 14:13:09 -07:00
Jackson Lee
038364ccdd
Merge various commits into a single commit.
...
Commits after:
2014-03-03 Draft PLBVH construction using binary radix tree.
f19f853685
Are merged into a single commit; this includes:
03-10 Remove single launch build AABB kernel.
03-10 Add kernels for setting PLBVH AABBs using distance from root.
03-10 Use faster morton code, remove convertChildNodeFormat kernel.
03-09 Add duplicate morton code handling to binary radix construct.
03-09 Remove slower PLBVH constructors.
03-08 Add binary radix tree construct using binary search.
03-06 Remove slowest PLBVH constructor, fix implicit construct AABB.
03-04 Test various optimizations for PLBVH binary radix tree construct.
2014-03-10 15:33:47 -07:00
Erwin Coumans
9f92232640
fix CMake build
...
w
2014-03-06 13:46:25 -08:00
Jackson Lee
f19f853685
Draft PLBVH construction using binary radix tree.
2014-03-03 14:33:53 -08:00
Jackson Lee
4dcd52c090
Add only small AABBs to PLBVH, add large AABB support.
2014-02-26 15:38:59 -08:00
Jackson Lee
28da87dfc7
Split PLBVH files into .h/.cpp.
...
Also move PLBVH binary tree construction into separate function.
2014-02-26 15:20:12 -08:00
Jackson Lee
fe12ad9c9b
Fix PLBVH with 0/1 nodes, fix optimized ray-AABB intersect.
2014-02-26 14:56:43 -08:00
Jackson Lee
c782f4976c
Various minor PLBVH related changes.
...
-Use most significant bit instead of negative for internal nodes.
-Explicitly store root node index, so that it does not have to be 0.
-Check the root node first in PLBVH traversal.
-Fix rigid body clipping in RaytracedShadowDemo.
2014-02-24 23:50:20 -08: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
Jackson Lee
e4fbd5332d
Accelerate GPU raycaster with PLBVH.
2014-02-23 20:40:58 -08:00
Jackson Lee
e955192971
Fix PLBVH reduction kernels, simplify nodes per level calculation.
...
Also calculate index ranges for each internal node.
2014-02-19 21:49:30 -08:00
Jackson Lee
7f0e361fa0
Use merged AABB to calculate grid cell size for PLBVH.
2014-02-18 19:59:05 -08:00
Jackson Lee
b7b7356af8
Draft Parallel Linear BVH Broadphase.
2014-02-18 19:23:25 -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
bd5c2ff5ec
batching reports the size of the batches, and solver uses this as termination condition, giving a good speedup
2014-02-07 06:28:15 -08:00
Erwin Coumans
db188990fc
ftello64 -> ftell and fopen64 -> fopen (to make Mac OSX happy)
...
disable some warning (no idea why weak_link is there)
2014-02-04 14:52:57 -08:00
Erwin Coumans
2a87706114
Revert "fix Mac OSX build (and remove 'weak link' warning)"
...
This reverts commit 146bbefc03
.
2014-02-04 14:44:16 -08:00
Erwin Coumans
146bbefc03
fix Mac OSX build (and remove 'weak link' warning)
2014-02-04 14:05:21 -08:00
Erwin Coumans
94db38358c
add zlib/minizip so we can load compressed data (github/git is bad in handling large binary files)
2014-02-04 13:39:55 -08:00
Erwin Coumans
e4e2cb0d39
fix alignment issue in a unit test
2014-02-04 10:36:34 -08:00
Erwin Coumans
7cf83a4be0
attempt to fix compile issue with Clang
2014-02-02 10:42:56 -08:00
Erwin Coumans
65cfcdb9ac
improve printf/warning/error on Mac OSX
2014-01-31 15:05:13 -08:00
erwincoumans
863ac2c477
add unit tests for OpenCL kernel compilation for all Bullet 3 kernels (using GoogleTest)
2014-01-31 20:41:13 -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
erwincoumans
31998c8e7d
minor issues (don't use \n in B3_PROFILE, and don't report timing inaccuracy in console
2014-01-29 15:25:36 -08:00
erwincoumans
3e8b183587
Avoid breaking up the clipHullHull kernel, it ruins performance. Unfortunately, Mac OSX still requires it.
...
Use indices instead of copies for small/large aabbs in broadphase (grid / sap)
2014-01-29 15:20:20 -08:00
erwincoumans
ff051f87aa
replace 'copy' step of large/small Aabbs by indices
2014-01-29 12:52:31 -08:00
erwin coumans
33ebebd1c9
allow PairBenchmark to select broadphase type, with cpu brute-force, gpu brute-force etc
...
fix issue in PairBench, related to index offset
allow to add a large AABB in PairBench, to see the effect on the broadphase pair search performance
2014-01-28 17:11:56 -08:00
Erwin Coumans
71f0537c6e
add Bullet 2.x constraint solver tests for hinge, with large mass ratio
...
experiment with Midi controls in PairBenchmark to tune variables (will move it into a utility class, so every demo can easier use it in the future)
fix issue with broadphase, not initializing all pairs properly at pair array overflow
2014-01-28 10:25:04 -08:00
erwincoumans
7cdda65822
Experimenting with GUI in PairBench, still preliminary. Goal is to make it easier to add variables that can be tuned using GUI/gwen
...
Pre-compile PairBench OpenCL kernel
2014-01-26 11:27:20 -08:00
Erwin Coumans
1a507cca52
remove redundant/wrong glClear
...
always initialize mpr OpenCL kernels
add a second ragdoll to the demo
2014-01-16 19:18:06 -08:00
Erwin Coumans
6142bdca0a
brDefaultMotionState::getWorldTransform was wrong, in case of a non-identity centerOfMassOffset.
...
Thanks to Mathias for the report/fix.
2014-01-16 18:47:03 -08:00
Erwin Coumans
0ed7b5c508
adding check on low number of vertices fixes Mac OSX crash
2014-01-16 15:53:53 -08:00
Erwin Coumans
edb0c72166
enable MPR OpenCL for Mac OSX
2014-01-16 14:24:18 -08:00
Erwin Coumans
f14ec7b870
split the unitsphere search in a separate kernel, m_findSeparatingAxisUnitSphereKernel, hopefully it works on Mac OSX OpenCL now.
2014-01-16 14:19:43 -08:00
Erwin Coumans
b53cc5edb8
disable Mpr on Mac OSX (need to split the kernel again...)
2014-01-15 11:24:35 -08:00
Erwin Coumans
472a4068fc
Enable MPR by default
...
Add the contact point from MPR, in addition to SAT/clipping contacts. Added a new kernel to clear/reset the number of contacts in pairs (stored in the z component)
Always sample unit sphere directions, if there are more edge-edge combinations than unit sphere directions (162 by default)
Remember last running demo for Bullet 3 (and save it in a text file, Bullet
Enable the testFileFracture.bullet in the Bullet2FileDemo
2014-01-15 10:35:51 -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
Erwin Coumans
a8e60b4ee5
Merge branch 'master' of http://github.com/kalesony/bullet3
2014-01-10 15:22:58 -08:00
erwin coumans
2e55d03fd9
more fixes towards working convex-convex, in case of (too) many edge-edge cases:
...
1) sample directions over a unit sphere and
2) add a contact, using mpr
add missing bullet.pc.cmake file (for old Bullet 2.x)
2014-01-09 16:22:34 -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
kubas
eb66b22034
dirty commit: starting to unify btMultiBoydConstraint::fillMultiBodyConstraint..(..)
2014-01-09 01:06:58 +01:00
kubas
87a98939eb
tighter packing in btMultiBodySolverConstraint
2014-01-09 01:04:39 +01:00
kubas
81447aa7c5
dirty commit: experimenting with the 6DoF grabbing/p2p constraint
2014-01-09 01:03:20 +01:00
kubas
c0530d31ec
minor naming chamge
2014-01-09 01:02:11 +01:00
kubas
66fdc1704b
RK4 for floating systems too
2014-01-09 01:01:03 +01:00
kubas
c5594a5826
a bit of rk4 clean-up
2014-01-09 00:59:48 +01:00
kubas
4eac9a11f3
made the multiDof-singleDof disctinction a bit cleaner
2014-01-09 00:58:31 +01:00
kubas
e5372f3712
first experiments with RK4
2014-01-09 00:56:46 +01:00
kubas
cb556f9525
dirty changes - stabilization hacks
2014-01-09 00:51:42 +01:00
kubas
96ff69276f
multidof4 patch
2014-01-09 00:26:24 +01:00
erwincoumans
ed73bce9da
Move Bullet 2.x demos in a single demo 'AllBullet2Demos', for now only BasicDemo and FeatherstoneDemo is implemented.
2014-01-05 21:58:30 -08:00
erwincoumans
6f9a1c0da2
disable MPR until some issues are fixed (on an NVIDIA GPU, sat axis are not properly computed, resulting in instability)
2014-01-04 21:44:53 -08:00
Erwin Coumans
5eb8fd33ad
enable MPR by default, needs more testing on various OpenCL configurations (OS, drive, GPU etc)
2014-01-04 21:33:16 -08:00
erwincoumans
271f458837
Ported Minkowski Portal Refinement mpr.c from libccd to OpenCL, for bettwe edge-edge performance (and additional contact point for degenerate/high detailed convex shapes)
...
Removed b3RigidBodyCL, replace by b3RigidBodyData and b3RigidBodyData_t shared between C++ host and OpenCL,
Same for b3InertiaCL -> b3InertiaData
2014-01-04 20:54:27 -08:00
erwin coumans
69e5454d18
Add the old Bullet 2.x obsolete demos, and CMake buildsystem files, and gradually move them to newer Bullet 3.x structure
...
Use statically linked freeglut, instead of dynamic glut for the obsolete Bullet 2.x demos
Add the 'reset' method to b3GpuDynamicsWorld, and use it in the BasicGpuDemo (pretty slow in debug mode, use release mode)
Don't crash in btCollisionWorld, if there is no collision dispatcher
2013-12-19 12:40:59 -08:00
Erwin Coumans
222ecb156d
add GImpact and BulletSoftBody, until we have replacement (otherwise it prevents people from migrating to the github/Bullet3 repository)
2013-12-18 09:05:30 -08:00
erwin coumans
09ba86ea36
fix cpu version of findCompoundPairs, in order to fix Mac OSX OpenCL compound issues
2013-12-17 19:25:53 -08:00
Erwin Coumans
7bde13be62
fix issue (apparently closestFaceA/B can be -1, need to figure out how that can ever happen (it shouldn’t)
2013-12-17 16:50:50 -08:00
erwin coumans
7964f2d8c1
split OpenCL kernels: fatal error C1091: compiler limit: string exceeds 65535 bytes in length
2013-12-17 12:33:38 -08:00
Erwin Coumans
7e86932edf
avoid out-of-bounds issue for some OpenCL kernel, hanging Mac OSX (should not happen, need to check why)
...
split kernel for debugging
2013-12-17 10:44:41 -08:00
erwin coumans
7b55ffd237
more rewriting to get this #@!#@!&*( Mac OSX GPU to work
2013-12-16 15:23:43 -08:00
erwin coumans
1dce953d76
one more debug option for a kernel, to fix a Mac OSX issue (one more to go...)
2013-12-16 12:36:22 -08:00
erwincoumans
fc474a0e62
more debugging to fix Mac OSX OpenCL issue on certain GPUs.
2013-12-16 10:53:38 -08:00
erwin coumans
9ebef9552b
implement 'new contact reduction' kernel on CPU , for debugging
2013-12-14 10:54:25 -08:00
erwin coumans
d24b1eaae9
better host check code, to determine failing OpenCL kernels on certain (Apple) platforms
2013-12-13 13:27:00 -08:00
erwin coumans
571b14787a
implement clipFacesAndFindContactsCPU, to track down OpenCL issue on Mac OSX
2013-12-13 10:05:07 -08:00
erwin coumans
3fe969c4ee
b3Solver -> pass pointer to source instead of 0 (was left over from a debugging session), thanks to David for the report
...
Break up clipHullHullConcaveConvexKernel into multiple stages, so it might 'fit' in Apple's OpenCL implementation
Implemented bvhTraversalKernel and findConcaveSeparatingAxis on CPU (debugging, possible future CPU version)
2013-12-13 07:52:41 -08:00
erwin coumans
c155e126d0
move parts of collision pipeline to shared header files (work-in-progress)
2013-12-12 11:03:55 -08:00
erwincoumans
fca6d11381
created new Bullet 2 CPU BasicDemo, using the OpenGL 3 rendering. I will add picking soon. Hold ctrl/alt + mouse to move/zoom camera
...
remove reference to btGImpact (it is removed now)
2013-12-06 17:48:58 -08:00
Erwin Coumans
bbb2c8a6f1
Merge branch 'bullet2stripped-master'
2013-12-06 15:32:59 -07:00
Erwin Coumans
f06312c632
remove most clutter (todo)
2013-12-06 15:29:13 -07:00
erwin.coumans@gmail.com
d48e2c717c
fix rotation correction in btFixedConstraint, see Issue 769
2013-12-04 19:06:28 +00:00
erwin.coumans@gmail.com
1362b6ab48
Fix convex cast normals for btScaledBvhTriangleShape: normals were already in world space
...
See Issue 371 THere seems to be some other issues, need to get a reproduction case.
2013-11-26 18:44:06 +00:00
erwin.coumans@gmail.com
5910b42d8d
fix SIMD_2_PI macro, see Issue 773
2013-11-26 17:15:05 +00:00
erwin coumans
beb9e98cd3
expose the gUseLargeBatches as command-line argument --use_large_batches
2013-11-21 09:15:52 -08:00
erwin coumans
8a7ad65177
added a variation of the constraint solver, that works on CPU OpenCL (oneBigBatch), one stage (batching) happens on CPU for this mode
2013-11-21 09:15:42 -08:00
erwincoumans
1d5c651753
Use more shared data structures in src\Bullet3OpenCL\NarrowphaseCollision\kernels\satClipHullContacts.cl
...
Revert default error func (was broken)
2013-11-19 17:52:59 -08:00
erwin coumans
26dfaa441e
add some command-line options
...
--use_jacobi
--allow_opencl_cpu
b3LauncherCL constructor takes string, to make it easier to determine failing OpenCL kernel
b3SetCustomErrorMessageFunc, printf error and exit(0)
2013-11-19 13:42:53 -08:00
erwin.coumans
bda1fb7dd2
fix 64bit iOS,see also Issue 739
2013-11-18 22:17:00 +00:00
erwin.coumans@gmail.com
9aad92315b
Avoid crash in btCompoundCompoundCollisionAlgorithm if there is no tree for one of the btCompoundShapes
...
Update the revision, to avoid clearing the child cache each frame
2013-11-17 20:35:35 +00:00
erwin.coumans@gmail.com
886650a038
fix 'unused' warning. Fixes Issue 770
2013-11-17 20:13:50 +00:00
erwincoumans
a78cbcf354
Accidently left some very slow copyToHost in the batching code, removing it makes it faster :-)
2013-11-12 09:03:30 -08:00
erwincoumans
5ce0b3938f
Re-introduce GPU parallel Jacobi solver, called btGpuJacobiContactSolver. There are still some issues, but for basic scene's it works.
...
To avoid confusion, rename GPU contact solver to btGpuContactSolver, and constraint (non-contact) solver to btPgsConstraintSolver.
2013-11-11 21:15:06 -08:00
erwincoumans
ef6be5370d
more work towards hybrid of GPU grid and sap broadphase, separating small, large (moving) and static objects
...
re-enable 'useNewBatchingKernel', it is slower but more robust
2013-11-11 02:19:04 -08:00
erwin coumans
d13de109a5
work towards re-enabling GPU grid broadphase (in addition to GPU sap bp)
2013-11-10 23:19:51 -08:00
erwincoumans
b0c43520e3
more work towards re-enabling grid broadphase.
2013-11-10 22:00:35 -08:00
erwincoumans
ad8585f184
prepare for btGpuGridBroadphase
2013-11-10 14:15:23 -08:00
erwincoumans
a6bc61ad1a
tweaked the particle demo a little bit
2013-11-08 23:21:01 -08:00
erwincoumans
768ea211a6
add a waiting message, during startup of a demo.
...
fix an OpenCL kernel, broken in previous commit.
2013-11-07 16:47:18 -08:00
erwin coumans
e85bae5fe3
share more data structures and code between OpenCL kernels and C/C++ code on CPU (non-OpenCL)
...
integrateSingleTransform
fix bug in registerRigidBody (could lead to random crashes, especially when performing picking/adding rigid bodies afterwards)
2013-11-07 15:49:57 -08:00
erwin coumans
e20cb22832
share more data structures and code between OpenCL and C/C++ on CPU:
...
move the setConstraint4/b3ConvertConstraint4 to shared code.
2013-11-07 12:46:01 -08:00
erwin coumans
a9a758dd54
share more code between OpenCL kernels and C++ by moving kernel data structures/code to the 'shared' folders
2013-11-06 19:57:36 -08:00
erwin.coumans@gmail.com
0536f986a6
apply patch: soft bodies should not collide with ghost objects.
...
Thanks to Sergej Reich for the patch, fixes Issue 757
2013-11-04 01:12:52 +00:00
erwin.coumans@gmail.com
439ab03940
fix Mac OSX build (there is no such member called e.m128_f32[0]
2013-11-03 19:55:08 +00:00
erwin.coumans@gmail.com
218d4d1394
use a separate default cfm for the MLCP solver, it is a very sensitive value for Dantzig (and Lemke)
2013-10-31 16:52:32 +00:00
erwin.coumans@gmail.com
644d01d231
added the btNNCGConstraintSolver, based on the paper "Nonsmooth Nonlinear Conjugate Gradient Method for interactive
...
contact force problems". The solver needs a lot of iterations, before the quality goes up (~ 1000)
Thanks to Gabor PUHR for the contribution!
Improved the btLemkeSolver.
Remove the sparse optimizations from the btMatrixX.h, replace it with explicit call to rowComputeNonZeroElements (only used in the btSolveProjectedGaussSeidel), it was likely slowing things down, without being useful.
Re-enable SIMD in the solver (was accidently disabled in Bullet 2.82 release)
2013-10-31 06:17:08 +00:00
erwin.coumans@gmail.com
6ca948e22f
make Lemke work with lower/upper bounds, using the BLCP to LCP conversion (using a dog-slow matrix inversion etc)
...
for this conversion, see also https://github.com/erwincoumans/num4lcp/blob/master/matlab/test_lcp_bounds.m and
appendix A1 in http://www.cs.duke.edu/~parr/nips10.pdf , thanks to Kenny Erleben and Evan Drumwright for the tips!
(friction is not coupled to normal forces yet)
2013-10-30 00:02:13 +00:00
erwin.coumans@gmail.com
13936eb9a5
use square epsilon in btVector3::fuzzyZero (length2)
2013-10-29 22:53:01 +00:00
erwin.coumans
1a2c3c0ee9
Added a Lemke MLCP solver, extracted from the MBSim project, and re-licensed under the zlib license
...
with permission of the original author.
The Lemke implementation is not fully working yet:
1) we need to convert the lo-high LCP problem into a problem without the lo/high
2) we need to sort out the remaining instabilities, and report a failure if the max loopcount is reached etc.
We replaced the fmatvec library with our own LinearMath/btMatrixX.h, and STL std::vector with btAlignedObjectArray
Removed some warnings/potential issues: use fuzzyZero instead of isZero, and some warnings,
related to this issue 756
2013-10-26 18:45:25 +00:00
erwin.coumans@gmail.com
19f999ac08
fix double precision, and remove alloca
...
increase mass of the load, to show benefits of direct MLCP solver
move damping back to original location
2013-10-24 18:31:27 +00:00
erwin.coumans@gmail.com
5ca137cb54
fix autotools build, add MLCPSolvers and ForkLiftDemo
2013-10-24 02:27:37 +00:00
erwin.coumans@gmail.com
f5320e4106
add "latency motion state interpolation", using previous frame/current, instead of current->next
...
See Demos/ForkLiftDemo for example (F7 to toggle, use single-frame stepping, press 'i' and 's' to see the effect)
2013-10-24 00:13:43 +00:00
erwin.coumans@gmail.com
a1c962192c
Allow the ForkLiftDemo to toggle between MLCP and SI solver, using F6 key.
...
Apply patch for CMake config, see Issue 754 (Issue 753)
Fix a few issue with the MLCP solver: allow split impulse, and fix offset in friction dependencies
2013-10-23 23:35:13 +00:00
erwin.coumans
1503c806bd
fix Mac OSX build when using GNU++11 C++ language standard, make this the default in premake under OSX for easier testing
2013-10-22 23:08:43 +00:00
erwin.coumans
0024c87316
move the m_maxAppliedImpulse into base class, and use it for motor strength/point to point constraint strength
2013-10-22 21:49:52 +00:00
erwin.coumans
f22ceecb82
Fix Featherstone btMultiBodyPoint2Point constraint and picking: don't assume body 0 is the fixed body!
2013-10-22 21:06:47 +00:00
erwin.coumans
75260cd0d7
fix iOS compilation when the C++ Language Dialect is set to GNU++11
2013-10-22 19:13:24 +00:00
erwin.coumans
4169c52b2a
use __ARM_NEON__ preprocessor check instead of __armv7__
2013-10-22 19:01:21 +00:00
erwin.coumans@gmail.com
cf7f5436e4
apply CMake patch in Issue 748
...
thanks to Julien Schueller for the contribution!
2013-10-22 18:34:17 +00:00
erwin.coumans@gmail.com
23f612bbb5
fix Linux build
...
by default, only enable 64bit build when using ./premake4_linux64 and only 32bit build when using ./premake4_linux
remove some warning
2013-10-22 18:10:45 +00:00
erwin.coumans@gmail.com
a21480c8ca
Attempt to fix "Regression in friction and damping behaviour" , see issue 752
...
Thanks to Sergej Reich for the report and narrowing down the breaking revision!
2013-10-22 09:26:08 +00:00
erwin.coumans@gmail.com
5e372d6ac5
fix compile errors
2013-10-21 23:33:01 +00:00
erwin.coumans@gmail.com
379f0079e0
Added Dantzig MLCP solver option from Open Dynamics Engine (trying to avoid naming/linking conflicts in case ODE and Bullet is used together)
...
If an MLCP solver fails, use PGS/SI fallback, add a boolean return value for 'solve' method
2013-10-21 23:27:09 +00:00
erwin.coumans@gmail.com
1ca0493dc4
Build full A matrix and b vector for a MLCP solver interface, to explore Lemke, Dantzig, Newton and other MLCP solvers. The A matrix contains sparsity information.
...
Added a PGS solver that uses the sparsity of the A matrix, just for testing (the equivalent sequential impulse solver is much faster, not having to allocate the big matrices)
2013-10-20 17:38:14 +00:00
erwin.coumans@gmail.com
5bd6decb2e
Use the more accurate, but slightly slower, gjk ray test by default, instead of the sub-simplex convex cast.
...
Set the rayCallback.m_flag btTriangleRaycastCallback::kF_UseSubSimplexConvexCastRaytest to enable the previous approximate/faster ray test.
2013-10-19 16:42:17 +00:00
erwin.coumans
d998680a68
fix error in Visual Studio 2005 build, due to unsupported SSE intrinsics
2013-10-16 21:25:52 +00:00
erwin.coumans@gmail.com
d4640227ce
add option to disable btMultiBody self-collision (for the entire hierarchy) or to disable parent-child collision for jointed links.
2013-10-08 00:50:40 +00:00