Multiple UVlayouts into a UDIM layout

   240   1   0
User Avatar
Member
1 posts
Joined: March 2024
Offline
Is it possible to take multiple UVLayouts (for geometry with baked textures), and arrange them in a UDIM tile layout? I'm hoping to take this to Substance Painter for painting over.
User Avatar
Member
8553 posts
Joined: July 2007
Online
you can assign UDIM prim attribute to your individual geometries

then assuming your uva are on vertices and in 0-1 tile, you can do Vertex Wrangle to offset uv's to individual UDIM tiles based on prim udim attribute

int udim = prim(0, "udim", @primnum);

udim -= 1001;
v@uv +=  floor(set( udim % 10, udim / 10 )); 

and rename your textures with corresponding UDIM token
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links