Commit Graph

172 Commits

Author SHA1 Message Date
Erwin Coumans
6406519108 allow to compile using gcc-4.x on Mac OSX 2014-09-10 20:50:12 -07:00
Erwin Coumans
a26f9c1871 premake: use *.cpp insteadl of **.cpp 2014-09-05 11:22:25 -07:00
Erwin Coumans
61808844de escape quits SimpleOpenGLApp 2014-09-04 17:54:33 -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
da8abf443e fix support for dynamic loading of X11 functions, after adding XRaiseWindow
./premake4_linux64 --force_dlopen_x11 gmake
2014-08-31 12:51:11 -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
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
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
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
af5883c6e8 remove a lot of warnings (more todo in demos and serialization code) 2014-08-22 10:29:05 -07:00
Erwin Coumans
37aa4dc4f8 fix more warnings, implement missing X11 function for dynamic loading 2014-08-21 17:27:14 -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
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
ae98ffe218 add Obj and STL import demo, work on URDF import 2014-08-03 13:45:05 -07:00
=
35fa146f13 fix build 2014-08-01 14:41:22 -07:00
Erwin Coumans
86f793a6ae start of URDF parsing (extremely preliminary) 2014-08-01 13:01:31 -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
Erwin Coumans
f9691957c1 fix Windows version of urdf parser 2014-07-31 14:42:33 -07:00
Erwin Coumans
04632538ec add tinyxml, urdfdom and urdfdom_headers from https://github.com/ros/urdfdom
(removed BOOST dependency and make it compile on Windows)
2014-07-31 13:38:31 -07:00
Erwin Coumans
4b8c8e7910 expose basic parameters in SimpleOpenGL3App, test with accumulated hinge angle, GUI is still preliminary 2014-07-31 11:47:04 -07:00
Erwin Coumans
a817b0bb24 support Retina for movie generation in SimpleOpenGL3App 2014-07-29 23:06:36 -07:00
Erwin Coumans
0c39cda57b enable png and mp4 output in SimpleOpenGL3App, see
Demos3/SimpleOpenGL3 use commandline parameter
--png_file="pngname" or
--mp4_file="video.mp4"

Thanks to http://blog.mmacklin.com/2013/06/11/real-time-video-capture-with-ffmpeg/
2014-07-29 16:58:22 -07:00
=
cac50c1a8e remove a few warnings, fix GLInstancingRenderer::drawLines 2014-07-29 11:08:09 -07:00
=
c487170196 remove OpenGL/glu.h from gl3 headers (warning), replace some OpenGL definitions ARB/non-ARB 2014-07-27 11:19:11 -07:00
Erwin Coumans
0b40e1a899 add upAxis option for Y or Z up
remove some warnings
2014-07-27 10:29:10 -07:00
Erwin Coumans
5e9102bf00 fix warnings in OpenGLTrueTypeFont 2014-07-27 10:25:36 -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
9b9fa7509f Add option to let glew initialize the OpenGL 1.1 function pointers (not just all OpenGL 1.2 and above function pointers)
so you can avoid linking against OpenGL / libGL library at link-time.
See also http://sourceforge.net/p/glew/mailman/message/22729161/ and
http://portal.nersc.gov/svn/visit/branches/2.6RC/src/third_party_builtin/glew/glew/
Thanks to Tom Fogal for the help.
2014-07-10 11:45:35 -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
b438b91009 fix Mac build 2014-07-03 22:30:50 -07:00
Erwin Coumans
bae303c5da add preliminary glut replacement test for Bullet 2.x demos 2014-07-03 16:42:50 -07:00
Erwin Coumans
87d44cbb74 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-07-02 09:40:39 -07:00
Erwin Coumans
6598d1fdde update Windows glew source 2014-07-01 12:57:32 -07:00
Erwin Coumans
6d62a318ae only apply the Intel glDrawBuffers fix on Linux (not Win/Mac) 2014-07-01 10:26:45 -07:00
Erwin Coumans (Google)
b7402df015 more X11/Linux debug-graphics fixes 2014-06-30 16:03:36 -07:00
Erwin Coumans
8e2a4f8171 dynamically switch between OpenGL 2 and OpenGL 3 (test gwen) 2014-06-30 14:42:11 -07:00
Erwin Coumans
05baa69fa9 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-06-30 12:16:47 -07:00
Erwin Coumans
791b5149f6 prepare to re-enable Gwen user interface (OpenGL_DebugFont) for OpenGL2.x
prepare to add improved btGeneric6DofSpringConstraint
2014-06-30 12:09:59 -07:00
Erwin Coumans
063a0344ac better workaround for Intel GPU crash for glDrawBuffer on Linux
fix a linux build issue
2014-06-27 17:18:25 -07:00
Erwin Coumans
16d759af6f Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-06-24 20:44:35 -07:00
Erwin Coumans
a7f0567d04 more workaround for the Intel glDrawBuffers issue 2014-06-24 20:44:01 -07:00
Erwin Coumans
4bace5ca7e Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-06-24 20:27:40 -07:00