-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
A common use case is comparing multiple point clouds side-by-side. In PCL, this could be done by creating multiple viewports in the same window. However, Open3D Visualizer only provides a single window with a single viewport and a single ViewControl.
Feature request to extend the API to be able to attach multiple viewports to a window.
With the current API, a workaround is to create multiple windows with multiple Visualizer instances:
vis = o3d.Visualizer()
vis.create_window(window_name='TopLeft', width=960, height=540, left=0, top=0)
vis.add_geometry(pcd)
vis2 = o3d.Visualizer()
vis2.create_window(window_name='TopRight', width=960, height=540, left=960, top=0)
vis2.add_geometry(pcd)
while True:
vis.update_geometry()
if not vis.poll_events():
break
vis.update_renderer()
vis2.update_geometry()
if not vis2.poll_events():
break
vis2.update_renderer()
vis.destroy_window()
vis2.destroy_window()
Liu-lxq, Angericky, donkeyteethUX, zhenzhenxiang, leomariga and 10 more