Notifications
Clear all

[Closed] Swap UV vert positions. A flip, but not a flip

I’m looking for a quick way to basically switch uv formats, but not switch the uv’s themselves.

The image i provided below will help with my problem

I basically have 2 lines of Uv’s. The top is a bell curve, the bottom is flat. i would like to switch it so the top is flat, and the bottom is the bell curve. But i do not want the Uv’s to be flipped. So whatever is on top, needs to stay on top.

Has anyone done this before?

Thanks.

2 Replies
 lo1

Are you looking for an algorithm to solve a specific case of 2 horzontal lines, or a more generalized solution? A generalized solution might look something like:

– create a copy of the source uv space and flip it normally (v = 1-v)
– for each vertex in the source space :
—- find the vertex that is closest to this vertex the COPY space and move it to its position.

but it might not give you exactly what you’re looking for in the case of 2 horizontal lines.

In general it should be a case of two horizontal lines.

Yea i was thinking of doing something like that where i flip it…store those positions, and then flip it back, and move the verts to roughly their flipped positions were.