Announcements

AREA content is being relocated to the Autodesk Community M&E Hub and Gallery. Notifications may be intermittently unavailable 10–12 November. Learn more HERE.

Custom Katana exrheaders

Custom Katana exrheaders

tim.goransson6XTRC
Enthusiast Enthusiast
1,157 Views
4 Replies
Message 1 of 5

Custom Katana exrheaders

tim.goransson6XTRC
Enthusiast
Enthusiast

Hello!


Is there a way to add custom EXR metadata in KtoA?

The Foundry has this page with instructions, but it only seems to work with Prman. I've confirmed that this does not work with Arnold, as when I bring the EXR into Nuke, none of my added exrheaders show up.


Any ideas?

Thank you!

0 Likes
1,158 Views
4 Replies
Replies (4)
Message 2 of 5

Stephen.Blair
Community Manager
Community Manager

You need to set it using the "custom attributes" entry in the ArnoldOutputChannelDefine node.


There is more info on setting custom metadata at the bottom of this page: https://docs.arnoldrenderer.com/x/bwsdAg


custom_attributes 5 1 STRING "INT my_int -2323" "FLOAT \"my float\" -23.23" "POINT2 my_point2 -23.23 -23.23" "STRING my_string \"twentythree twentythree\"" "MATRIX my_matrix 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"




// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 5

tim.goransson6XTRC
Enthusiast
Enthusiast

@Stephen Blair Thanks for this! You wouldn't happen to have an example of setting an attribute for this would you? I might just have the syntax wrong, but it's still not working. screenshot-2021-11-17-170528.jpg

0 Likes
Message 4 of 5

Stephen.Blair
Community Manager
Community Manager

@Tim Goransson Here's an example scene:
custom_metadata.katana.txt



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 5 of 5

tim.goransson6XTRC
Enthusiast
Enthusiast

@Stephen Blair Thanks for this example! Managed to get it to work when rendering locally and saving to a file. The metadata doesn't seem to show up when it comes off the farm though, but I think we can manage from here. Thanks again!

0 Likes