Commit Graph

3186 Commits

Author SHA1 Message Date
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
ffb0cab2e7 glew/GL fixes 2015-04-16 15:38:08 -07:00
erwincoumans
b33d17f91c rename GL/glew to CustomGL/glew.h to avoid clashes with system glew 2015-04-16 15:29:39 -07:00
erwincoumans
57d8567ca3 more example refactoring 2015-04-16 15:16:13 -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
erwincoumans
a1bf9c5556 add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it. 2015-04-16 09:55:32 -07:00
erwincoumans
d9feaf2d2a delete Demos, Demos3, btgui, it will be replaced by 'examples' 2015-04-16 09:50:46 -07:00
erwin coumans
f30c736fc7 Merge remote-tracking branch 'bp/master' 2015-03-30 12:09:44 -07: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
erwincoumans
d605cc1cd7 render the wheels of the ForkLiftDemo 2015-03-28 12:36: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
erwincoumans
4100db0c70 Merge pull request #346 from erwincoumans/master
Add global and local implicit Gyroscopic force integration, with Dzhanibekov effect demo
2015-03-25 14:54:24 -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
erwincoumans
8382ccdc3d Merge pull request #343 from erwincoumans/master
re-enable auto-joint velocity target motors in URDF multibody import
2015-03-23 12:13:14 -07:00
=
29949b63cc fix double precision build (a demo was broken) 2015-03-23 11:43:50 -07:00
Erwin Coumans
54b2bd9ff1 re-enable auto-joint velocity target motors in URDF multibody import 2015-03-20 14:54:34 -07:00
erwincoumans
a6690f97a3 Merge pull request #342 from erwincoumans/master
small URDF2Bullet refactor to make URDF import a little bit more re-useable
2015-03-20 13:33:45 -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
erwincoumans
3d19aec7fa add some minor fixes for URDF2Bullet to make it work (needs more testing) 2015-03-18 15:12:27 -07:00
Erwin Coumans
b35527ad5c work-in-progress URDF refactor to make it easier to reuse (broken) 2015-03-17 16:07:14 -07:00
erwincoumans
e336c480bd Merge pull request #338 from erwincoumans/master
ImportURDFSetup: add Wavefront/obj support
2015-03-10 08:39:13 -07:00
erwin coumans
ebd63d92c9 ImportURDFSetup: add Wavefront/obj support
ImportURDFSetup: initialize mass/inertia to 1 by default (instead of 0)
2015-03-09 14:23:17 -07:00
erwincoumans
5e78feb4cb Merge pull request #253 from TimothyGu/patch-1
Install pkg-config file on MinGW systems as well
2015-03-04 16:11:03 -08:00
erwincoumans
97e9b5ccad Merge pull request #337 from erwincoumans/master
add btMultiBodyConstraint::finalizeMultiDof API: if you add multi-body c...
2015-03-03 17:06:04 -08:00
erwin coumans
981eba2e83 add missing files
fix double-precision build error
2015-03-03 13:48:10 -08: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
erwincoumans
a391e619ed Update README.md 2015-03-01 10:30:20 -08:00
erwincoumans
98ac437649 Merge pull request #326 from erwincoumans/master
_N -> n, _C -> c, _L ->l, some collision with a standard C++ header?
2015-02-20 13:53:54 -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
erwincoumans
2a0787907b Merge pull request #324 from erwincoumans/master
improved URDF support and fixes in btMultiBody
2015-02-13 19:04:34 -08:00
Erwin Coumans
4e02f6673b fix a bug related to gyroscopic forces in btMultiBody 2015-02-13 18:27:01 -08:00
Erwin Coumans
d8b08eaf2a fix in URDF loading: apply visual transform locally, not after compensating for inertia transform.
add option in COLLADA loading to specify client up axis (so that if client=Z and COLLADA =Z, upAxisTransform is identity,
while if client=Y and COLLADA=Y, upAxisTransform is identity etc)
2015-02-13 16:18:16 -08:00
=
a65d8fc209 fix a few warnings 2015-02-12 17:08:11 -08:00
=
6cbe3a3087 Merge remote-tracking branch 'erwin/master' 2015-02-12 14:04:13 -08:00
=
99637cbc1a fix HACD crash, thanks to gjaegy
See https://github.com/bulletphysics/bullet3/pull/277
2015-02-12 13:54:19 -08:00
erwincoumans
01a14e4daf Merge pull request #322 from scpeters/issue_321
Add extra -I flag to bullet.pc to allow namespaced includes
2015-02-12 13:34:58 -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
erwincoumans
078afee015 Merge pull request #323 from erwincoumans/master
fix some btMultiBody URDF conversion issues in ImportURDFSetup, add RenderInstancingDemo, use GLInstanceVertex
2015-02-12 13:34:07 -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
Steven Peters
35457f0429 Add extra -I flag to bullet.pc to allow namespaced includes
Fixes #321
2015-02-11 16:46:36 -08:00
erwincoumans
b36936a4ab Update Test_v3interp.cpp
add test case for https://github.com/bulletphysics/bullet3/pull/313
2015-02-10 18:12: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
70221aeb3e add RenderInstancingDemo
allow to use OpenGL2 or OpenGL3 in same binary (will add command-line switch)
2015-02-04 16:56:30 -08:00
erwincoumans
e3a77042cd Merge pull request #320 from erwincoumans/master
btTriangleMesh::addTriangleIndices, pthread link fix for OpenGLWindow
2015-02-04 11:44:05 -08:00
erwincoumans
b975248e05 Merge pull request #319 from scpeters/fix_pkgconfig_2.83
Use absolute paths in pkg-config file, thanks to Steven Peters for the contribution!
2015-02-04 11:43:44 -08:00