Commit Graph
100 Commits
Author SHA1 Message Date
erwin coumans 6e70f285e1 fix a 64-bit issue in the optional 'preSwapFilenameOut' method (this is only use when you want to export a copy of a .bullet file after loading with a different endian-ness) 2014-12-22 14:04:19 -08:00
erwin coumans a6bf3d023e update interfaces for GL2 2014-12-16 17:20:37 -08:00
erwin coumans 5eb2c01957 fix double precision build 2014-12-16 14:58:50 -08:00
erwin coumans b88aaa7115 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-12-16 14:27:57 -08:00
erwin coumans 548fe5b04e fix crash in BasicDemo
add small experiments to distribute points on a sphere
prepare for coordinate frame demo (incomplete)
fix/hack around gwen update of scroll bars and Focu
2014-12-16 14:27:38 -08:00
Erwin Coumans c26e0c2f73 Merge remote-tracking branch 'bp/master' 2014-12-16 10:42:02 -08:00
erwincoumans 6e6c6812ec Merge pull request #297 from Orbots/convex-hull-fix
Convex hull fix
2014-12-12 21:18:49 -08:00
erwin coumans 122fabac87 prepare to create coordinate frame demo, minor cleanup for create funcs in demo entries,
fix r2d2.urdf inertia
2014-12-12 18:14:49 -08:00
emMichael Alexander Ewert/em d4be7a4823 Revert "replace unstable Gyroscopic force calculations with stable back Euler derived"
This reverts commit 0ce687853d.
2014-12-12 16:35:40 -08:00
emMichael Alexander Ewert/em 92dabdc07d Fix a couple of bugs in 2dConvex Hull algorithm.
* Need to use atan2 so 3d angles are calculated properly after projection.
* Need to handle case where the first tripple of points is non-convex,
previously this would cause the algorithm to fail with only 1 point.
2014-12-12 15:39:16 -08:00
emMichael Alexander Ewert/em 0ce687853d replace unstable Gyroscopic force calculations with stable back Euler derived
update.  Removed max force clamping.
2014-12-12 11:49:36 -08:00
erwincoumans 366b2ef500 Merge pull request #295 from erwincoumans/master
fix a problem in the btMultiBodyConstraint related to self-collision, se...
2014-12-09 16:58:11 -08:00
erwin coumans cf2b4e03b5 fix a problem in the btMultiBodyConstraint related to self-collision, see also
https://github.com/bulletphysics/bullet3/issues/290
2014-12-09 16:57:21 -08:00
erwincoumans dc731280b8 Merge pull request #281 from erwincoumans/master
comment-out the memset in DEBUG mode in btVector3.cpp and b3Vector3.cpp
2014-11-05 12:27:55 -08:00
erwin coumans eafbf817c3 fix MSVC 2013 compilation (std::min needs #include <algorithm>
add example use of GJK+MPR in VoronoiFractureDemo
2014-11-05 08:58:24 -08:00
Erwin Coumans c64377b76c fix linux build of test/collision 2014-11-03 20:19:13 -08:00
Erwin Coumans ba0dd676aa comment-out the memset in DEBUG mode in btVector3.cpp and b3Vector3.cpp 2014-11-02 14:12:54 -08:00
erwincoumans df6d377224 Merge pull request #280 from erwincoumans/master
Minkowski Portal Refinement, Finite Element Method demo
2014-11-02 13:51:45 -08:00
Erwin Coumans 5264fc3006 disable work-in-progress softbody demo 2014-11-02 13:26:25 -08:00
Erwin Coumans 5757de14d7 Merge remote-tracking branch 'bp/master'
Conflicts:
	btgui/Bullet3AppSupport/CommonParameterInterface.h
2014-11-02 13:12:16 -08:00
Erwin Coumans b1863f7ce2 Refactored GJK, EPA and MPR as a template class, reducing/removing the dependencies
to the rest of the Bullet code base. This code will replace the original GJK/EPA
in a future commit.

Added btMprPenetration, an implementation of Minkowski Portal Refinement
by Daniel Fiser. Original MPR idea is by Gary Snethen, and the first
implementation is here: https://github.com/erwincoumans/xenocollide
It is an alternative to EPA, although computing the local penetration depth.
EPA computes the global penetration depth. In many cases, MPR is sufficient
and performs better than EPA.
2014-11-02 12:53:36 -08:00
Erwin Coumans f25b5fb17a placeholder for soft body 2014-10-31 16:10:28 -07:00
Erwin Coumans 65225575ed render the tetrahedral mesh (no mesh normals) 2014-10-31 15:24:07 -07:00
Erwin Coumans eac8b32782 add very basic multibody vehicle
tweak finite element experiment with parameter
2014-10-31 14:14:45 -07:00
Erwin Coumans 91bcb055db initialize variable to fix FEM nodes 2014-10-31 09:57:08 -07:00
erwin coumans 8aaf5a5019 add btFileUtils::toLower to convert a string (char*) to lower case
URDF import demo: add COLLADA .dae file support
add FiniteElementMethod demo, extracted from the OpenTissue library (under the zlib license)
don't crash if loading an invalid STL file
add comparison with Assimp for COLLADA file loading (disabled by default, to avoid library dependency)
Gwen: disable some flags that make the build incompatible
2014-10-29 13:39:53 -07:00
erwin coumans 4b665fa82b add btFileUtils::toLower to convert a string (char*) to lower case
URDF import demo: add COLLADA .dae file support
add FiniteElementMethod demo, extracted from the OpenTissue library (under the zlib license)
don't crash if loading an invalid STL file
add comparison with Assimp for COLLADA file loading (disabled by default, to avoid library dependency)
Gwen: disable some flags that make the build incompatible
2014-10-29 13:18:34 -07:00
erwincoumans 959e86eb1a Merge pull request #276 from erwincoumans/master
Enable CMake support for Windows Phone (_WIN32+_M_ARM) and Windows Store...
2014-10-27 12:47:59 -07:00
erwincoumans 5f53ebd430 Merge pull request #278 from dbasilioesp/master
Stylized ReadMe
2014-10-27 12:32:11 -07:00
David Basilio Espitalher 05b036d7e7 Update README.md 2014-10-27 17:18:03 -02:00
David Basilio Espitalher cc1c2e9e8a Update README.md 2014-10-27 11:02:11 -02:00
David Basilio Espitalher c174d6441e Update README.md 2014-10-27 11:01:05 -02:00
erwin coumans aaaf8dc4e2 Enable CMake support for Windows Phone (_WIN32+_M_ARM) and Windows Store Apps,
Use this recent cmake version (http://cmakems.codeplex.com/) or future cmake that has the Windows Phone/Store App support
Use the following defines in CMake:
-DCMAKE_SYSTEM_NAME=WindowsPhone or -DCMAKE_SYSTEM_NAME=WindowsStore
-DCMAKE_SYSTEM_VERSION=8.0 or -DCMAKE_SYSTEM_VERSION=8.1
Thanks to Microsoft OSS group for the patch!
2014-10-24 15:44:33 -07:00
erwincoumans 0160512a01 Merge pull request #275 from erwincoumans/master
fix build
2014-10-22 14:47:53 -07:00
erwin coumans a59bedd745 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2014-10-22 14:47:07 -07:00
erwin coumans 1ce647742c fix build 2014-10-22 14:46:48 -07:00
erwincoumans 4de9e3fd24 Merge pull request #273 from erwincoumans/master
COLLADA .dae importer for URDF, Basic Coordinate System demo
2014-10-22 14:24:51 -07:00
erwin coumans 2e1cbc0133 add basic concept demo, Coordinate System for a start.
set the up axis for some of the demos.
2014-10-22 11:17:13 -07:00
Erwin Coumans 2965087110 remove unnecessary header 2014-10-21 18:06:36 -07:00
Erwin Coumans bb9ea22bf0 fix mac build 2014-10-21 17:49:57 -07:00
erwin coumans 579b34d2e0 Added a basic COLLADA .dae importer mainly to support URDF loading (URDF can refer to COLLADA .dae or STL .stl for mesh support)
It is fairly limited, only supports loading <geometry> with triangulated meshes, no material loading
I will extend this with COLLADA Physics support.
2014-10-21 17:44:54 -07:00
erwincoumans 3799b021f5 Merge pull request #269 from kwatts/render_callback_virtual_dtor
Render callback virtual dtor
2014-10-17 13:49:59 -07:00
erwincoumans fccd00b3cf Merge pull request #260 from sippeangelo/issue-260
Microsoft compiler wrongly assumed on Windows platform
2014-10-17 13:49:30 -07:00
erwincoumans 1d78b1aef9 Merge pull request #271 from erwincoumans/master
btHingeConstraint to set/get ERP, refactor gfx backends (work-in-progress)
2014-10-17 13:48:02 -07:00
erwin coumans 5f61473229 fix double precision build 2014-10-17 13:39:34 -07:00
erwin coumans 1baf2e5cc6 add support to btHingeConstraint to set/get ERP, example use:
hinge->setParam(BT_CONSTRAINT_ERP,0.5);
btScalar erp = hinge->getParam(BT_CONSTRAINT_ERP);
Also, preliminary support for status bar messages in demo framework.
2014-10-17 13:05:53 -07:00
erwin coumans c0b4871f6c fix build error in SupportFuncDemo.h 2014-10-17 10:19:16 -07:00
Kevin Watts 0910eb9f72 Virtual dtor for CommonParameterInterface 2014-10-16 13:49:31 -07:00
Kevin Watts 2ad44a2ea6 Adding destructor to GraphicsPhysicsBridge 2014-10-16 13:46:58 -07:00
erwincoumans 70c307e08e Merge pull request #268 from kwatts/render_callback_virtual_dtor
Thanks for the help! Adding virtual destructor for RenderCallbacks struct
2014-10-16 13:35:43 -07:00
Kevin Watts 0623f99a27 Adding virtual dtors to classes in btSoftBody 2014-10-16 11:58:44 -07:00
Kevin Watts 2733f21d5f Adding virtual destructor for RenderCallbacks struct 2014-10-16 11:39:54 -07:00
Erwin Coumans eda1ff77db add alpha blendering option (disabled by default) using w component of color
add low-level support function demo (test)
2014-10-15 18:05:11 -07:00
sippeangelo f9674d4b95 MSVC-specific function calls wrapped in a MSVC-specific macro instead of a Windows-specific one. 2014-10-07 18:21:13 +02:00
Erwin Coumans ce0ad64475 fix max osx build 2014-09-29 10:37:39 -07:00
Erwin Coumans 84288952fc enable OpenGL3 by default (part of work-in-progress refactor) 2014-09-23 18:28:49 -07:00
Erwin Coumans e314f56f9d refactor to allow various gfx backends (work-in-progress) 2014-09-23 18:27:16 -07:00
erwincoumans 46bd05f4f7 Merge pull request #241 from xantares/patch-1
Fix removed dir
2014-09-17 10:10:27 -07:00
erwincoumans 43304f494e Merge pull request #249 from erwincoumans/master
fix CMakeLists.txt on Mac/Linux when using BUILD_SHARED_LIBS
2014-09-17 10:08:34 -07:00
Erwin Coumans 76f4bd9a9d fix CMakeLists.txt on Mac/Linux when using BUILD_SHARED_LIBS 2014-09-17 10:07:21 -07:00
erwincoumans 065091bd12 Merge pull request #248 from erwincoumans/master
fix btInMemorySerializer but disable btInMemorySerializer by default
2014-09-16 20:17:51 -07:00
Erwin Coumans 4352eb1ea4 disable btInMemorySerializer by default 2014-09-16 20:16:01 -07:00
Erwin Coumans 1fccfc4e28 fix btInMemorySerializer 2014-09-16 20:14:31 -07:00
erwincoumans dd526e7da9 Merge pull request #247 from erwincoumans/master
disable btInMemorySerializer by default
2014-09-16 19:57:11 -07:00
Erwin Coumans ad251da294 disable btInMemorySerializer by default 2014-09-16 19:56:26 -07:00
erwincoumans 26a8eee4ad Merge pull request #246 from erwincoumans/master
add btInMemorySerializer (experiments, allows for in-memory deep copy of...
2014-09-16 19:40:58 -07:00
Erwin Coumans f9eb7c68c5 add btInMemorySerializer (experiments, allows for in-memory deep copy of worlds, bypassing the BulletFileLoader mechanism)
add btCollisionWorldImporter that can load a .bullet file, or use the btInMemorySerializer for deep-copy
2014-09-16 19:18:10 -07:00
erwincoumans baeec0efcd Merge pull request #245 from erwincoumans/master
split Wavefront .obj to graphics conversion in a reusable file (Wavefron...
2014-09-16 14:23:46 -07:00
erwincoumans 11db92bfbc Merge pull request #243 from erwincoumans/master
minor cleanup of btgui/demo3 stuff, much more demo cleanup is needed
2014-09-16 12:31:17 -07:00
Erwin Coumans 07e2dcc749 minor cleanup of btgui/demo3 stuff, much more demo cleanup is needed
moved some files in btgui/Bullet3AppSupport
2014-09-16 12:08:24 -07:00
erwincoumans 3240d790e4 Update btSerializer.h
fix compile error in LinearMath/btSerializer.h
2014-09-16 09:32:26 -07:00
erwincoumans 89aeae9102 Add serialization support for btGeneric6DofSpring2Constraint
Attempt to re-order serialization data so it can be serialized in-memory (for deep copy)
2014-09-16 09:22:35 -07:00
erwincoumans 11ded54a04 call 'updateCamera' in GpuDemos. 2014-09-12 09:51:01 -07:00
erwincoumans 4403ecf49d AMD 14.50Alpha5 driver fixes the issue with MPR kernel, re-enable testFileFracture.bullet 2014-09-12 09:50:13 -07:00
xantares 8b8e3d3a1f Update CMakeLists.txt
does not build on win32
2014-09-11 18:56:59 +02:00
erwincoumans 02ca31bc9d Merge pull request #240 from erwincoumans/master
allow to compile using gcc-4.x on Mac OSX
2014-09-10 20:51:07 -07:00
Erwin Coumans 6406519108 allow to compile using gcc-4.x on Mac OSX 2014-09-10 20:50:12 -07:00
erwincoumans 46565f3cea Merge pull request #238 from erwincoumans/master
premake: use *.cpp insteadl of **.cpp
2014-09-05 11:32:22 -07:00
Erwin Coumans a26f9c1871 premake: use *.cpp insteadl of **.cpp 2014-09-05 11:22:25 -07:00
erwincoumans 3205f71e5e Merge pull request #237 from erwincoumans/master
escape quits SimpleOpenGLApp
2014-09-04 18:00:44 -07:00
Erwin Coumans 61808844de escape quits SimpleOpenGLApp 2014-09-04 17:54:33 -07:00
erwincoumans b125a96294 Merge pull request #232 from erwincoumans/master
consolidate files into btgui/OpenGLWindow (from FontFiles/OpenGLTrueType...
2014-09-03 10:21:02 -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
erwincoumans d6c78426bd Merge pull request #231 from erwincoumans/master
stringify unified between linux and mac
2014-09-01 09:30:34 -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
erwincoumans 3b7a7007ce Merge pull request #230 from erwincoumans/master
remove BUILD_MULTITHREADING option from CMakeLists.txt
2014-08-31 13:10:11 -07:00
Erwin Coumans 701ce71a1e remove BUILD_MULTITHREADING option from CMakeLists.txt 2014-08-31 13:09:20 -07:00
erwincoumans 57b3886c1f Merge pull request #229 from erwincoumans/master
add fileOpenDialog selector (Win/Mac/Linux), CMake remote CMAKE_INSTALL_PREFIX,fix support for dynamic loading of X11 functions
2014-08-31 13:01:22 -07:00
Erwin Coumans 6f302f8a6f Merge remote-tracking branch 'bp/master' 2014-08-31 12:56:40 -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 ec3650acc4 CMake: remove CMAKE_INSTALL_PREFIX from CMakeLists.txt it is automagically used
See also https://github.com/bulletphysics/bullet3/pull/227
remove pthread from OpenGL/GlutStuff.cpp for now (it breaks CMake build)
2014-08-31 12:36:02 -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
erwincoumans 6760cee950 Merge pull request #224 from erwincoumans/master
update badges in README.md
2014-08-28 23:20:03 -07:00
Erwin Coumans 8595928949 update appveyor badge 2014-08-28 23:02:19 -07:00
Erwin Coumans 145123260c update badges for README.md 2014-08-28 22:58:10 -07:00
Erwin Coumans 81bafacca1 rename to see if travis message works with .md extension? 2014-08-28 22:50:28 -07:00
erwincoumans 613beab593 Update readme.txt
attempt to get travis results in readme
2014-08-28 22:37:04 -07:00
erwincoumans 09e758b9e5 Update appveyor.yml
aaargh, trial-and-error appveyor scripting
2014-08-28 22:27:24 -07:00
erwincoumans 4004ab4dbc Update appveyor.yml
aargh, a few more examples how to use simple cmd use would help, please appveyor
2014-08-28 22:26:17 -07:00