isl-org / isl-org/Open3D

Texture not displayed

Open
#4,916 7 comments 1 reaction 0 assignees View on GitHub
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](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 bug**
Exactly the same as https://github.com/isl-org/Open3D/issues/1387. When using o3d.io.read_triangle_mesh() with obj files. the mtl texture IS loaded, but visualizer shows vanilla color on the 3D model.
The mesh infos show that the texture has been loaded:
textures: [Image of size 0x0, w...ffer data., Image of size 2048x2...ffer data.]
triangle_material_ids: IntVector[1, 1, 1, 1, 1, 1, 1, 1, 1, ...,1 ]

**To Reproduce**
Steps to reproduce the behavior:
Exactly the same as https://github.com/isl-org/Open3D/issues/1387

**Expected behavior**
After loading obj, and using visualizer to view geometry, the mesh should show texture (color).

**Screenshots**
Exactly the same as https://github.com/isl-org/Open3D/issues/1387

**Environment (please complete the following information):**
Operating system: Windows 10
Python version: Python 3.7.7 & 3.10.0 (I tried on both)
Open3D version: 0.15.2
Is this remote workstation? no
How did you install Open3D?: pip install open3d & from source following the guide (I tried both) http://www.open3d.org/docs/latest/compilation.html
Compiler version (if built from source): Microsoft Visual Studio 17.1 2022

I would like to know if it comes from my setup or if it is a common problem.
And if it comes from my setup, if someone has any clue to solve that ...

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.