Command line render

Rendering with Arnold can be run from the command line as well. The syntax is the same that you use for a standard C4D render; only the Arnold Renderer has to be the active renderer in the render settings.

 

There are some extra arguments available specifically for Arnold:

  • -arnoldDevice [cpu|gpu]: overrides the Render device of the scene.
  • -arnoldLogLevel [level]: overrides the Arnold log level of the scene. The available values are the following:
    • 0: Errors
    • 1: Warnings
    • 2: Info
    • 3: Debug 
  • -arnoldLogFile [path]: writes the Arnold log to the given file.
  • -arnoldLogToConsole [true|false|on|off]: enables/disables logging to the console output.
  • -arnoldAbortOnLicenseFail [true|false|on|off]: aborts the render on license fail when turned on.

  • -arnoldSkipLicenseCheck [true|false|on|off]: does not check for a valid license and renders with watermark when turned on.
  • -arnoldBakeTexture:

    • outputDir (string)
    • format (string - default: exr): the label shown in the dialog (exr, png, jpeg or tif)
    • resolution (int - default: 512)
    • object (string): the name of the object in the scene (e.g. Sphere)
    • material (string): the name of the material in the scene used as an override
    • filter (string - default: gaussian_filter): name of the filter
    • aovs (string - default: beauty): list of AOVs separated by ';' (e.g. beauty;diffuse_direct)
    • uvset (string)
    • polygonSelectionOff: disable polygon selection when specified
    • cameraAA (int - default: 3)
    • uOffset (float - default: 0)
    • vOffset (float - default: 0)
    • uScale (float - default: 1)
    • vScale (float - default: 1)
    • surfaceOffset (float - default: 0.001)
    • extendEdgesOff: disable extend edges when specified
    • startFrame (int - default: 0)
    • endFrame (int - default: 0)
    • stepFrame (int - default: 1)

 

For example, the following command outputs the Arnold debug log to /path/to/myscene.log:

  • No labels