Commit Graph

2896 Commits

Author SHA1 Message Date
Erwin Coumans
c1db34a046 enable B3G_RETURN for Mac OSX 2014-06-24 11:49:34 -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
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
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
Erwin Coumans
7cec30dede fix Linux build
optional Midi under Linux (ALSA/libasound)
2014-05-05 15:37:02 -07:00
Erwin Coumans
c1940169bc workaround of premake for link error on Ubuntu/Linux, see
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642
2014-05-05 13:47:00 -07:00
erwincoumans
a1febdcf3d Merge pull request #169 from erwincoumans/master
fix name 'BulletCollisions' -> BulletCollision
2014-05-05 08:34:17 -07:00
erwin coumans
e0784b2da6 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-05-05 08:29:10 -07:00
erwin coumans
7328ed900b fix type, BulletCollisions -> BulletCollision
Thanks to pfanne for the report: https://github.com/bulletphysics/bullet3/issues/168
2014-05-05 08:29:01 -07:00
Erwin Coumans
e279aed08f re-enable the fix for broken friction in Clang (got accidently undone in a recent commit)
fix OSX build
2014-05-03 10:11:49 -07:00
erwincoumans
0e1a77047c fix Linux build 2014-05-03 02:50:09 -07:00
Erwin Coumans
66ab2a2022 fix OSX build 2014-05-03 08:48:46 -07:00
erwincoumans
0b6d1af1d4 Only enable SSE4 for Visual Studio 2012 or later (_MSC_FULL_VER >= 170050727), it breaks the build for Visual Studio 2010
Add additional constructor for btMultiBodyJointMotor
2014-05-01 22:23:37 -07:00
Erwin Coumans
0e1b90d708 Added SSE4/FMA optimized constraint row solver implementation for btSequentialImpulseConstraintSolver,
thanks to Vladimir Bondarev (https://github.com/VladimirBondarev/bullet3/tree/c25d)
2014-05-01 17:13:50 -07:00
Erwin Coumans
7151865c16 Introduce kF_UseGjkConvexCastRaytest, and make kF_UseSubSimplexConvexCastRaytest the default for btCollisionWorld::rayTest See https://github.com/bulletphysics/bullet3/issues/34
Add btCollisionObject::setIgnoreCollisionCheck to disable collisions between specific instances, without having a btTypedConstraint. See https://github.com/bulletphysics/bullet3/issues/165

Make btMultiBody and btMultiBodyJointMotor backwards compatible with Bullet 2.82 API (single-DOF API)
2014-05-01 13:51:56 -07:00
Erwin Coumans
907ac49892 work-around what appears to be a bug in Clang 3.4. Todo: create a small repro case for Clang/LLVM or see if they already fixed it. 2014-04-29 11:44:52 -07:00
Erwin Coumans
8eb1835415 fix a potential bug in CProfileNode destructor, if the SDK is included/used multiple times. 2014-04-28 11:24:29 -07:00
Erwin Coumans
4996a64238 fix CMake build on Mac OSX 2014-04-28 11:11:45 -07:00
erwincoumans
55f045956e Merge pull request #161 from XBog/master
subdivision backface shouldnt be in front
2014-04-13 10:58:15 -07:00
Erwin Coumans
a3369e2d14 minor fix in GL3+ rendering 2014-04-12 19:53:44 -07:00
XBog
ed42e217b5 subdivion backface shouldnt be in front 2014-04-12 18:11:58 +02:00
erwincoumans
5dafea7c06 avoid allocations in renderer (messes up AMD buggy OpenGL driver)
add missing file in cmake build system (BroadphaseCollision/b3GpuParallelLinearBvhBroadphase.cpp and BroadphaseCollision/b3GpuParallelLinearBvh.cpp)
2014-04-09 21:23:22 -07:00
erwincoumans
6311824bc1 Merge branch 'master' of https://github.com/bulletphysics/bullet3 2014-04-09 11:17:01 -07:00