Arnold Scene Source (ass)

The Structure of .ass Files

Arnold's native scene description file format, known as ".ass" files", are human-readable ASCII text files. An .ass file typically contains cameras, lights, model geometry and shaders as a list of nodes with their connections and parameters.

The plug-ins Arnold for Maya and Arnold for Softimage can export ass files. Arnold's command line renderer, kick, can be used to render these ass files into image files.

An example .ass file

The following is a simple .ass file that contains an options block, a filter node, a driver, a camera, a light, a polymesh and a shader.


Just like in Python, one line comments begin with the # character.

Nodes and Parameters

Arnold is built around different types of nodes. For example, there are shader nodes, camera nodes, light nodes, filter nodes, geometry (aka "shape") nodes and output driver nodes. Each node has a number of parameters.

Each type of node is identified by a unique name (options, persp_camera, polymesh, lambert etc). You can have as many nodes of each node type as you want. Each node is uniquely identified by a string parameter called "name". To create a node, you write the node type and enclose the definition of the parameter values within brackets. For example:


Here are some of the more important nodes that can be found in an ass file.

  • options - This node is a container of global rendering options, for example:
  • xres, yres: Image resolution
  • AA_samples: Antialiasing samples
  • camera: Active camera. It must point to a valid camera node in the scene
  • outputs: This array of strings defines a mapping of AOV channels (or layers) to output drivers. The format of each of the strings is: "<AOV_name> <data_type><filter> <driver>"
  • gaussian_filter - This is the default type of filter used by kick. The filter has a user-specified width which defaults to 2.0 pixels.
  • driver_tiff - Driver node that can be referenced by the outputs parameter in the options node. It has a filename parameter for the output file that will store the final rendered image.
  • persp_camera - Camera node that can be referenced by the camera parameter in the options node. Among other parameters it has a field-of-view and a camera-to-world matrix that defines the orientation.
  • distant_light - Distant (or directional) light node with a transformation matrix, color, intensity etc.
  • polymesh - This is the most important geometric primitive in the renderer. Some of its parameters are:
  • vidx, nidx, vlist, nlist: These arrays describe the mesh vertices, normals, and their respective topologies (face indices). If the mesh has UV coordinates, they would be stored in the uvidxs and uvlist parameters.
  • visibility, sidedness: These are bitmasks that define the visibility and sidedness properties for each ray type (camera, shadow, reflection etc).
  • matrix: The object-to-world transformation matrix of the mesh.
  • shader: Pointer to the shader node that will be executed when shading the object


All parameters have a default value so you don't have to explicitly set all of the available parameters. Default parameter values can be queried with Arnold's command line renderer, kick. For example, to find the default value of the parameter Kd in the lambert shader type this:



Arrays of a basic type, e.g. POINT[ ] or FLOAT[ ], are specified with the following syntax:

For example, the polymesh node has a parameter called vlist, the array of points where the polygon vertices are stored:

A polymesh with a single triangle would therefore be specified with an array of three POINTs:


Motion Blur

For parameters that support motion blur, you can define several values for each of the motion blur time samples (or "keys"). The following example shows the list of vertices for one triangle with two motion keys, where the triangle has moved 5 units in the Y direction:

The same vertical motion can be achieved by storing static triangle vertices and providing multiple transformation matrices instead:





  • No labels