Commit Graph

6417 Commits

Author SHA1 Message Date
yunfeibai
5494aa72fa Set the perspective projection for projective texture mapping. Change the demo to two bears with the same view projection matrix for the camera and the projector. 2018-02-20 18:32:09 -08:00
Erwin Coumans
8bb40b632b allow to build GLFW version of Bullet examples on Linux (use premake4_linux --enable_glfw gmake) 2018-02-20 16:21:22 -08:00
erwincoumans
62b86e6eab Merge pull request #1568 from erwincoumans/master
PyBullet: soft bodies are rendered, so we don't need to also render w…
2018-02-18 16:54:49 -08:00
erwincoumans
01f58f8f02 PyBullet: soft bodies are rendered, so we don't need to also render wireframes in regular mode.
Use glBufferSubData instead of glMapBuffer/glUnmapBuffer, much faster soft body vertex sync.
Don't use a separate btSoftBodyWorldInfo, use the existing one in btSoftMultiBodyDynamicsWorld.
2018-02-18 11:09:42 -08:00
erwincoumans
a6849de99c Merge pull request #1555 from JanMatas/softBody-opengl-rendering
Implemented support for softbodies in OpenGL renderer
2018-02-18 10:48:46 -08:00
erwincoumans
389d7aaa79 Merge pull request #1561 from erwincoumans/master
add HelloPyBullet notebook, random block stacking gym env test
2018-02-17 10:00:58 -08:00
erwincoumans
ddf304ca78 PyBullet: expose internal edge utility, to adjust edge normals to prevent object penetrating along triangle edges of concave triangle meshes
(due to local convex-triangle collisions causing opposite contact normals, use the pre-computed edge normal)
PyBullet: expose experimental continuous collision detection for maximal coordinate rigid bodies, to prevent tunneling.
2018-02-16 19:44:33 -08:00
erwincoumans
1dcacbb64e Merge pull request #1564 from radarsat1/master
Fix calculation of startPt for perturbed object A.
2018-02-16 10:16:15 -08:00
Stephen Sinclair
58310bd21d Fix calculation of startPt for perturbed object A.
Fixes #1563.
2018-02-16 11:57:16 -03:00
yunfeibai
ef0ae4935b Minor change. 2018-02-15 18:37:23 -08:00
yunfeibai
fb6907aa1b Merge remote-tracking branch 'upstream/master' 2018-02-15 18:19:29 -08:00
yunfeibai
36dcabbaf5 Merge remote-tracking branch 'upstream/master' 2018-02-15 14:31:34 -08:00
yunfeibai
cf4a0a3503 Add improvement/fix in SortableTransparentInstance back. 2018-02-15 13:19:41 -08:00
erwincoumans
d35941ebb8 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-14 16:50:05 -08:00
erwincoumans
d3fe21ef17 Add option GUI_MAIN_THREAD for running OpenGL in the main thread (Python thread). This already happens on Mac OSX by default.
Pass all argc/argc from options to InProcessPhysicsClientSharedMemoryMainThread
2018-02-14 16:49:44 -08:00
Erwin Coumans
32b9fb2c04 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-14 15:41:46 -08:00
Erwin Coumans
77ddc8a16f fix makesdna on Mac OSX 2018-02-14 15:41:10 -08:00
erwincoumans
5e08d6d334 small test to create / simulate random box stacks 2018-02-14 15:37:50 -08:00
erwincoumans
a6f3064a65 Merge remote-tracking branch 'bp/master' 2018-02-14 11:49:55 -08:00
yunfeibai
7dbc5626fb Add the shader files. 2018-02-12 18:19:05 -08:00
Jan Matas
817fb40fb5 Revert "Create a new pointer in btCollisionShape instead of just using userPtr."
This reverts commit d2d987a5ed.

