Open3d: Non-blocking visualization example not working

Created on 1 Jan 2020  路  1Comment  路  Source: intel-isl/Open3D

Describe the bug
"examples/Python/Advanced/non_blocking_visualization.py" error. Not able to invoke visualizer.
Error reported is:
vis.update_geometry()
TypeError: update_geometry(): incompatible function arguments. The following argument types are supported:
1. (self: open3d.open3d.visualization.Visualizer, arg0: open3d.open3d.geometry.Geometry) -> bool

To Reproduce
Steps to reproduce the behavior:

cd examples/Python/Advanced
python non_blocking_visualization.py

Expected behavior
Visualizer should be invoked properly..

Environment (please complete the following information):

  • OS: Windows 10.0
  • Python version: 3.7.3
  • Open3D version: 0.9.0
  • Is this remote workstation?: no
  • How did you install Open3D?: pip
possible bug

Most helpful comment

I've found the fix. Just add "source" as the argument to the vis.update_geometry() function.
vis.update_geometry(source)

Refer to the doc for more details.
http://www.open3d.org/docs/latest/python_api/open3d.geometry.html

>All comments

I've found the fix. Just add "source" as the argument to the vis.update_geometry() function.
vis.update_geometry(source)

Refer to the doc for more details.
http://www.open3d.org/docs/latest/python_api/open3d.geometry.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hzxie picture hzxie  路  4Comments

nrj127 picture nrj127  路  4Comments

taochenshh picture taochenshh  路  3Comments

blackccpie picture blackccpie  路  3Comments

mutp picture mutp  路  4Comments