Author Topic: 3dsmaxbatch simplecmd (with workaround for 3dsmax intermittent render bug)  (Read 17369 times)

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
A number of customers have been seeing intermittent render failures with 3dsmax. 

A render bug in Max has been identified and Autodesk is working to put together a hotfix solution.  In the meantime, we are providing a workaround to get around that render bug.

    # Overview:
    #    This 3dsmaxbatch simplecmd has a temporary workaround in it to get around an intermittant rendering issue with 3dsmax.
    #    Aside from the cmdjob.command, it is identical to the regular 3dsmaxbatch simplecmd.
    #
    # Workaround Steps:
    #    This workaround put into the "command" section does the following:
    #       1) Create a temporary copy of the .max scene file in the same directory.
    #          It append "<frame>.max" to the end of the filename to make it unique.
    #       2) Render the temporary "<scene>.max.<frame>.max" file instead of the original <scene>.max file.
    #       3) Delete the temporary file after frame completion.
    #          Note: it may leave temporary files if the render fails for other reasons
    #
    # Description of 3dsMax Bug:
    #    A temporary .xml file is created for each render process with (usually) a unique ID tacked onto the name.
    #    However sometimes it is not a unique ID.  This causes multiple rendering processes that are rendering the same
    #    .max scenefile to fail.
    #
    # Permanent Resolution:
    #    Autodesk is working on a hotfix.


[attachment deleted by admin]

curly

  • Jr. Member
  • **
  • Posts: 8
Just want to confirm if I understand what you suggested:

render 100 frames for file abc.max:

e.g.: original 3DMAX scene file  Z:/maxproject/scene/abc.max
make a copy: Z:/maxproject/scene/abc.max.100.max
use simplecmd and submit job with abc.max.100.max through qube

is that what you mean?



curly

  • Jr. Member
  • **
  • Posts: 8
sorry, I'm using Firefox and did not aware that there was workaround.py attached. I download it and tried already.

The result seems a bit better but once if there is a machine cannot pick a job (mostly likely the 3DMAX job ID problem occurs) it will makes all rest frames to fail.

Re-render fail frames may help sometimes but not very ideal.

Curly

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Thank you Curly for the feedback.  We will continue to keep you all posted on the official Autodesk hotfix for this 3dsMax issue.