Arnold ass File Example

Get Prepared

In this tutorial, you'll render the motion-blur example scene provided by SolidAngle. You'll need to have Maya installed.

The scene Motion_blur.ma contains a three frame animation of pool balls.

poolballs

Export ass Files

exportass

Configure the Submission

Files

files

Head over to the Preview tab if you like to check the files are included in the upload_paths field.

General Tab

general

Warning

The output directory must not contain any of your input files.

Note

Due to a limitation in the file dialog, the button to choose a directory is labeled "Upload". Don't worry, nothing is uploaded at this time.

Task Template

The Task Template is where you specify the CLI command to run on each render node in the cloud.

kick -nostdin -i /Users/me/projects/Motion_blur/pool_balls.<pad chunk_start 4>.ass -dw -dp -v 5 -ds 4 -ss 4 -as 6 -of exr -o <output_path>/pool_balls.<pad chunk_start 4>.exr

kick is SolidAngle's command to render a single ass file. The command sets the following flags to override the render settings in the scene:

Use kick --help in a command shell on your computer, or browse the Arnold documentation for a full list of options.

Notice the -o flag that specifies the out file location. Rather than specify the whole output filename in the template, we use the <output_path> token, which pulls the value directly from the output folder field above.

Several other tokens are available. We use the <chunk_start> token in our template with a special modifier to pad the number to four digits <pad chunk_start 4>. This is required because our ass files were exported with padded frame numbers.

If you go to the Preview tab you'll see how the the ass filenames and output paths have been resolved in the tasks_data section.

Take a moment to save the state of the submission.

generalSave

Software

You must specify all the host software and plugin services you need in order for them to be made available to the render nodes and to have their environments correctly set.

software

If you head back to the Preview tab now you'll see the environment section contains several paths required for rendering Maya with Arnold. However, there's one path missing. Since the scene was created in Maya, the ass files use Arnold versions of Maya shaders and the path to these shaders is not made available to Arnold standalone by default.

Fortunately we can override the ARNOLD_PLUGIN_PATH variable in the Advanced tab.

Advanced Tab

The exact path to be appended depends on the Arnold software version you chose. It is the shaders directory which is a sibling to the plugins directory.

For example, if you chose Arnold Maya 2019-3.3.0-2 software, then the default value for ARNOLD_PLUGIN_PATH, which you can check in the Preview tab, will be:

/opt/solidangle/arnold-maya/3/arnold-maya-maya2019-3.3.0-2./plug-ins

You need to append the shaders path:

/opt/solidangle/arnold-maya/3/arnold-maya-maya2019-3.3.0-2./shaders

So the full path to enter as an environment override is:

/opt/solidangle/arnold-maya/3/arnold-maya-maya2019-3.3.0-2./plug-ins:/opt/solidangle/arnold-maya/3/arnold-maya-maya2019-3.3.0-2./shaders

advanced

Note

The above technique is also how you'd make available proprietary or 3rd party shader libraries, along with adding them to the upload files of course.

Python Location

The submission is processed using Conductor's client side Python API, and therefore you need to ensure you have Python 2.7 available. In the Advanced tab, if the Python Location field is empty, press the reset button which will try to locate Python 2.7. If it fails, browse for a valid Python 2.7 installation on your system. If Python 2.7 is not installed, you'll need to install it before you can submit your job.

Submit

You can now press Submit. You should see some activity in the status bar. If you click the small icon in the status bar you'll see the whole log, where you can identify submission errors if any. If the submission is successful you'll be presented with a link to the job in Conductor's web UI.

submitted

Appendix