This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Maya: better tile rendering support in Pype #446
Merged
+330
−107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tile rendering
This PR is changing way tile rendering work. Previously it was necessary to submit tile renders via Maya Deadline Submit plugin and then create publish job via Pype publisher. Now Pype itself will create tile jobs on farm. It is compatible with Draft Tile Assembler plugin and will by default use Pype's own assembler based on Open Image IO tool (ynput/pype-setup#62).
Tiles are specified on render instance:
Deadline limitation is that there can be only one Tile Job per frame, so Pype will create one tile job for every frame and for every tile job one assembly job. So for single frame there will be 1x Tile Job, 1x Assembly Job, 1x Publish Job and for sequence of 10 frames: 10x Tile Jobs, 10x Assembly Jobs and 1 Publish Job.
Configuration is written per Tile Job into txt files and submitted as AuxFiles as Draft Assembler expects.
To use Draft Tile Assembler, create preset override in
pype-config/presets/plugin/maya/publish.json
:Depends on ynput/pype-setup#62
Closes #438 as no validator is required
Resolves #297