I have several COP nulls named "UDIM_1001", "UDIM_1002", and so on, which represent UDIM tiles. I'm trying to reference them inside the MaterialX (mtlximage operator, to be precise) with op:/img/copnet1/UDIM_<UDIM>, but for some reason the UDIM tag doesn't seem to be working when used in conjunction with "op:" (it works fine with files though). Is this a known limitation?
I was more successful previewing op-linked UDIM textures in SOPs, by first generating udim_tileprimitive attribute with Labs' UDIM Tile Number SOP, then by creating groups based on this attribute, and finally by using a chain of COP Preview Material SOPs - one for each UDIM group. However, I wonder if there's a more automated way. I tried <UDIM>tag with the op: path, but it doesn't work here as well. At least not for COPs as a source.
Unlike files, which we can search for the existence of to determine the UDIM tiles, we cannot do that for COPs - so you as a user need to provide the tile numbers.
Makes perfect sense. Thank you, Alexander. However, for some reason it doesn't work. For example, I have the following COP paths:
/obj/shirt/COPs/UDIM_1001
/obj/shirt/COPs/UDIM_1002
/obj/shirt/COPs/UDIM_1003
What I'm entering in MtlxImage's filename parameter is:
op:/obj/shirt/COPs/UDIM_?udim=1001,1002,1003
None of the COPs are loaded.
I tried this with COP Preview Material and it doesn't work either. I'm looking through the documentation, but I don't see any mention of this syntax (?udim=).
ajz3d Makes perfect sense. Thank you, Alexander. However, for some reason it doesn't work. For example, I have the following COP paths:
/obj/shirt/COPs/UDIM_1001
/obj/shirt/COPs/UDIM_1002
/obj/shirt/COPs/UDIM_1003
What I'm entering in MtlxImage's filename parameter is:
op:/obj/shirt/COPs/UDIM_?udim=1001,1002,1003
None of the COPs are loaded.
I tried this with COP Preview Material and it doesn't work either. I'm looking through the documentation, but I don't see any mention of this syntax (?udim=).
One of the COP devs might be able to answer this in more detail, but essentially the UDIMs have to be in one COP node, and the context option UDIM determines which layer is cooked. So in a File COP, for example, you'd insert the UDIM context option token for the frame number portion of the file path, and running the op: would cook that COP multiple times for each UDIM tile (but unfortunately I don't know the syntax of that token).