zMayaTools download github

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

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.