zArnoldMetadata
Introduction
Arnold can output custom metadata to rendered EXR files. However, the attributes to set
these are all strings, so they can't actually be connected to data, so they can't actually
be set to anything useful. The zArnoldMetadata node converts from regular typed Maya
attributes to Arnold's string fields.
Attributes
-
name - The name of the EXR metadata field to set.
-
inputInt, inputFloat, inputVector2, inputMatrix - The value to set.
-
outputInt, outputFloat, outputVector2, outputMatrix - The resulting header fields.
Example
You can export a locator's transform to each rendered EXR file. Create a zArnoldMetadata node,
connect the locator's worldMatrix to inputMatrix, and connect zArnoldMetadata.outputMatrix to
defaultArnoldDriver.customAttributes.
The locator can then be animated or parented to another object, and each rendered EXR file will
include the position of the locator during that frame.