mikedh / trimesh

Python library for loading and using triangular meshes.
https://trimesh.org
MIT License
3.02k stars 583 forks source link

wrong uv values #2307

Closed l1346792580123 closed 3 weeks ago

l1346792580123 commented 4 weeks ago

Hi, Thanks for your great work! When I load this mesh, I found there are some problems with the uv values.

image

Many verties have the same uv values. When I open the obj in txt format, it looks like this image

The mesh is wrapped by blender smart project. Is it a bug?

Kiord commented 4 weeks ago

<trimesh.Trimesh(vertices.shape=(4425304, 3), faces.shape=(1477200, 3), name="001.obj")> Your mesh is very dense, so slight variations in neighboring UV coordinates are completely normal.

l1346792580123 commented 3 weeks ago

If there are slight variations in neighboring uv coordinates, the slight variations should not cause the neighboring uv coordinates to become the same. I remesh the obj and the uv coordinates become normal now.