Commit Graph

3015 Commits

Author SHA1 Message Date
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
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
erwincoumans
2601932249 fix issue related to addConstraint/removeConstraint, introduced by filtering collision between two particular bodies
https://github.com/bulletphysics/bullet3/issues/173
2014-05-17 14:24:22 -07:00
Erwin Coumans
1e2b907562 update version to 2.83 for an intermediate release (2014 will be a transition year to Bullet 3.x) 2014-05-16 16:20:07 -07:00
Erwin Coumans
46884e0f1f update the binary premake4_osx binary, avoid the -Wl,-x flag so clang linker doesn't produce an error
ld: internal error: atom not found in symbolIndex
see http://industriousone.com/topic/how-remove-flags-ldflags
2014-05-16 16:11:59 -07:00
Erwin Coumans
08369dbd0a fix uninitialized data in btMultiBodyPoint2Point, thanks to Valgrind
valgrind --track-origins=yes  --log-file="dump_valgrind.txt" ./App_AllBullet2Demos_codeblocks_x64_debug
2014-05-16 11:56:43 -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
a22e129f8b remove unused/uninitialized data in BulletWorldImporterDemo 2014-05-15 23:25:00 -07:00
Erwin Coumans
7f3cbc066f Remove @workaround for sticky convex collisions in btGjkPairDetector, it suffers from many artifacts,
We still need to do more work on GJK when using very small collision margins...
Fix premake build on Windows
2014-05-15 22:55:54 -07:00
Erwin Coumans
73c5d49434 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-05-15 15:45:32 -07:00
Erwin Coumans
e579fa9488 fix/workaround for gcc internal compiler error
See also http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=9636&hilit=compiler+error+gcc

and https://github.com/bulletphysics/bullet3/issues/174
https://github.com/bulletphysics/bullet3/issues/39
2014-05-15 15:44:22 -07:00
Erwin Coumans
d65089e8e0 cmake improvements 2014-05-15 15:39:26 -07:00
erwincoumans
732e4de22a Merge pull request #172 from tcShadowWalker/master
fix gcc warning message in public header when using c++11
2014-05-15 09:58:21 -07:00
Erwin Coumans
5c1fc2e3a4 fix OpenGL detection on Linux, and re-add TTF project to premake 2014-05-14 11:03:53 -07:00
Jan-Philip Stecker
6f3abe414c fix gcc warning message in public header for c++11
- missing whitespace lead to msgs like:
include/bullet/LinearMath/btScalar.h💯41:
warning: invalid suffix on literal; C++11 requires a space between
literal and string macro [-Wliteral-suffix]

- this error was visible in projects using bullet when using c++11 mode
2014-05-14 19:44:23 +02: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
9ab755fc07 fix build (missing glut include path, #include <algorithm> for std::max in hacdICHull.cpp) 2014-05-13 12:59:32 -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
23a2a4f4f9 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-05-07 10:20:09 -07:00
Erwin Coumans
efd3157d1f only compile Bullet 3 if desired (with CMake)
remove empty namespace
2014-05-07 10:19:27 -07:00
erwincoumans
6c01c83986 Merge pull request #170 from erwincoumans/master
sync repos
2014-05-07 09:00:24 -07:00
erwin coumans
f98f24b697 fix in Extras/Serialize/BulletFileLoader related to optional endian swap between 64bit and 32bit platforms 2014-05-07 08:55:25 -07:00
erwin coumans
2cf7806c87 add the 'extras' and Bullet 2 tests, to make it easier to create a new intermediate release 2014-05-07 08:54:08 -07:00
Erwin Coumans (Google)
a5d050bc5e fix Cmake under Linux (using the premake workaround) 2014-05-05 15:56:57 -07:00