Commit Graph

3130 Commits

Author SHA1 Message Date
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
Erwin Coumans
d84afc11b9 Merge remote-tracking branch 'bp/master' 2015-02-04 10:15:21 -08:00
Erwin Coumans
a164245915 link against pthreads using cmake when building under Linux, shared libs
(linking against pthreads is just a workaround for buggy NVidia drivers that require it)
2015-01-27 13:52:10 -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
=
2a1ac61c4d fix cmake build 2015-01-27 13:09:39 -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
Erwin Coumans
51f41d0cfc fix issue, when debug drawer doesn't exist don't try to use it
enable simulation by default (was accidently switched off at startup of AllBullet2Demos)
2015-01-22 18:28:00 -08:00
erwincoumans
c5b7d5011e Merge pull request #307 from a0121536/patch-1
Fix the shadows in the 'Gyroscopic' demo
2015-01-22 17:58:20 -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
a0121536
c7503bb3da Fix the shadows in the 'Gyroscopic' demo 2015-01-02 13:06:47 +02:00
erwin coumans
6e70f285e1 fix a 64-bit issue in the optional 'preSwapFilenameOut' method (this is only use when you want to export a copy of a .bullet file after loading with a different endian-ness) 2014-12-22 14:04:19 -08:00
erwin coumans
a6bf3d023e update interfaces for GL2 2014-12-16 17:20:37 -08:00
erwincoumans
46b9f7fbee Merge pull request #299 from erwincoumans/master
fix crash in BasicDemo and some other minor things (see commits)
2014-12-16 16:32:39 -08:00
erwin coumans
5eb2c01957 fix double precision build 2014-12-16 14:58:50 -08: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
erwin coumans
b88aaa7115 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-12-16 14:27:57 -08:00
erwin coumans
548fe5b04e fix crash in BasicDemo
add small experiments to distribute points on a sphere
prepare for coordinate frame demo (incomplete)
fix/hack around gwen update of scroll bars and Focu
2014-12-16 14:27:38 -08:00
Erwin Coumans
c26e0c2f73 Merge remote-tracking branch 'bp/master' 2014-12-16 10:42:02 -08:00
erwincoumans
6e6c6812ec Merge pull request #297 from Orbots/convex-hull-fix
Convex hull fix
2014-12-12 21:18:49 -08:00
erwin coumans
122fabac87 prepare to create coordinate frame demo, minor cleanup for create funcs in demo entries,
fix r2d2.urdf inertia
2014-12-12 18:14:49 -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
erwincoumans
366b2ef500 Merge pull request #295 from erwincoumans/master
fix a problem in the btMultiBodyConstraint related to self-collision, se...
2014-12-09 16:58:11 -08:00
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
erwincoumans
dc731280b8 Merge pull request #281 from erwincoumans/master
comment-out the memset in DEBUG mode in btVector3.cpp and b3Vector3.cpp
2014-11-05 12:27:55 -08:00
erwin coumans
eafbf817c3 fix MSVC 2013 compilation (std::min needs #include <algorithm>
add example use of GJK+MPR in VoronoiFractureDemo
2014-11-05 08:58:24 -08:00
Erwin Coumans
c64377b76c fix linux build of test/collision 2014-11-03 20:19:13 -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
erwincoumans
df6d377224 Merge pull request #280 from erwincoumans/master
Minkowski Portal Refinement, Finite Element Method demo
2014-11-02 13:51:45 -08:00
Erwin Coumans
5264fc3006 disable work-in-progress softbody demo 2014-11-02 13:26:25 -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
f25b5fb17a placeholder for soft body 2014-10-31 16:10:28 -07:00
Erwin Coumans
65225575ed render the tetrahedral mesh (no mesh normals) 2014-10-31 15:24:07 -07:00
Erwin Coumans
eac8b32782 add very basic multibody vehicle
tweak finite element experiment with parameter
2014-10-31 14:14:45 -07:00
Erwin Coumans
91bcb055db initialize variable to fix FEM nodes 2014-10-31 09:57:08 -07:00
=
83ccc5b2c5 fix Mac build 2014-10-29 13:56:32 -07:00
erwin coumans
8aaf5a5019 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:39:53 -07: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
erwincoumans
5f53ebd430 Merge pull request #278 from dbasilioesp/master
Stylized ReadMe
2014-10-27 12:32:11 -07:00
David Basilio Espitalher
05b036d7e7 Update README.md 2014-10-27 17:18:03 -02:00
David Basilio Espitalher
cc1c2e9e8a Update README.md 2014-10-27 11:02:11 -02:00
David Basilio Espitalher
c174d6441e Update README.md 2014-10-27 11:01:05 -02: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