Commit Graph

9129 Commits

Author SHA1 Message Date
Erwin Coumans
4f8f28233c allow alternative deformable indexing (internal use/testing) 2020-09-17 03:15:44 -07:00
erwincoumans
5ce97ffdb1
Merge pull request #3066 from erwincoumans/master
allow alternative deformable indexing (internal use/testing)
2020-09-16 20:16:35 -07:00
erwincoumans
03ebf4e539
Merge pull request #3060 from r-a-sattarov/master
E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option
2020-09-16 12:18:22 -07:00
Nan Jiang
46519720eb
Update README.md 2020-09-15 12:39:31 -04:00
Chuyuan Fu
7d8379bad4 add configurable parameters to urdf 2020-09-14 12:34:21 -07:00
r-a-sattarov
73599ba199 E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option 2020-09-14 22:22:45 +03:00
erwincoumans
29304a53aa
Merge pull request #3058 from erwincoumans/master
bump up pybullet version, fix warning
2020-09-13 21:06:29 -07:00
Erwin Coumans
e9f486eebb narrow from double to float please 2020-09-13 18:32:52 -07:00
Erwin Coumans
391cf6bd94 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-13 18:29:29 -07:00
Erwin Coumans
7125f32bc4 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-13 16:52:43 -07:00
Erwin Coumans
3b563c73f4 bump up pybullet to 3.0.0 2020-09-13 16:52:29 -07:00
erwincoumans
d3dfe4aaa6
Merge pull request #3057 from erwincoumans/master
fixes in colors/cached textures for deformables
2020-09-13 16:50:10 -07:00
Erwin Coumans
0c2a54193c fixes in cached textures (pointer re-use) 2020-09-13 16:49:13 -07:00
Erwin Coumans
f9a96442d1 disable texture caching in some place, due to pointer re-use issue 2020-09-13 16:24:42 -07:00
Erwin Coumans
f8288e029e fix color for deformables, if texture is not specified 2020-09-13 16:07:42 -07:00
erwincoumans
87a22bc507
Merge pull request #3056 from erwincoumans/master
re-enable pybullet.getVisualShapeData for deformables
2020-09-13 15:21:43 -07:00
Erwin Coumans
9ae41971bc re-enable pybullet.getVisualShapeData for deformables
(was broken in previous commit)
2020-09-13 15:08:42 -07:00
Erwin Coumans
5d8c5c66d8 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-12 21:14:03 -07:00
erwincoumans
c00b5926b5
Merge pull request #3051 from erwincoumans/master
allow rendering of textured deformables in 'getCameraImage' on CPU (TinyRenderer) and EGL and more improvements,
2020-09-12 20:58:20 -07:00
Erwin Coumans
bd1bd36bc6 allow to change texture for deformables 2020-09-12 20:12:46 -07:00
Erwin Coumans
d70cbd3ca2 bump up pybullet version to 2.9.8 2020-09-12 19:50:09 -07:00
Erwin Coumans
fcdfee2f12 deformable_torus.py: position camera better 2020-09-12 19:47:54 -07:00
Erwin Coumans
c58a54174e allow to set color of deformables for debug visualizer
don't render deformables for TinyRenderer/EGL if p.configureDebugVisualizer(p.COV_ENABLE_TINY_RENDERER,0)
Fix segmentation mask in tinyrenderer for deformables
2020-09-12 19:41:10 -07:00
Erwin Coumans
d104e4c2e1 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2020-09-12 18:16:02 -07:00
Erwin Coumans
e00691e132 more deformable rendering fixes, egl and tinyrenderer 2020-09-12 18:15:51 -07:00
Erwin Coumans
1452cae641 * add textured models of ball.vtk (obj/mtl) and torus (obj/mtl) and cloth.
1) allow to render deformables in 'getCameraImage', for TinyRenderer (tested OK) and EGL (untested)
2) allow to have textures for deformables. See deformable_ball.py, deformable_anchor.py and deformable_torus.py for examples
3) deformables: allow to request simulation mesh data (even if there is a render mesh) See deformable_anchor.py for an example usage
   data = p.getMeshData(clothId, -1, flags=p.MESH_DATA_SIMULATION_MESH)
