Tile Rendering in several passes for Maya

When rendering from Maya using Mental Ray and the Submit to Deadline-script with Tile Rendering, we´ve encountered a problem when the software is supposed to assemble the tiles.

The problem is as following: In the Output folder, Maya puts one folder for each pass (AO, depth, MasterBeauty, reflection, specular) and renders the tiles perfectly according to this, so we get the right amount of tiles for each pass.
However Deadline try to assemble one job. This job also relates to neither of our passes, so instead of going into either pass-folder to assemble, it´s trying to assemble from files in the root of the output folder.

And while this can be set up manually to work, we´re of course trying to streamline this as much as possible and therefore wonders if there are any ways to automate this, and get one assembling job for each pass that is rendered.

This is a known problem, and we haven’t found a workaround yet.

The problem is with the tags in the file name. We’re using a built in Maya function to resolve the tags in the path so that we can get what the output name will be. It’s the same function used by Maya to display the path in the render options (which also doesn’t resolve the RenderPass tag).

So essentially, we need to figure out a way to replace those tags appropriately, and then allow the Tile job to assemble multiple images (maybe one set of tiles per task). At this time we haven’t found a solution yet. Maybe there’s a way to walk through the passes that will be rendered and replace the tags manually, while also submitting a separate assembly job for each pass…

Cheers,

  • Ryan