Commit Graph

3138 Commits

Author SHA1 Message Date
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
Haydn Trigg
6ff7a6d48b Update btQuickprof.cpp 2014-07-26 00:44:16 +09:30
Haydn Trigg
4a43eab4dd Update btQuickprof.h 2014-07-26 00:44:15 +09:30
erwincoumans
d347bca2ba use lower-case input by default under Linux 2014-07-20 06:22:50 -07:00
bgossage
d58857f06b -- Corrected cast of 32-bit int to 64-bit pointer
-- Removes 64-bit portability issue.
2014-07-17 11:13:07 -05:00
erwincoumans
e317b64643 Merge pull request #197 from juj/no_xcompile_system_includes
No system headers when cross-compiling.
2014-07-14 09:26:16 -07:00
Jukka Jylänki
1054fd1992 Fix CMakeLists.txt to not unconditionally add include paths to native system headers in /usr/include and /usr/local/include, which contain include files for the host architecture, and not the target architecture that is being compiled for. 2014-07-12 13:50:12 +03:00
Jack Andersen
d4fd695d56 Compile fix for parallelLinearBvh.cl on OS X Intel HD 5000 2014-07-11 14:11:11 -10: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
erwincoumans
8e11121ced Merge pull request #178 from scpeters/travis_yml
Add .travis.yml for continuous integration
2014-07-11 12:58:16 -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 (Google)
f89d70b895 fix Linux build 2014-07-03 22:41:07 -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
dca234ec02 use included glew on Linux, only if glew is not installed in /usr/include/GL/glew.h 2014-07-01 13:01:42 -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
erwincoumans
473c2d43bf Merge pull request #188 from gjaegy/master
fix crash on CPU not having AVX support
2014-06-30 12:13:26 -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
eecffab524 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-06-27 12:06:54 -07:00
erwin coumans
771a2e0bcb enable auto-conversion of btConvexHullShape to basic graphics representation for the GLInstancedPrimitiveRenderer 2014-06-26 22:06:01 -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
f82f016621 add missing file 2014-06-24 10:27:03 -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
Gregory Jaegy
f2e54ea0a5 fix crash on CPU not having AVX support 2014-06-20 09:58:31 +02:00
Filip Wasil
2d30c6e735 fix: path resolving was wrong when built as a subproject
Signed-off-by: Filip Wasil <filip.wasil@gmail.com>
2014-06-19 21:48:25 +02:00
Erwin Coumans
28f19f1bab improve BasicDemo, better mouse handling, add colors to drawing 2014-05-21 09:59:24 -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
Steven Peters
6d36803de7 Test also with double precision 2014-05-20 11:11:15 -07:00
Steven Peters
010d5cbc2b Add .travis.yml for continuous integration 2014-05-20 10:54:43 -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