OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

Maya: remove invalid prefix token for non-multipart outputs

Open antirotor opened this issue 2 years ago • 3 comments

Fix

This is fixing image prefixes for Vray and Redshift to not add <aov> token for outputs that are multipart (merged aovs).

Testing

Submit render to Deadline with merged AOVs from vray or redshift.

Close #3956

antirotor avatar Oct 13 '22 14:10 antirotor

Just tested it in with #3954 branch and it works normally (fixes it)....giving it just <name>.####.exr not any <AOV> tokens in the filename when using multichannel exr format.

Im just not sure if these PRs should be joined together or?

LiborBatek avatar Oct 17 '22 10:10 LiborBatek

Im just not sure if these PRs should be joined together or?

They should, yes.

This one fixes what the expected output is for the renderer in the situations where multipart EXR is enabled. The other fixes what is passed to Deadline in the case multipart EXR is disabled.

BigRoy avatar Oct 17 '22 11:10 BigRoy

I've merged it together. One PR to rule them all.

antirotor avatar Oct 18 '22 12:10 antirotor

Redshift has actually two multipart options, not very well documented and making the whole thing a true nightmare

image

redshiftOptions.exrForceMultilayer redshiftOptions.exrMultipart

It seems we only take into account the first one, which is the only way as with all other combinations multipart + individual aov output settings it is nearly impossible to control.

m-u-r-p-h-y avatar Oct 19 '22 06:10 m-u-r-p-h-y