if doGroup:
grp = nuke.nodes.Group()
nuke.Group.begin(grp)
grp.setInput(0,readNode)
readNode = nuke.nodes.Input()
...Create nodes based in an exr contents here and append all created color correct nodes into colorCorrectList variable ...
if doGroup:
for index, cc in enumerate(colorCorrectList):
tabKnob = nuke.Tab_Knob(shuffleList[index].name())
grp.addKnob(tabKnob)
grp.addKnob(cc['saturation'])
grp.addKnob(cc['contrast'])
grp.addKnob(cc['gamma'])
grp.addKnob(cc['gain'])
grp.addKnob(cc['offset'])
Post a Comment