Option to move materials' UVs to UDIM tiles based on their filenames

Issue #378 resolved
Xin created an issue

While testing “Mutation morphs HD for Genesis 8 Female” I found that this product has textures named with numbers representing UDIM tiles (they end with “…_[UDIM TILE].jpg”), but the UV coordinates used are all in the [0, 1] range, so all the islands overlap. The mesh renders fine, but for baking purposes this is a problem. You can translate the UVs manually, but it’s quite tedious.

Would be a convenient feature to automatically be able to move each material’s UVs to a certain UDIM tile if all the textures used in the material have filenames denoting that particular UDIM tile.

Comments (10)

  1. Alessandro Padovani

    I am not a udim expert at all since I never used udims in blender, so this is an opportunity for me to dig in. What I understand from the blog by Thomas, is that udim needs custom file names for the textures, they have to be “T_name.jpg” for example, so the daz textures need to be copied and renamed locally before using udim. And this is essentially why udim is not used by default.

    I don’t know if I understand correctly the blog, and/or if this is true with blender 2.91 too, since udim support was introduced a while ago.

    http://diffeomorphic.blogspot.com/2019/12/udim-support.html

  2. Thomas Larsson repo owner

    Implemented in last commit. I have tested with G8F where I moved all UVs to tile 1001 first. Note that materials without textures, such as eyemoisture, end up in the first tile. The tool is found at Advanced Setup > Mateirals > UDIMs From Textures.

  3. Log in to comment