OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

Maya: Hotfix for Deadline + Redshift renders without merge AOVs

Open BigRoy opened this issue 3 years ago • 3 comments

Fixes #3953

Brief description

Instead of taking the resolved output from Render Products which is the "image prefix" that matches the written output files for the renderer with the current layer's setting submit to Deadline with the actual "image prefix" value of that layer.

Description

See #3953 for more details on why the error happened originally.

Additional info

Would've preferred the code to be even cleaner than this by e.g. just having something like imageFilePrefix or rawImageFilePrefix stored in the instance.data so we could retrieve it directly instead of having to access the scene again.

Testing notes:

  1. Render with Redshift from Maya without merge AOVs / multilayer through Deadline.
  2. Publish of rendered images fails.

BigRoy avatar Oct 07 '22 18:10 BigRoy

Bug was also present with V-Ray. This PR would also fix that case.

BigRoy avatar Oct 07 '22 21:10 BigRoy

Hi, I will do it asap...we have some issues with Deadline submits causing immediate fails/errors #3955 so I cant test it right now, sry.

LiborBatek avatar Oct 11 '22 06:10 LiborBatek

Ok I have tested it and it renders all out with correct naming like Main.####.exr or/and Main_N.####.exr (for normal AOV pass).

Not sure but Publish of the rendered imgs fails... its not clear to me if its right or not! ...by reading your description how to test it above...

Just clarify it and I can make Review to finnish it. Thx L.

LiborBatek avatar Oct 17 '22 10:10 LiborBatek

this was merged in with #3981

antirotor avatar Oct 19 '22 14:10 antirotor