Visualization Fault for Voxel Grid using Plotly
- 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 have been trying to visualize ```Voxel Grid``` using ```draw_plotly``` since on ```draw_geometries``` I got error ```[ GLFW Error: X11: The DISPLAY environment variable is missing ]```. It's okay when I visualize Point Cloud, but when I try Voxel Grid I get empty output.
### Steps to reproduce the bug
```python
import numpy as np
import open3d
print('input')
bunny = open3d.data.BunnyMesh()
mesh = open3d.io.read_triangle_mesh(bunny.path)
# fit to unit cube
mesh.scale(1 / np.max(mesh.get_max_bound() - mesh.get_min_bound()),
center=mesh.get_center())
open3d.visualization.draw_plotly([mesh])
print('voxelization')
voxel_grid = open3d.geometry.VoxelGrid.create_from_triangle_mesh(mesh,
voxel_size=0.01)
open3d.visualization.draw_plotly([voxel_grid])
```
### Error message

### Expected behavior
I expect to get valid VoxelGrid.
### Open3D, Python and System information
```markdown
- Operating system: Ubuntu 22.04.2
- Python version: Python 3.9.18
- Open3D version: 0.18.0
- System architecture: x86_64
- Is this a remote workstation?: yes
- 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.