Notifications
Clear all

[Closed] optimise mesh export

what is the best way to export a mesh to keep vertex and uv information intact without duplicating vertex points?
for instance say i have a mesh that has 80 verts but only 60 uv’s is there a way to export this mesh so the number of verts and uv’s match without forcing an export of each triangles verts making a lot of duplicate vertex points on export.

I hope my question makes sense and thanks for everyone time.

2 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

i suggest to export all vertices, uvs, vertex colors, and normals per every face. it includes duplicates, makes export longer, and file bigger, but the future import will be much easier and faster either for mesh building or rendering.

you have to have duplicates if you don’t have matching vert an uvvert numbers. As mentioned, your starting point is the “worst case” scenerio of all the verts for every face, 3 * number_of_faces verts, 3 * number_of_faces uvverts, etc etc. You can then thin that down to a list of “uniques”, but there will always be duplicates if you have mismatched verts, uvs, normals, vertex colours etc.