Non-exclusive UV-vertex correspondence
Closed this issue · 1 comments
Hello, in the template_mesh_uv.obj, there are five vertices are registered on the UV positions that have been occupied by other vertices, i.e. there are five pairs of UV points having identical coordinates. I think the UV positional map should exhibit an exclusive vertex-UVcoords relationship. How do you process this redundancy to generate the positional map properly?
Hi, yes this is acceptable. In the uv mesh, each 'vt' is the image-plane coordinate; in an uv map with a large enough resolution (let's say infinite), each vt should be mapped to a unique pixel; however with a more practical resolution (128, 256 etc), it can happen that the coordinate of a vertex is not an integer, and hence rounded to its nearest integer coordinate. So there are cases where many vertices are mapped to the same pixel.