how about just using a Shuffle node and exposing it's in knob to the user, so they can pick the layer they want to grade, while keeping it's out knob hard coded to rgb. Append a Grade node to grade rg but not b (and expose whatever knobs you want), then follow with a ShuffleCopy node who's ouptut knob is expression linked to the first Shuffle's in knob so the graded rgb layer gets copied back into the original stream and into the layer that it came from.



On 3/15/12 11:50 AM, DavePaliwoda wrote:
Hello there,

I'm currently in the process of creating a gizmo where I'd like to allow the user to choose which channelset to use for a grade node (eg. Specular, Z-Depth, Shadow, etc.) which then only affects the Red and Green channels of that channelset, preferrably by way of a pulldown menu with a few options

This has me totally stumped, I've attempted to open the .nk to add expressions to reference (NoOp1.ChannelType).red (etc.) with the noOp using a text input knob (with no luck), I've attempted pulldowns with similarly lame results, any help would be much appreciated, thanks!


_______________________________________________
Nuke-python mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to