Export Selection to Material X

Export MaterialX looks for use with Arnold.

You can export shader trees and shape properties from Arnold to MaterialX looks. The export includes:

Exported looks can be reused or shared by Arnold in different DCCs. For each mtlx document you can define what parts of the scene are exported and what the look should be called. The Arnold plug-in translates the scene and then calls the public API function which goes through the universe, generates a mtlx document and then writes it to a file.

Supported:

Unsupported:

You cannot render whilst exporting to MaterialX.

Environment Variables

By default, the exported .mtlx documents use the node definitions that ship with Arnold. Users can specify their own node definitions and search path using the environment variables 'ARNOLD_MATERIALX_NODE_DEFINITIONS' and 'ARNOLD_MATERIALX_SEARCH_PATH'.

Filename

Choose the name and path that you want the .mtlx file to be saved as.

For existing mtlx files, the export will either update an existing look, or append a new look to the document.

Look Name

The look name to use in the exported MaterialX document.

Properties

Additional shape parameters to export. For example, step_size and volume_padding for a polymesh that is rendered as a volume.

The following shape parameters are automatically exported (if they are set to non-default values):

Relative Assignments

If set, the shader/property/visibility assignments will be relative to the namespace the shape is in, otherwise, the assignments will contain the full path to the shape. For instance, if a sphere named 'sphere1' resides in a procedural 'my_proc', the full name would be ' my_proc/sphere1 ' and the relative name 'sphere1'. This makes it possible to assign the look to another procedural with a different name.