After discussion, we decided to use userPtr.
2018-02-12 11:26:39 +00:00
Shubham Tulsiani
5fdd7ed3b4 minor bugfix in image reshaping in kukaGymEnv
Reshaped image array should be of size (RENDER_HEIGHT, RENDER_WIDTH, 4) instead of (RENDER_WIDTH, RENDER_HEIGHT, 4).
2018-02-11 21:47:57 -08:00
yunfeibai
2947cd54ce Add shader for projective texture. 2018-02-11 21:29:02 -08:00
yunfeibai
08548e1ef0 Add example for projective texture. 2018-02-11 13:50:45 -08:00
Erwin Coumans
68559426cd Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-11 06:59:19 -08:00
Erwin Coumans
c143c90c11 add HelloPyBullet notebook 2018-02-11 06:58:45 -08:00
erwincoumans
e87060dcf4 Merge pull request #1557 from erwincoumans/master
fix premake build for linux, thanks to @consultit
2018-02-10 07:48:19 -08:00
Erwin Coumans
c0781fa9f1 fix cmake build 2018-02-09 19:06:00 -08:00
Erwin Coumans
508550c5e9 fix premake build for linux, thanks to @consultit
See also issue #1538
2018-02-09 18:46:26 -08:00
Jan Matas
d2d987a5ed Create a new pointer in btCollisionShape instead of just using userPtr. 2018-02-08 13:49:36 +00:00
Jan Matas
82214eb99f Implemented support for softbodies in OpenGL renderer 2018-02-08 13:31:40 +00:00
erwincoumans
0421c60515 Merge pull request #1552 from erwincoumans/master
fix include
2018-02-06 19:33:31 -08:00
Erwin Coumans
be5e58772e fix include 2018-02-06 11:52:45 -08:00
Erwin Coumans
38844cbab2 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-06 11:32:32 -08:00
erwincoumans
8c3016b995 Merge pull request #1551 from erwincoumans/master
C-API/PyBullet: fix issue with plugin manager
2018-02-06 10:48:19 -08:00
erwincoumans
19231434c2 gym env backward compatibility due to gym 0.9.6 breaking changes 2018-02-06 10:20:41 -08:00
erwincoumans
ede8042c2c Merge remote-tracking branch 'bp/master' 2018-02-06 09:13:51 -08:00
erwincoumans
82fae36ab9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-06 08:59:58 -08:00
erwincoumans
3fb26e4835 fix issue with plugin manager (store plugin uid instead of pointer) 2018-02-06 08:56:24 -08:00
erwincoumans
0cf1b2d801 Merge pull request #1550 from erwincoumans/master
PyBullet/rendering: improve sorting of transparent objects
2018-02-06 08:30:40 -08:00
Erwin Coumans
dcdec2236f PyBullet/rendering: improve sorting of transparent objects 2018-02-05 23:48:39 -08:00
Erwin Coumans
c48178c320 Merge remote-tracking branch 'bp/master' 2018-02-05 09:59:25 -08:00
erwincoumans
805d4b49b3 Merge pull request #1547 from wenkesj/master
pybullet support for gym BREAKING CHANGES, including v0.9.x
2018-02-05 09:55:26 -08:00
Sam Wenke
b4ef2c9935 Merge branch 'master' of https://github.com/wenkesj/bullet3 2018-02-04 11:42:40 -05:00
Sam Wenke
ad3c236bfd pybullet support for gym.Env, including v0.9.x 2018-02-04 11:35:47 -05:00
erwincoumans
d4b834b9f0 fix #3 2018-02-04 11:35:47 -05:00
erwincoumans
9b9a0c5992 fix #2 for pthread/dl 2018-02-04 11:35:46 -05:00
erwincoumans
b15ac0c5f6 add pthread/DL to App_RobotSimulator_NoGUI for Linux (not Win32/Apple) 2018-02-04 11:35:46 -05:00
erwincoumans
433f8449f4 refactor b3RobotSimulatorClientAPI into a main part without GUI dependencies (no OpenGL, gwen, glew etc)
so that App_RobotSimulator_NoGUI can link against BulletRobotics and App_RobotSimulator links against BulletRobotics and some extra files.
2018-02-04 11:35:46 -05:00
erwincoumans
7f535367ef Add new methods for b3RobotSimulatorClientAPI, thanks to John F. Canny for the contribution! 2018-02-04 11:35:46 -05:00