4) fix deletion of deformables, thanks to Fychuyan, https://github.com/bulletphysics/bullet3/pull/3048
5) allow to enable and disable double-sided rendering, p.changeVisualShape(objectUid, linkIndex, flags=p.VISUAL_SHAPE_DOUBLE_SIDED)
6) fix GripperGraspExample, model not found
7) Fix deformable anchor not attaching to multibody with object unique id of 0
8) Fix issue with assignment of unique ids in TinyRenderer/EGL renderer (always use broadphase uid)
9) Avoid crash/issue of simulation with pinned vertices (mass 0) in btDeformableBackwardEulerObjective::applyExplicitForce
10) Store uv/normal in btSoftBody::RenderNode to allow textured meshes
11) (uncomment in btSoftBodyHelpers.cpp): dump vertices and indices in obj wavefront format, when loading a VTK file, for quicker creation of a (textured) surface mesh
12) allow interpolateRenderMesh also for old position-based soft bodies (not only the shiny new FEM deformables)
13) fix a few premake targets
14) update build_visual_studio_vr_pybullet_double_cmake.bat so it suits c:\python37 and installs locally
    for local install of Bullet, see also this example https://github.com/erwincoumans/hello_bullet_cmake
2020-09-12 01:03:04 -07:00
Erwin Coumans
f214568e6f bump up pybullet to 2.9.7 2020-09-11 18:05:44 -07:00
Erwin Coumans
b097753dc4 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-11 18:05:15 -07:00
Erwin Coumans
0832d48f5b Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-09 11:12:32 -07:00
Erwin Coumans
e7d5ba97fe Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-09 09:58:49 -07:00
Erwin Coumans
f3b67e5849 pybullet bump up to 2.9.6 2020-09-09 09:52:18 -07:00
Erwin Coumans
c4bf0368bf Merge remote-tracking branch 'bp/master' 2020-09-09 09:51:52 -07:00
Erwin Coumans
0395b93470 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-09 09:51:43 -07:00
Erwin Coumans
e1e71bdfe1 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-09 09:51:15 -07:00
erwincoumans
c8c15860ce
Merge pull request #3042 from erwincoumans/master
fix shadowmap /mipmap issue in previous commit, caused Mac OSX (and integrated GPUs) to become very slow
2020-09-09 09:48:59 -07:00
Erwin Coumans
448dd1a244 Synchronize 'resetDebugVisualizeCamera' using GUI critical section instead of waiting for the render thread, to avoid slow-down
Fixes issue https://github.com/bulletphysics/bullet3/issues/3045
2020-09-09 09:45:38 -07:00
Erwin Coumans
d0c6467b29 Merge remote-tracking branch 'bp/master' 2020-09-08 19:58:58 -07:00
Erwin Coumans
92afd5691d Merge remote-tracking branch 'bp/master' 2020-09-08 06:15:57 -07:00
Erwin Coumans
ac72926c7d Merge remote-tracking branch 'bp/master' 2020-09-08 06:14:08 -07:00
Erwin Coumans
f876319c5a bump up PyBullet version (regression in GPU rendering on Mac) 2020-09-08 06:13:43 -07:00
Erwin Coumans
82f3d422de Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-08 06:13:26 -07:00
Erwin Coumans
79565adedd Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-08 13:05:03 -07:00
Erwin Coumans
1190a1901c fix mipmap rendering from previous commit, making Macbook really slow 2020-09-08 13:04:50 -07:00
erwincoumans
b44307a6ce
Merge pull request #3040 from erwincoumans/master
PyBullet: enable mipmapping/anti-aliasing, allow to set the shadowmap intensity, ignore file:// in URI
2020-09-07 20:03:25 -07:00
Erwin Coumans
07fc272971 Merge remote-tracking branch 'bp/master' 2020-09-07 19:40:49 -07:00
Erwin Coumans
c45b657039 bump up PyBullet version to 2.9.4 2020-09-07 19:40:19 -07:00
Erwin Coumans
3ba9f6c395 Add rudimentary Gazebo world parser, loading sdf files and shifting objects based on the world file pose.
See an example here:
https://github.com/erwincoumans/aws-robomaker-racetrack-world
https://twitter.com/erwincoumans/status/1303084517263994880
2020-09-07 17:30:34 -07:00
Erwin Coumans
ccdec68b1d expose shadowmap intensity to PyBullet API 2020-09-07 16:52:14 -07:00
Erwin Coumans
75351f3682 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-07 15:26:34 -07:00
Erwin Coumans
fc2378dda7 enable multisampling and mipmapping
ignore file:// as well as model:// and package://
add newline as additional delimiter for COLLADA DAE loader
2020-09-07 15:26:11 -07:00