Spread uv islands with overlapping

   2702   1   0
User Avatar
Member
10 posts
Joined: Jan. 2017
Offline
I have overlapped uv islands scaled proportionaly to surface area.
All of them are placed on bottom, left.
Is there any way to procedurally spread them over uv area without changing scale or rotation?
With overlapping of course.

Edited by POLPPMnietek - Aug. 26, 2020 08:02:48

Attachments:
uv.jpg (151.4 KB)

User Avatar
Member
182 posts
Joined: April 2009
Offline
You could use the UV Layout SOP, turn off axis alignment, fixed scale to 1 and no rotations and let it create UDIMs.
Then use a vertex wrangle and modulo the uv.x position back into 0-1 range:
@uv.x = @uv.x % 1;

If your target is rendering, then you can also keep the UDIMs without the overlapping step. Afaik all renderers will use the uvs as if they were in 0-1 space unless you specifically tell them to go for UDIMs.
Edited by blackpixel - Aug. 27, 2020 10:21:11
  • Quick Links