Notifications
Clear all
[Closed] polyOp.getMapFace returning non-existant verts
Jul 29, 2010 4:29 am
As the topic says, on say a 4×4 plane collapsed to editable_poly, polyOp.getMapFace $ 1 16 (the last poly) returns #(6, 35, 3, 36). The docs say this function returns an array of vertex indexes that belong to this face as it is in the UV map, yet there are only 25 verts so 36 is way out!
What’s the deal?
1 Reply
Jul 29, 2010 4:29 am
Ok, nevermind. A map vertex is different to a regular vertex, so there are more map verts than regular verts (otherwise a vertex would be in the same location across UV channels). Consider the fact that you can break uv’s into islands. Vertex “a” exists on both islands, but .getMapFace returns them as being unique.
Now to return the map vert that i’ve tested on to a regular vert to get its world transform…