Commit Graph

156 Commits

Author SHA1 Message Date
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
Erwin Coumans
b063cfc509 more workaround for glDrawBuffers issue 2014-06-24 20:24:31 -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
fd7a2b3a17 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-06-24 15:32:19 -07:00
Erwin Coumans
c1db34a046 enable B3G_RETURN for Mac OSX 2014-06-24 11:49:34 -07:00
Erwin Coumans (Google)
3480cb5eee fix Linux build 2014-06-24 11:33:00 -07:00
Erwin Coumans
68f798a2da Start re-organizing demos so the physics setup can be shared easier (explicit create graphics objects, init/exit physics etc)
Add B3G_RETURN key code, only implemented in Windows so far (todo: Mac, Linux)
Fix Windows key management (use WM_CHAR event instead of WM_KEYUP
Add Return (OnKeyReturn) key support TreeNode, so we can select an item using the return key.
2014-06-24 10:14:06 -07:00
Erwin Coumans
7f300a877f fix some btgui issues on Mac OSX 2014-05-20 14:43:19 -07:00
Erwin Coumans
4912bebfbf fix linker error on Mac OSX 2014-05-20 14:07:57 -07:00
erwin coumans
eb74688c18 Add setUserIndex/getUserIndex (int index) to btCollisionShape
Share physics setup of BasicDemo between different graphics frameworks, see Demos\BasicDemo\BasicDemoPhysicsSetup.*
Plan is to do this for all Bullet demos.
Improve gwen performance and cursor navigation for tree control.
tweak shadowmap size
SimpleOpenGL3App::registerCubeShape accepts half extents
2014-05-20 12:02:01 -07:00
Erwin Coumans
f213b00022 fix BUILD_SHARED_LIBS and add it as an OPTION (cross fingers that CMake lets you expose existing vars as OPTION)
this should fix issue 176, thanks to Stephen Peters!
2014-05-19 20:50:10 -07:00
Erwin Coumans
3dd759c463 fix BT_USE_DOUBLE_PRECISION build, address Issue 177
https://github.com/bulletphysics/bullet3/issues/177
2014-05-19 14:53:11 -07:00
erwin coumans
01ce7a0288 remove a few unused variable, and add casts to avoid warnings 2014-05-16 08:59:34 -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
dc491936a2 rename ObsoleteDemos back to Demos
fix some relative path issues for loading assets
2014-05-12 16:12:01 -07:00
Erwin Coumans
7cec30dede fix Linux build
optional Midi under Linux (ALSA/libasound)
2014-05-05 15:37:02 -07:00