Commit Graph
87 Commits
Author SHA1 Message Date
Erwin Coumans 812c67e221 fix various warnings, more work on shared memory API 2015-07-22 18:06:05 -07:00
Erwin Coumans 2de1f29995 add xacro_standalone.py tool, to convert a urdf.xacro to urdf
It has no dependencies, except for a python installation
2015-07-21 12:42:46 -07:00
Erwin Coumans 7f4beba7ee add forceFixedBase option for URDF import example 2015-07-07 15:39:36 -07:00
Erwin Coumans (Google) 8517e85b21 fix various warning
add b3ResourcePath utility, to locate resources relative to executable
2015-07-03 18:17:14 -07:00
Erwin Coumans 45d4816c44 fix case-sensitivity issue 2015-07-01 08:58:14 -07:00
Erwin Coumans bc8b95dd9d remove some warnings 2015-06-26 12:59:48 -07:00
erwin coumans 3b4ad1cd5a add the option to shift the applied force/torque for a multibody joint (mobilizer) to the joint frame origin 2015-06-25 15:09:35 -07:00
erwin coumans b14afba350 more work-in-progress on joint-torque sensor sample and server/client shared memory API 2015-06-22 15:30:57 -07:00
erwin coumans 6e9eb13235 implement joint reaction forces for mobilizer motor/limit, by passing the constraint forces as 'external forces' and going through the Articulated Body Algorithm
minor refactor for forwardKinematics, store the cached world transform in each btMultiBody::link
2015-06-19 15:51:24 -07:00
Erwin Coumans 02fbcd2a05 reorder initializer 2015-06-11 11:48:43 -07:00
Erwin Coumans 92a612a146 fix in btSoftBodyInternals.h to avoid infinite recursion 'getMargin'
but call base class instead
2015-06-05 16:43:17 -07:00
Erwin Coumans 1a4ce475f7 fix an issue with btMultiBodyConstraint, automatically 'finalizeMultiDof' to pre-allocate jacobian data
enable joint limit for slider/prismatic joint in btMultiBody version of URDF loader
2015-06-05 11:46:53 -07:00
Erwin Coumans 85acb2a009 fix an OpenGL performance issue running on some Linux machines
(apparently searching for a framebuffer with more samples makes NVIDIA Quadro slow)
2015-06-03 17:18:56 -07:00
Erwin Coumans (Google) 190382e9ec enable posix shared memory on non-Win32 platforms (Linux and Mac) for example browser 2015-05-30 20:32:29 -07:00
erwin coumans 5b34cda617 add simple 3d debug text for OpenGL2 in example browser 2015-05-06 16:11:03 -07:00
erwin coumans 5a0b744e73 fixed premake4 issue causing the build to fail on non-Mac platforms 2015-05-06 12:05:25 -07:00
erwin coumans f9b8120e5d set upaxis for all demos (either Y/1 or Z/2) 2015-04-29 14:02:50 -07:00
erwin coumans 40375983d6 rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming 2015-04-29 13:33:26 -07:00
erwin coumans 4ed666a72a fix double-precision compile problem
fix profile window (See View/Profiler in ExampleBrowser)
2015-04-29 13:21:26 -07:00
erwin coumans 03e53627d6 fix an issue in MPR collision detection (which is not used by default), only for testing in the VoronoiFracture demo 2015-04-29 12:09:12 -07:00
erwin coumans a165ff54c9 fix maxLinMotorForce/maxAngMotorForce in btSliderConstraint
Thanks to Stephen Peters, see also https://github.com/bulletphysics/bullet3/pull/328
2015-04-29 11:05:00 -07:00
erwin coumans d1ff63dd49 add missing files to CMakeLists.txt 2015-04-29 10:54:40 -07:00
Erwin Coumans (Google) 84f2d5b9a0 Merge remote-tracking branch 'bp/master' 2015-04-28 20:57:41 -07:00
Erwin Coumans (Google) dd6ec0bcfd fix Linux build 2015-04-28 20:56:18 -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 27227e5e4a add SoftDemo examples
add example description for all examples (with word-wrap)
add the VoronoiFractureDemo, note that the collision are disabled after breaking constraints.
add optional GwenOpenGLTest, to make it easier to see Gwen user interface features.
2015-04-27 18:35:07 -07:00
erwin coumans 619833ee00 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-04-23 15:41:40 -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
erwin coumans 51938d642e prepare for 'custom' multi body creation. 2015-04-22 18:09:00 -07:00
erwin coumans b64f5feba4 refactor of URDF importer (work-in-progress) 2015-04-22 16:35:27 -07:00
erwin coumans f2aef6b73e add additional demos/examples for MultiBody and Constraints 2015-04-22 13:02:27 -07:00
erwin coumans 13396d32bf add basic legacy OpenGL2 rendering 2015-04-20 15:28:52 -07:00
erwin coumans 482deb1fca Merge remote-tracking branch 'bp/master' 2015-04-20 10:12:29 -07:00
erwin coumans 50262d2c97 Merge remote-tracking branch 'bp/master' 2015-04-17 09:16:28 -07:00
Erwin Coumans (Google) 438cb00abd fix Linux build (cmake, case-sensitive folder name) 2015-04-16 22:29:10 -07:00
Erwin Coumans (Google) 9e2eff9a1e fix Linux modifier keys 2015-04-16 17:57:38 -07:00
Erwin Coumans (Google) bf39570ff3 fixes for Linux 2015-04-16 16:58:42 -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
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 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 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
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
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
erwin coumans 5eb2c01957 fix double precision build 2014-12-16 14:58:50 -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 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
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 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 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
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
erwin coumans a59bedd745 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-10-22 14:47:07 -07:00
erwin coumans 1ce647742c fix build 2014-10-22 14:46:48 -07:00
erwin coumans 2e1cbc0133 add basic concept demo, Coordinate System for a start.
set the up axis for some of the demos.
2014-10-22 11:17:13 -07:00
erwin coumans 579b34d2e0 Added a basic COLLADA .dae importer mainly to support URDF loading (URDF can refer to COLLADA .dae or STL .stl for mesh support)
It is fairly limited, only supports loading <geometry> with triangulated meshes, no material loading
I will extend this with COLLADA Physics support.
2014-10-21 17:44:54 -07:00
erwin coumans 5f61473229 fix double precision build 2014-10-17 13:39:34 -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
erwin coumans c0b4871f6c fix build error in SupportFuncDemo.h 2014-10-17 10:19:16 -07:00
Erwin Coumans 0125324bd6 consolidate files into btgui/OpenGLWindow (from FontFiles/OpenGLTrueTypeFont)
consolidate stringify_linux/_osx into stringify.sh
2014-09-03 09:52:31 -07:00
Erwin Coumans (Google) 58d7a7b9d5 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-09-01 09:21:26 -07:00
Erwin Coumans (Google) e20c240178 make stringify_linux.sh compatible with mac osx (testing) 2014-09-01 09:17:21 -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 d4e4fdc2c5 fix Linux and Cmake build 2014-08-20 16:48:46 -07:00
Erwin Coumans 423f07945f Merge remote-tracking branch 'github_bulletphysics/master' 2014-08-18 22:33:14 -07:00
Erwin Coumans d93b27f16c premake4: add option to force dynamic loading of OpenGL and X11
--force_dlopen_opengl and --force_dlopen_x11
2014-08-18 22:19:34 -07:00
Erwin Coumans bf1bd07636 premake4 build: allow to dynamically load X11 if X11 system headers/library is missing
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
2014-08-18 21:43:08 -07:00
erwin coumans 670576ec72 remove #include <stdbool.h> it breaks MSVC 2010
enable gtest by default when using premake, added flag without-gtest
use gtest ASSERT_EQ( expected_value, actual_value) instead of the reverse,
this fixes issue 205 (https://github.com/bulletphysics/bullet3/issues/205)
2014-08-12 12:18:32 -07:00
Erwin Coumans (Google) e1abb8ba89 fix #include path and compile error 2014-07-30 08:27:17 -07:00
Erwin Coumans (Google) 433d349369 add option for newer Linux demos to dynamically load X11, glX and OpenGL 1 functions
(and avoid having to link against X, glx and GL)
-DGLEW_INIT_OPENGL11_FUNCTIONS
-DGLEW_DYNAMIC_LOAD_ALL_GLX_FUNCTIONS
-DDYNAMIC_LOAD_X11_FUNCTIONS
and link against libdl (for example usingi -ldl)
2014-07-11 14:25:32 -07:00
Erwin Coumans (Google) 72ae3b6afb test commit for travis-ci.org 2014-07-11 13:21:00 -07:00
Erwin Coumans (Google) b99ef60451 test commit for travis-ci.org 2014-07-11 13:17:33 -07:00
Erwin Coumans (Google) 27b0e4d1e6 experiments with params in AllBullet2Demos (quick hack for testing, will clean this up soon)
yet another workaround to make Intel GPU work with glDrawBuffers on Ubuntu
2014-07-08 16:42:57 -07:00
Erwin Coumans (Google) f89d70b895 fix Linux build 2014-07-03 22:41:07 -07:00
Erwin Coumans (Google) b7402df015 more X11/Linux debug-graphics fixes 2014-06-30 16:03:36 -07:00
Erwin Coumans (Google) 4189a9a67f fix issue with Intel OpenGL 3.x driver under Ubuntu, render to texture cannot handle glDrawBuffer(GL_NONE) 2014-06-24 20:12:05 -07:00
Erwin Coumans (Google) 8f94ced88a improve Linux OpenGL 3.x context creation handling, don't crash if the shadowmap shader fails
add cursor-key support for Linux
2014-06-24 15:43:04 -07:00
Erwin Coumans (Google) 3480cb5eee fix Linux build 2014-06-24 11:33:00 -07:00
Erwin Coumans 934df75ea6 more fixes in the build, related to CMake and some error (don't delete a void* pointer!)
revert BasicDemo.cpp to original Bullet 2.82 state
2014-05-13 21:52:46 -07:00
Erwin Coumans (Google) a5d050bc5e fix Cmake under Linux (using the premake workaround) 2014-05-05 15:56:57 -07:00