Skip to content

Max: Multi-camera workflow for rendering - #159

Open
moonyuet wants to merge 22 commits into
developfrom
bugfix/3dsmax_batch_directory_should_be_correctly_set_for_multi_camera_save_scene
Open

Max: Multi-camera workflow for rendering #159
moonyuet wants to merge 22 commits into
developfrom
bugfix/3dsmax_batch_directory_should_be_correctly_set_for_multi_camera_save_scene

Conversation

@moonyuet

@moonyuet moonyuet commented Jul 30, 2026

Copy link
Copy Markdown
Member

Changelog Description

This PR is to clean up the validation plugins for the unnecessary check on the camera name and update the correct directory for 3dsmaxbatch.exe so that it can be used in both 3dsmax 2026 and 2027.

Additional review information

Links to ynput/ayon-deadline#231

Testing notes:

  1. Create Render with multicamera option enabled
  2. Publish

@LiborBatek LiborBatek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was able to publish a multicamera render from max while using RShift renderer...

It was also succesfully rendered on DL but fails on DL publish job which is on stale due to missing dependencies of rendered frames...

Here are the rendered staging files:

Image

while the publish job expects different ones:

Image

Im enclosing json metadata too:

maxrenderMain_metadata.json.txt

And publish report if needed:

max-RS-publish-report-260730-12-27.json.txt

@moonyuet
moonyuet requested a review from LiborBatek July 30, 2026 11:28
moonyuet added 2 commits July 30, 2026 19:31
…ould_be_correctly_set_for_multi_camera_save_scene' into enhancement/add_vray_support_for_multicamera_render_submission
@moonyuet

Copy link
Copy Markdown
Member Author

@LiborBatek should be fixed with 7a0abf1

@LiborBatek LiborBatek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now all renders but fails due to still some discrepancies in metadata.json which Im also enclosing...

The publish job properties /dependencies looks good tho...

Image

Some small excerpt from the metadata (see the full json below)

Image

And the metadata json:

maxrenderMain_metadata.json.txt

@LiborBatek

Copy link
Copy Markdown
Member

Here is full publish report if need be:

max-multicam-publish-report-260731-17-05.json.txt

@moonyuet

moonyuet commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

Now all renders but fails due to still some discrepancies in metadata.json which Im also enclosing...

The publish job properties /dependencies looks good tho...

Image Some small excerpt from the metadata (see the full json below) Image And the metadata json:

maxrenderMain_metadata.json.txt

It is more a fix on the twin PR of this in deadline.

@moonyuet
moonyuet requested a review from LiborBatek August 3, 2026 09:28
@moonyuet

moonyuet commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

@LiborBatek if it is working for non vray renders, please also approve this as the branch from vray merging to this branch, thanks

@LiborBatek LiborBatek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As Im testing now with RShift...there seems to be an issue with separator as it expects different one...

Here is my staging folder with rendered frames using underscore separator while DL publish job expects dots..

Screenshot 2026-08-05 115347

Here is my ayon-3dsmax render settings for your inspection too...

Image

And lastly the metadata json:

maxrenderMulti_metadata.json.txt

And I will also test the Arnold renderer....to see how it performs for it...

@LiborBatek

Copy link
Copy Markdown
Member

@moonyuet Im getting publishing error while trying to submit with Arnold from 3dsmax

image

Here is a full json publish report for you:

Arnold-multi-publish-report-260805-12-57.json.txt

P.S. I have followed very much same testing steps as for e.g. Vray and RShift and also freshly re-created the render publish instance too

@moonyuet

moonyuet commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

@moonyuet Im getting publishing error while trying to submit with Arnold from 3dsmax

image Here is a full json publish report for you:

Arnold-multi-publish-report-260805-12-57.json.txt

P.S. I have followed very much same testing steps as for e.g. Vray and RShift and also freshly re-created the render publish instance too

can you try it again with the updated change in this PR as well as the updated one in ynput/ayon-deadline#231

@moonyuet
moonyuet requested a review from LiborBatek August 6, 2026 07:33

@LiborBatek LiborBatek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now it gives me error during saving scenes for rendering...also enclosing a full json report.

Image

Publish report json here:

max-arnold-publish-report-260806-15-27.json.txt

@LiborBatek
LiborBatek self-requested a review August 8, 2026 14:32
@LiborBatek

Copy link
Copy Markdown
Member

Now it gave me another error

Traceback (most recent call last):
  File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2606031445_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Work\REPO\ayon-deadline\client\ayon_deadline\plugins\publish\global\submit_publish_job.py", line 456, in process
    with open(metadata_path, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'C:/projects/Ayon_Tests/max/max_props\teacup/work/lookdev\renders/3dsmax/maxrenderMain/ATS_teacup_lookdev_v014\\maxrenderMain_metadata.json'

Here is the publish report json:

max-m-publish-report-260808-16-56.json.txt

@moonyuet

moonyuet commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

Now it gave me another error

Traceback (most recent call last):
  File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2606031445_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Work\REPO\ayon-deadline\client\ayon_deadline\plugins\publish\global\submit_publish_job.py", line 456, in process
    with open(metadata_path, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'C:/projects/Ayon_Tests/max/max_props\teacup/work/lookdev\renders/3dsmax/maxrenderMain/ATS_teacup_lookdev_v014\\maxrenderMain_metadata.json'

Here is the publish report json:

max-m-publish-report-260808-16-56.json.txt

Something for Monday not weekends, I leave the comments here just in case I forgot to do so :).
Fixed the repair action in the validator: 11d0656
Can you test along with the latest commit in ynput/ayon-deadline#231 ?

@LiborBatek LiborBatek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have tried two distinct scenes and double checked my pulled branches for ayon-3dsmax and ayon-deadline but Im still getting error while trying to publish the render from the max host...

Traceback (most recent call last):
  File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2606031445_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\deadline_0.7.3+dev\ayon_deadline\plugins\publish\global\submit_publish_job.py", line 456, in process
    with open(metadata_path, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'C:/projects/Quantum_Demo/assets/props/container/work/lookmax\renders/3dsmax/maxrenderMain/QD_container_lookmax_v109_Arnold_Multi\\maxrenderMain_metadata.json'

Also enclosing full json report:

publish-report-260812-15-28.json.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants