I want one knob to control the other and vice versa like in the example below but I want it to affect one special node only and not the whole class.
def gangGammaGainSliders():
n = nuke.thisNode()
k = nuke.thisKnob()
if k.name() == "gamma":
n['gain'].setValue(k.value())
elif k.name() == "gain":
n['gamma'].setValue(k.value())
nuke.addKnobChanged(gangGammaGainSliders, NodeClass="ColorCorrect")
My second question is: is there a way to implement a HUD e.g. to show things like the node name I’m currently viewing or the viewer input etc. in the viewer?
I’ve been looking for a solution the whole day and couldn’t figure one out so I hope you guys can help me.
cheers,
Knallkopp
Post a Comment