isl-org / isl-org/Open3D

Visualizer not opening

Open
#6,679 1 comment 4 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### Describe the issue

I'm trying to use the ```open3d.visualizer.draw``` function to visualize a mesh and this does not seem to be working. This issue only occurs in Jupyter lab, not while running it from a standard Python command. I have dabbled with webrtc in the passed, so it could also be related to that, I just cannot seem to find how to simply use a popup GUI.

### Steps to reproduce the bug

```python
import open3d as o3d

>>Jupyter environment detected. Enabling Open3D WebVisualizer.
>>[Open3D INFO] WebRTC GUI backend enabled.
>>[Open3D INFO] WebRTCWindowSystem: HTTP handshake server disabled.

mesh = o3d.t.geometry.TriangleMesh.create_arrow()
o3d.visualization.draw(mesh)

>>[Open3D INFO] Window window_0 created.
>>[Open3D INFO] EGL headless mode enabled.
>>[Open3D INFO] ICE servers: <>
>>[Open3D INFO] Set WEBRTC_STUN_SERVER environment variable add a customized WebRTC STUN server.
>>[Open3D INFO] WebRTC Jupyter handshake mode enabled.
```

### Error message

_No response_

### Expected behavior

The GUI opening and showing the mesh.

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 22.0.04
- Python version: Python 3.9.18
- Open3D version: 0.18, also tested on 0.16 and 0.17
- How did you install Open3D?: pip
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.