Converting UDIMs with rop composite

   2480   4   1
User Avatar
Member
1533 posts
Joined: March 2020
Offline
Hi

Banging my head against the wall here, I'm trying to convert a bunch of EXR's that have UDIM numbers to .RAT's but they just come out black.

It seems that that the PDG/ROP composite is seeing the UDIMs as frame numbers? If I remove the UDIM padding my setup works.

What I noticed is that if I set to ROP Composite Override frame to 1001, it starts to work, however if the UDIMs aren't in a perfect sequence, so 1001, 1002, 1010, 1011… it works up until the gap in the “sequence” then the rest of the files come out black.

Original files look like this:

char_basecolor.1001.exr
char_basecolor.1002.exr
char_basecolor.1003.exr
etc..

Any Ideas?
Sorry can't share a hip.

I'm also using a python script to remove the extension from the filename, so I don't end up with the output file looking like this:
char_basecolor.1003.exr.rat
Edited by JasonSlab - July 4, 2019 06:36:28
HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
Can you use iconvert instead of ROP Composite ?
User Avatar
Member
1533 posts
Joined: March 2020
Offline
chrisgreb
Can you use iconvert instead of ROP Composite ?

Hi I ran a quick test using iconvert via command line, this works on the files.
Guess I could run this through a python script in TOPs?
HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
Yes, or you can use genericgenerator to specify the command line.

The file COP is a bit tricky since it assumes you want to give it a sequence of frames. However if you dive into the ROP Composite TOP node, there are other parms on the file COP that might be helpful, like the Shift to Start Frame, but I can't say for sure if it's possible.
User Avatar
Member
1533 posts
Joined: March 2020
Offline
Great, thanks for the info , I will look into using a generic generator for this then.
HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
  • Quick Links