3D rendering using Microsoft Azure

G4T Solution 0 Reputation points
2023-08-22T04:11:47.67+00:00

How to write command line on Azure Batch rendering job task to render 3ds max and Vray

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
305 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 18,125 Reputation points
    2023-08-22T05:10:07.7533333+00:00

    To run rendering tasks using Azure Batch with 3ds Max and V-Ray, you'll need to create a Batch pool, define tasks, and provide appropriate command lines for rendering.

    "C:\Program Files\Autodesk\3ds Max 20XX\3dsmax.exe" -silent -v:quiet -q -s:"C:\path\to\render_script.ms"
    
    

  2. kobulloc-MSFT 23,496 Reputation points Microsoft Employee
    2023-08-30T01:30:56.8566667+00:00

    Hello, @G4T Solution !

    How do I use Azure Batch to render Autodesk 3ds Max and V-Ray using the CLI?

    You can find command line documentation for 3ds Max here:

    https://learn.microsoft.com/en-us/azure/batch/batch-rendering-application-reference#rendering-with-autodesk-3ds-max

    Invoke the 3dsmaxcmdio.exe application to perform command line rendering on a pool node. This application is on the path when the task is run. The 3dsmaxcmdio.exe application has the same available parameters as the 3dsmaxcmd.exe application, which is documented in the 3ds Max help documentation (Rendering | Command-Line Rendering section).

    Example:

    3dsmaxcmdio.exe -v:5 -rfw:0 -start:{0} -end:{0} -bitmapPath:"%AZ_BATCH_JOB_PREP_WORKING_DIR%\sceneassets\images" -outputName:dragon.jpg -w:1280 -h:720 "%AZ_BATCH_JOB_PREP_WORKING_DIR%\scenes\dragon.max"

    Notes:

    • Great care must be taken to ensure the asset files are found. Ensure the paths are correct and relative using the Asset Tracking window, or use the -bitmapPath parameter on the command line.
    • See if there are issues with the render, such as inability to find assets, by checking the stdout.txt file written by 3ds Max when the task is run.

    More information can be found here:

    https://learn.microsoft.com/en-us/azure/batch/batch-rendering-using#using-batch-explorer

    Pool and job templates can be accessed from the Gallery in Batch Explorer. If you're looking for a script, the template source files are available in the Batch Explorer data repository on GitHub.

    In addition to the scripts, you'll find detailed instructions on how to run an example batch render:

    https://github.com/Azure/BatchExplorer-data/tree/master/ncj/3dsmax

    Batch Explorer Gallery

    View Filegroup outputs


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more