Commit Graph

8760 Commits

Author SHA1 Message Date
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
Erwin Coumans
9ae41971bc re-enable pybullet.getVisualShapeData for deformables
(was broken in previous commit)
2020-09-13 15:08:42 -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
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
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
erwincoumans
809dc0f5d3
Merge pull request #3036 from erwincoumans/master
Add Ghost Robotics Spirit40 and Unitree A1 quadrupeds
2020-09-04 15:50:11 -07:00
Erwin Coumans
edd57d0f3f bump up pybullet version 2020-09-04 15:45:51 -07:00
Erwin Coumans
07a2648123 Merge remote-tracking branch 'bp/master' 2020-09-04 15:44:13 -07:00
Erwin Coumans
caf671890a Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-04 14:22:21 -07:00
Erwin Coumans
67061cf98c update a1 urdf to match naming for our software
update test a1.py script
2020-09-04 14:21:53 -07:00
erwincoumans
3bf8ef91e7
Merge pull request #3035 from Steven89Liu/master
fix the issue "Inconsistency between rayTest and rayTestBatch of pybu…
2020-09-04 08:05:40 -07:00
Erwin Coumans
224eceb75b add test script for spirit40 2020-09-03 21:16:39 -07:00
Erwin Coumans
c4f4692b68 add xiURDF for Ghost Robotics Spirit40 and Unitree A1 quadruped 2020-09-03 17:30:07 -07:00
Steven
8a16ed5009 fix the issue "Inconsistency between rayTest and rayTestBatch of pybullet #2887"
we should initialize these variables otherwise these will be random.
2020-09-03 20:30:14 +08:00
Erwin Coumans
04dd935514 Merge remote-tracking branch 'bp/master' 2020-09-02 14:18:18 -07:00
Erwin Coumans
e7b9de3160 bump up version 2020-09-02 14:18:00 -07:00
Erwin Coumans
913dad4787 fix windows pip build 2020-09-02 02:33:30 -07:00
Erwin Coumans
5b4cf02e70 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-02 02:23:15 -07:00
Erwin Coumans
b63e15d15c fix example 2020-09-02 02:23:04 -07:00
erwincoumans
47b0259b97
Merge pull request #3030 from erwincoumans/master
bump up pybullet version, fix win32 pip build
2020-09-01 19:34:39 -07:00
erwincoumans
ce81073ac3
Merge pull request #3020 from fuchuyuan/fixsegfault
Fixsegfault
2020-09-01 16:54:16 -07:00
erwincoumans
8cc8bfc4ec
Merge pull request #3027 from bulletphysics/erwincoumans-patch-8
Update .travis.yml
2020-09-01 15:27:32 -07:00