Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for renderman job attachments. #86

Merged
merged 9 commits into from
Feb 15, 2024

Conversation

rmv
Copy link
Contributor

@rmv rmv commented Feb 7, 2024

What was the problem/requirement? (What/Why)

As part of support for renderman the maya submitter needs to find the correct renderman job attachments

What was the solution? (How)

Query Maya's repathing tool for external resources, and get the .tex filenames through Renderman's Tx Manager.

What is the impact of this change?

Should find Renderman job attachments if the renderman render is selected in render settings when submitting.

How was this change tested?

Tried different renderman scenes and checked the output job bundles, which included the original and tex files.

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.

Yes, the tests passed correctly.

Was this change documented?

Not yet, once all the parts are in.

Is this a breaking change?

No.

@rmv rmv force-pushed the MayaRendermanSubmitter branch from 820a581 to b28a687 Compare February 7, 2024 22:06
@rmv rmv force-pushed the MayaRendermanSubmitter branch from b28a687 to 0e87b77 Compare February 7, 2024 22:08
rmv added 5 commits February 8, 2024 17:51
Add test for new code

Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
cleanup

Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
cleanup

Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
@rmv rmv marked this pull request as ready for review February 12, 2024 17:35
@rmv rmv requested a review from a team as a code owner February 12, 2024 17:35
from maya.cmds import filePathEditor # type: ignore
from rfm2.txmanager_maya import get_texture_by_path # type: ignore

# cmds.filePathEditor().return_value = ['0', '1']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we clean up these comment if not needed (also on line 58)

@rmv
Copy link
Contributor Author

rmv commented Feb 14, 2024

Also fixed an issue where the original textures were not being added.

Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
@rmv rmv merged commit fcef5f2 into mainline Feb 15, 2024
6 checks passed
@rmv rmv deleted the MayaRendermanSubmitter branch February 15, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants