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
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
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
b35527ad5c
work-in-progress URDF refactor to make it easier to reuse (broken)
2015-03-17 16:07:14 -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
=
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
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
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
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
erwin coumans
a6bf3d023e
update interfaces for GL2
2014-12-16 17:20:37 -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
5264fc3006
disable work-in-progress softbody demo
2014-11-02 13:26:25 -08:00
Erwin Coumans
f25b5fb17a
placeholder for soft body
2014-10-31 16:10:28 -07:00
Erwin Coumans
eac8b32782
add very basic multibody vehicle
...
tweak finite element experiment with parameter
2014-10-31 14:14:45 -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
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
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
eda1ff77db
add alpha blendering option (disabled by default) using w component of color
...
add low-level support function demo (test)
2014-10-15 18:05:11 -07:00
Erwin Coumans
ce0ad64475
fix max osx build
2014-09-29 10:37:39 -07:00
Erwin Coumans
84288952fc
enable OpenGL3 by default (part of work-in-progress refactor)
2014-09-23 18:28:49 -07:00
Erwin Coumans
e314f56f9d
refactor to allow various gfx backends (work-in-progress)
2014-09-23 18:27:16 -07:00
=
f395a5d031
split Wavefront .obj to graphics conversion in a reusable file (Wavefront2GLInstanceGraphicsShape.*)
2014-09-16 14:22:09 -07:00
Erwin Coumans
07e2dcc749
minor cleanup of btgui/demo3 stuff, much more demo cleanup is needed
...
moved some files in btgui/Bullet3AppSupport
2014-09-16 12:08:24 -07:00
Erwin Coumans
a26f9c1871
premake: use *.cpp insteadl of **.cpp
2014-09-05 11:22:25 -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
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
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
a0778a1d49
CMakeLists.txt: OSX check is below 10.9 (not below 10.10), and add new files
2014-08-26 11:37:00 -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
8e64ee57c9
fix a few warnings, and matching class/struct in forward declaration
2014-08-22 18:15:17 -07:00
Erwin Coumans
954d488756
cmake+premake disable OpenGL 3 demos on Mac OSX versions below 10.9
...
See also http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=10073
Move ConstraintPhysicsSetup to Demos3/bullet3/ConstraintDemo
2014-08-22 14:41:21 -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
5834547368
fix more warnings in BulletCollision, and fix CMakeLists for Linux
2014-08-21 15:54:50 -07:00
Erwin Coumans
4af9c5a4c9
remove some warnings
2014-08-21 13:32:32 -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
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
f85e251a5b
add missing files to CMakeLists
2014-08-03 13:56:45 -07:00
Erwin Coumans
ae98ffe218
add Obj and STL import demo, work on URDF import
2014-08-03 13:45:05 -07:00
Erwin Coumans
86f793a6ae
start of URDF parsing (extremely preliminary)
2014-08-01 13:01:31 -07:00
Erwin Coumans
070802f4de
fix premake build
2014-07-31 18:19:59 -07:00
Erwin Coumans
fa3d01e6af
fix build
2014-07-31 18:10:50 -07:00
Erwin Coumans
a08d4a94e3
create URDF skeleton for a demo (only loading data, not converting it yet)
2014-07-31 16:54:28 -07:00