nNuke NDK, accessing extra EXR layers/channels

Greetings guys,
I’m new to the nuke ndk and I’m trying to figure out how to make my operator plugin access other layers/channels coming in from a single exrReader node.
for example, i have a single exr file that contains multiple render passes that i’ve rendered out via maya and if you looked at the the exr’s channel list through a shuffle node in nuke you would see the typical rgb, rgba, alpha, and then pass1, pass2, pass3, etc… the extra layers also show up under "other layers" in nukes channel lists as well. so im trying to figure out how to access those other layers/channel in my operator code and have not found any examples or useful information in the ndk docs related to that specifically and was wondering if anyone here knows how to do that in c++. I haven’t found any find channel by name type functions either, I’m guessing the the nuke design is to keep it as node based as possible, but i need to be able to access all of the different pass layers from a single plugin/node, instead of having to set up shuffle nodes to select each layer that i need. Any help would be much appreciated or even some code to show how to list the names of all the channels/layers coming from the single exrReader node and how to read data from those channels in my engine() function. Any advice is much appreciated.
No Responses to “nNuke NDK, accessing extra EXR layers/channels”

Post a Comment