Original Post
Hi, i´m a little bit confused about this: In an indexed polygon mesh, if a vertex is added which equals a vertex already in the mesh, it is not added, but instead the index of the vertex already in the mesh is used. But how do i compare two vertices? it isn´t just enough to compare just the x, y, and z values, since my tex coords for a vertex with the same x, y and z coords can still be different. and then even the lightmap coords can be different, an so on. but when i compare all these, i do not save any vertices in my indexed polygon mesh and therefore this has no advantage over storing them as duplicates. should i maintain a separate indexed array of texcoords and lightmap coords? would be nice if you could give me some hints on this topic! thanks Gammastrahler