Hi! I have the following problem: I have vertex positions and I want to find the corresponding texture coordinats for the vertices. The documentation says the following:
In order to find out which texture vertex corresponds to a mesh vertex, you have to do the following:
[li] Take the index of the mesh vertex. [/li]
[li] Find out which faces reference the index of the face. [/li]
[li] Note the number of the vertex (1 st , 2 nd or 3 rd - .x, .y or .z) inside each face. [/li]
[li] For each face referencing the vertex, get the texture face with the same index. [/li]
[li] Get the index of the respective texture vertex from the face - 1 st , 2 nd or 3 rd / .x, .y or .z [/li]
[li] The vertex you got corresonds to the mesh vertex we started with. [/li]
[li] Repeat steps 3 to 6 for all faces found. [/li]
Same applies to color vertices.
but I don’t understand that. Can someone explain it to me a bit more understandable? Thanks a lot.