Home Technical Talk

UDIM's?

polycounter lvl 10
Offline / Send Message
RashedAlmetrami polycounter lvl 10
I've just watched over the Substance Days talks that were held at Gnomon last year. 

One of the character artists mentioned using UDIM's which I think is just breaking a model up into multiple UV squares and assigning different material ID's? 

Is this good practice for portfolio work? 

I'm currently creating the LP+UV's for my Panzer IV tank and was wondering if I should do the same or whether to just bake it all down to one 4096x4096 texture. 

Could anyone explain what UDIM's actually are and when there use is applicable?

Thanks!

Replies

  • JedTheKrampus
    Offline / Send Message
    JedTheKrampus polycounter lvl 8
    UDIMs are a naming convention for textures that use multiple UV tiles rather than just one.

    https://www.fxguide.com/featured/udim-uv-mapping/

    The advantage over putting everything in just one tile is that you can handle much more data this way. Rather than working with one 32768x32768 texture you can use 256 2048x2048 textures.

    For portfolio work you want to have enough texels that you'll have about one texel per pixel in all of the shots you're rendering. Figure out what the closest close-up shot will be and figure the texel density should be from that. If you're just rendering at 1024x600 for WAYWO you don't really need that many texels and you can straightforwardly use just one UV tile. If you're rendering a close-up of The Illusive Man's eyes for an opening scene in Mass Effect you might need to use a few tiles to get the amount of texel density you need to get a good result.

    For actual games you generally standardize on a certain amount of texel density per unit, since players can potentially go anywhere and lick any wall. You can get more texel density out of certain textures by stacking shells, using tilable textures, and so on, making the game run and look better on systems that couldn't run the game otherwise. That doesn't matter as much for portfolio work, since that only has to render on one machine and it can take as long to render as you want it to.

    That said it can be a good idea to show that you can get the most out of the UV space you use by stacking/straightening/packing as necessary.
  • [Deleted User]
    Offline / Send Message
    [Deleted User] insane polycounter
    The user and all related content has been deleted.
  • Eric Chadwick
    Wow I wish we had something in the wiki about this.
  • radiancef0rge
    Offline / Send Message
    radiancef0rge ngon master
    This concept keeps showing up and I don't understand it, maybe someone can explain. 
    The point of UDIM is to unwrap outside the 0-1 space for more density, correct ?
    You can do this in games already by using multiple material ids.
    Then you can have as much texel density on each UV set as you want.  
    Why is this workflow desired or is just the buzzword that gets everyone hot and bothered.
    UDIM seem totally irrelevant for games. 
  • JedTheKrampus
    Offline / Send Message
    JedTheKrampus polycounter lvl 8
    If you have a lot of tiles it's faster to assign textures with UDIMs rather than manually setting up a new material for each tile. It can save some time.
  • Eric Chadwick
    For games UDIM is going to cost too much memory, and too many draw calls.
  • musashidan
    Offline / Send Message
    musashidan high dynamic range
    Personally I think it's better left in the vfx realm. I don't see a place for it in games, now, or in the near future. Having 100x8k maps on the Hulk's face on a cinema screen is fine but, udims in games is unnecessary and pretty much irrelevant.
  • 0xffff
    Offline / Send Message
    0xffff polycounter lvl 3
    This concept keeps showing up and I don't understand it, maybe someone can explain. 
    The point of UDIM is to unwrap outside the 0-1 space for more density, correct ?
    You can do this in games already by using multiple material ids.
    Then you can have as much texel density on each UV set as you want.  
    Why is this workflow desired or is just the buzzword that gets everyone hot and bothered.
    UDIM seem totally irrelevant for games. 
    Yeah, it is (to my knowledge) 100% a Film/offline technology which has never been implemented in games. For all of the painfully obvious reasons. 
  • musashidan
    Offline / Send Message
    musashidan high dynamic range


    Is this good practice for portfolio work? 


    No. there is no real benefit at all. You can just break objects to their own materials and have as much texture space as you'll ever need per material on a single 0-1 sheet.

    i.e: skin material with its own 4K texture space and material/metal/leather/chipped paint/whatever/etc.....

    Udims where 'sort of' added to substance Painter but are not fully implemented and lack features that you use Udims for in the first place.

    Here is a vid I put up recently on my YT channel showing Udims in Max 2017 to S Painter. I don't use this workflow but thought it might be helpful for people like yourself unfamiliar with Udims. They've been around for years in VFX workflow and were specifically invented to support the massive amounts of texture data that a single asset needs in VFX. Something that will never be applicable to games, as the current state of the tech stands.

    https://www.youtube.com/watch?v=1BplWdNkmbs

  • RashedAlmetrami
    Offline / Send Message
    RashedAlmetrami polycounter lvl 10
    Thanks for clearing all that up! I'll continue using Multi-sub objects for my game art :smiley:
  • Justo
    Offline / Send Message
    Justo polycounter
    I'd only be willing to try this out for personal stuff if SP/SD/xN/TB3 could bake all UDIM tiles in one go and then specific ones as I see the need of fixing errors for certain areas.
  • evermotion
    Offline / Send Message
    evermotion polycounter lvl 4


    Is this good practice for portfolio work? 


    No. there is no real benefit at all. You can just break objects to their own materials and have as much texture space as you'll ever need per material on a single 0-1 sheet.

    i.e: skin material with its own 4K texture space and material/metal/leather/chipped paint/whatever/etc.....

    Udims where 'sort of' added to substance Painter but are not fully implemented and lack features that you use Udims for in the first place.

    Here is a vid I put up recently on my YT channel showing Udims in Max 2017 to S Painter. I don't use this workflow but thought it might be helpful for people like yourself unfamiliar with Udims. They've been around for years in VFX workflow and were specifically invented to support the massive amounts of texture data that a single asset needs in VFX. Something that will never be applicable to games, as the current state of the tech stands.

    https://www.youtube.com/watch?v=1BplWdNkmbs

    Thanks for the video.
    So there's no performance gain using UDIM, compared to just assigning 1 material 1 uvmap like the traditional way?

    Btw I know this is an old thread. Can substance paint on multiple texture sets at once in the latest version?


  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    in games i see this more for huge assets like a giant dropship or a part of town... its like handmade megatextures in the id tech5 engine...
    but i use it also for chars... 3-5 udims to paint and bake all in one go...

    for feature film its more or less impossible to work without it... you cant assign 200 textures everytime you change something...
    or open up 200 files in photoshop only to adjust the saturation...
  • thomasp
    Offline / Send Message
    thomasp hero character
    i gave it a spin a few years back when it was all the rage but the issue for me was the required in-engine texture streaming (tried it in unity at the time). just not as visually sharp as i'm used to and it just cut the frame rate in half.

    same for the viewport in mari at the time. zoomed out just a little it looked like some fuzzy game screenshot with a far to aggressive mipmap bias setting applied. not really how i'd like to work.

    btw. mudbox naming convention for texture tiles is better IMO. no idea why they standardized on this instead.

  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    cause you can read UDIMs in an image sequence... good to grade them in nuke...
  • thomasp
    Offline / Send Message
    thomasp hero character
    do you have to have the numbers as a simple suffix for nuke to read them correctly?

    i have not touched compositing in a good while but i think in shake you just told the program where to look for the sequence by feeding it special characters somehwere within the filename, like # or @.

  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    yes drag them into nuke and it will work...
Sign In or Register to comment.