Notifications
Clear all
[Closed] sdk – vertex indexes and faces
Page 2 / 2
Prev
Nov 19, 2011 1:50 pm
i don’t have a chance to test it now but it should be something like:
for (int f = 0; f < pMesh->numFaces; f++) {
TVFace *pTVFace = &pMesh->tvFace[f];
for (int v = 0; v < 3; v++) {
int tvindex = pTVFace->t[v];
UVVert uvvert = pMesh->getTVert(tvindex);
}
}
Nov 19, 2011 1:50 pm
thank you DenisT, I’ll implement it this way, and report back.
I’m very thankful for all the help and knowledge you share.
Page 2 / 2
Prev