isl-org / isl-org/Open3D

Back face culling is not activated, nor can it be activated, when we use open3d.visualization.gui.Application

Open
#6,355 0 comments 0 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).
- [ ] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### Describe the issue

Hello,

I have a problem with open3d.visualization.gui.Application. It seems that back face culling is not activated, nor can it be activated, when we instantiate a gui.Application.

It seems that Back face culling is active when using "o3d.visualization.Visualizer" but not with "open3d.visualization.gui.Application". In any case, I can't access the rendering options to modify this.

Thank you for your work. This library is very powerful.

### Steps to reproduce the bug

```python
Please see an example with the linked ZIP file:

https://drive.google.com/file/d/1mdkfQvTyeN0-imfflJkyGTB3R_SM2ghH/view?usp=sharing

In the zip, I added a file "tank.gltf" that contains a cylinder with inverted faces that I exported from Blender. I added a file "test_visualiser.py" that contains the Open3D code that uses the "o3d.visualization.Visualizer" class.

I also added the "test_app.py" file which is a copy of the example "vis-gui-py" http://www.open3d.org/docs/release/python_example/visualization/index.html#vis-gui-py and which uses "open3d.visualization.gui.Application":
```

### Error message

_No response_

### Expected behavior

Back face culling should be enabled by default and there should be a method to change this state.

### Open3D, Python and System information

```markdown
- Operating system: Kubuntu 22.04
- Python version: Python 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0]
- Open3D version: 0.17.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip and conda
```

### 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.