Commit Graph

239 Commits

Author SHA1 Message Date
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
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
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
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
2965087110 remove unnecessary header 2014-10-21 18:06:36 -07:00
Erwin Coumans
bb9ea22bf0 fix mac build 2014-10-21 17:49:57 -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
c0b4871f6c fix build error in SupportFuncDemo.h 2014-10-17 10:19:16 -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
erwincoumans
11ded54a04 call 'updateCamera' in GpuDemos. 2014-09-12 09:51:01 -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
dc16655d35 more bug fixes 2014-08-28 19:01:56 -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
2c19a27694 add missing ConstraintPhysicsSetup.* files 2014-08-22 14:50:42 -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
erwincoumans
bc96d5e82c Update ImportURDFSetup.cpp
fix signed/unsigned warning
2014-08-22 11:45:17 -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
ed637a6942 fix mac build 2014-08-20 17:24:12 -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
=
3c9ee80504 fix compile error 2014-08-01 14:25:56 -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