Commit Graph
55 Commits
Author SHA1 Message Date
Erwin Coumans ec25f663c2 fix getAABB.py on mac osx
fix humanoid_benchmark.py and explain how to read/interpret that file in Google Chrome
2017-09-11 19:46:54 -07:00
Erwin Coumans ee082396d1 fixes in libdl/DL cmake
minor tweaks in pybullet OpenAI gym locomotion envs (connect to shared memory before going GUI/DIRECT)
bump up pybullet version to 1.3.6
2017-09-10 16:22:45 -07:00
Erwin Coumans 013dbda023 implement a few more pybullet methods:
pybullet_applyExternalForce, pybullet_applyExternalTorque, pybullet_setTimeStep,
pybullet_resetBasePositionAndOrientation,
pybullet_getQuaternionFromEuler,
pybullet_getEulerFromQuaternion
2016-06-26 18:18:30 -07:00
Erwin Coumans becd7cacd8 fix relative path of visual/collision mesh, it might be different from the urdf relative path
(.obj loader terminates if it cannot find the material file)
2015-05-27 15:43:33 -07:00
Erwin Coumans 82f81e16f3 fix Yosemite build 2015-05-07 11:44:16 -07:00
Erwin Coumans 2ddd8f78c2 add option to create mp4 videos from App_AllBullet2Demos, using the
--mp4=video.mp4 note that you have to re-convert for Quicktime
ffmpeg  -f mp4 -vcodec h264 -i test.mp4 -pix_fmt yuv420p test2.mp4
add the option to display text in 3d, used in Coriolis demo
2015-03-25 14:04:26 -07:00
Erwin Coumans 54b2bd9ff1 re-enable auto-joint velocity target motors in URDF multibody import 2015-03-20 14:54:34 -07:00
Erwin Coumans 20a270bc94 more URDF2Bullet refactor to make URDF import a little bit more re-usable 2015-03-20 13:07:25 -07:00
Erwin Coumans b35527ad5c work-in-progress URDF refactor to make it easier to reuse (broken) 2015-03-17 16:07:14 -07:00
Erwin Coumans 193e680790 _N -> n, _C -> c, _L ->l, some collision with a standard C++ header? 2015-02-20 13:51:24 -08:00
Erwin Coumans 70221aeb3e add RenderInstancingDemo
allow to use OpenGL2 or OpenGL3 in same binary (will add command-line switch)
2015-02-04 16:56:30 -08:00
Erwin Coumans c7671779c2 add method to add triangle by its indices for btTriangleMesh
See also https://github.com/bulletphysics/bullet3/pull/315
thanks to quiasmo   for the contribution
2015-02-04 10:47:13 -08:00
Erwin Coumans d84afc11b9 Merge remote-tracking branch 'bp/master' 2015-02-04 10:15:21 -08:00
Erwin Coumans a164245915 link against pthreads using cmake when building under Linux, shared libs
(linking against pthreads is just a workaround for buggy NVidia drivers that require it)
2015-01-27 13:52:10 -08:00
Erwin Coumans c26e0c2f73 Merge remote-tracking branch 'bp/master' 2014-12-16 10:42:02 -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
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 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 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
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
Erwin Coumans ad251da294 disable btInMemorySerializer by default 2014-09-16 19:56:26 -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
Erwin Coumans 701ce71a1e remove BUILD_MULTITHREADING option from CMakeLists.txt 2014-08-31 13:09:20 -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
Erwin Coumans 95f207e786 fix another warning 2014-08-22 11:51:22 -07:00
Erwin Coumans af5883c6e8 remove a lot of warnings (more todo in demos and serialization code) 2014-08-22 10:29:05 -07:00
Erwin Coumans 37aa4dc4f8 fix more warnings, implement missing X11 function for dynamic loading 2014-08-21 17:27:14 -07:00
Erwin Coumans 5834547368 fix more warnings in BulletCollision, and fix CMakeLists for Linux 2014-08-21 15:54:50 -07:00
Erwin Coumans 143c2da254 premake4: don't use recursive file globbing in LinearMath and BulletCollision 2014-08-21 14:03:15 -07:00
Erwin Coumans 4af9c5a4c9 remove some warnings 2014-08-21 13:32:32 -07:00
Erwin Coumans 793bcb1cde move menuItems into constructor (was a typo) 2014-07-31 14:20:24 -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
Erwin Coumans fb01827aee expose debugDraw in gl3 2014-07-29 14:03:15 -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 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 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
Erwin Coumans 5c1fc2e3a4 fix OpenGL detection on Linux, and re-add TTF project to premake 2014-05-14 11:03:53 -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
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