OpenPype
OpenPype copied to clipboard
Maya: Add additional playblast options.
Brief description
Adds more options for playblasts to preferences/settings.
Description
Adds the following as options in generating playblasts, matching viewport settings.
- Use default material
- Wireframe on shaded
- X-ray
- X-ray Joints
- X-ray active component
Testing notes:
- Change studio settings to select one of the available settings.
- Create review camera.
- Create review.
- Publish.
Note: Seems that some commits I'd had on this have been lost, going to investigate why that's the case.
Task linked: OP-3783 Maya Playblast Options
Changes look good to me but haven't tested the functionality.
Note that I think that when you save defaults with the Settings UI that it might re-order the openpype/settings/defaults/project_settings/maya.json file and thus I'd say to regenerate them now if they do - instead of us manually editing the file here. Since dicts are ordered in Py3 I suspect with the re-ordering of the attributes that likely these defaults would be ordered in the newly ordered way too.
By updating those defaults now it'd avoid having that re-ordering happen in a future PR.
@LiborBatek @m-u-r-p-h-y can you please check the state of this?
checked the Openpype setting, the related attributes are there.
and also checked the playblast settings by applying the review instance.
All the options work as expected.
But please dont use useDefaultMaterial and WireframeonShaded at the same time, it will give you empty scene.
@Allan-I is this ready to review? It'll need some conflict resolving for a merge.
@tokejepsen @Allan-I is not working at YNPUT anymore so I guess you have to dig into it... you wont get any answer I guess