cnr-isti-vclab / meshlab

The open source mesh processing system
http://www.meshlab.net
GNU General Public License v3.0
4.58k stars 817 forks source link

Textures rendered black from distance #1415

Open zeuner opened 11 months ago

zeuner commented 11 months ago

When I open a .obj mesh with textures, the textures are rendered black. When zooming onto the faces rendered black, the actual textures appear at some point. Some sample screenshots are attached:

Screenshot from 2023-08-21 19-41-24 Screenshot from 2023-08-21 19-41-38 Screenshot from 2023-08-21 19-41-56

This has been tested on Ubuntu 22.04.2 LTS, using either MeshLab, current main branch, and MeshLab, release tag 2022.02.

Steps to reproduce: Open mesh (e.g. https://github.com/cnr-isti-vclab/meshlab/blob/main/sample/texturedknot.obj). Zoom in.

This might be platform related, but I'd still like to figure out what causes it. If it cannot be fixed in MeshLab, it would be important to find out the responsible software in order to be able to file an issue there.

Similar issues seem to have happened earlier (see [1]), but I could not find a known resolution.

[1] https://sourceforge.net/p/meshlab/mailman/message/19383451/

alemuntoni commented 9 months ago

Hi, sorry for the late reply.

It seems it is a platform related issue. I am also using Ubuntu 22.04 and I don't experience this issue on MeshLab 2022.02.