-
Notifications
You must be signed in to change notification settings - Fork 128
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
multiple render camera supports for 3dsmax #5124
multiple render camera supports for 3dsmax #5124
Conversation
Task linked: OP-5751 render multiple cameras |
@LiborBatek I restored the code with the original subset name setup, can you please check again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LiborBatek can you test this again if you have time to do so? It seems working in my side now where publish folders have shown the folders and outputs correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can also say that I have successfully tested also in And both for Overall great news!! |
@antirotor can you take a look at the code again? I didn't use the loop function you suggested as I tested it with Maya, and the subset name doesn't include the AOVs as expected. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've started rewritting few things to f-string as a suggestions here but then I've realized it is on more places. I know, cosmetics, but at least with the longer strings like:
renderlayer.outputFilename = "{0}_{1}..{2}".format(
output, cam, img_fmt)
it is much more easy to read:
renderlayer.outputFilename = f"{output}_{cam}..{img_fmt}"
Otherwise it looks good!
Changelog Description
Supports for rendering with multiple cameras in 3dsmax
Additional info
Testing notes:
Create Render Instance with multiple cameras selection enabled
![image](https://private-user-images.githubusercontent.com/64118225/255613045-5ecb7b44-980d-49bf-ac6d-348d8fb4c82e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MjQ2ODcsIm5iZiI6MTcyMjQyNDM4NywicGF0aCI6Ii82NDExODIyNS8yNTU2MTMwNDUtNWVjYjdiNDQtOTgwZC00OWJmLWFjNmQtMzQ4ZDhmYjRjODJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDExMTMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZkYTkxMDI1OTlhMWU2ZDA5YmQyNDg2NWVhMmQxMGUzZDYyNzUzMDFmZmQ4YjQ5MTljZTJiZGM3MzcxMTI5OTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TauF7hcJHcqA7Ax7TsbQLv38XSrINIMVgtVjddVZeqQ)
Add the camera you wanted to render into container
![image](https://private-user-images.githubusercontent.com/64118225/255613443-ca5a924f-af37-4a28-a384-d9456e5c0294.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MjQ2ODcsIm5iZiI6MTcyMjQyNDM4NywicGF0aCI6Ii82NDExODIyNS8yNTU2MTM0NDMtY2E1YTkyNGYtYWYzNy00YTI4LWEzODQtZDk0NTZlNWMwMjk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDExMTMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkM2UxYzQzOTNkODhmMzBhNzExMzUyNWI2MzhkNjUwYWVlZWYzY2NlN2E1ODBlYjE0YzE0YWMwYmJkMmRhMzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cPlw1H1uB-EWGaus4ISPUAZ2sQ4SiE6VSpiI4PN0uaw)
Publish
It will creates different camera files and submit to the deadline with multiple job and plugin infos.
Once the rendering is finished, it will include videos with different cameras.