OpenEXR Header Metadata
Warning: This is only currently supported by PRMan.
You can add arbitrary metadata to OpenEXR headers. The metadata must be set at attribute level - rather than through the UI - by creating attributes under exrheaders. For example, use an OpScript node targeting the /root location to set the following:
local EXR_String = "renderSettings.outputs.primary.rendererSettings.exrheaders.test_string" local EXR_String_Value = StringAttribute("A String") Interface.SetAttr(EXR_String, EXR_String_Value) local EXR_Integer = "renderSettings.outputs.primary.rendererSettings.exrheaders.test_int" local EXR_Integer_Value = IntAttribute(1) Interface.SetAttr(EXR_Integer, EXR_Integer_Value) local EXR_IntegerArray = "renderSettings.outputs.primary.rendererSettings.exrheaders.test_intArray" local EXR_IntegerArray_Value = IntAttribute({1,2,3,4}) Interface.SetAttr(EXR_IntegerArray, EXR_IntegerArray_Value) local EXR_Float = "renderSettings.outputs.primary.rendererSettings.exrheaders.test_float" local EXR_Float_Value = FloatAttribute(1.5) Interface.SetAttr(EXR_Float, EXR_Float_Value) local EXR_FloatArray = "renderSettings.outputs.primary.rendererSettings.exrheaders.test_floatArray" local EXR_FloatArray_Value = FloatAttribute({2.6,3.8}) Interface.SetAttr(EXR_FloatArray, EXR_FloatArray_Value)