You can set knob components all at once by passing a TCL list to any
individual knob (basically identical to the knob storage formatting in a
Nuke script file).
knobs Grade1 {blackpoint {.1 .2 .3 .4}}
Note that omitted components will be set to 0.
-Nathan
-----Original Message-----
From: adam jones
Sent: Monday, January 14, 2013 12:11 PM
To: Nuke user discussion
Subject: Re: [Nuke-users] preset pull down in individual nodes
Hi there
I have got a direction now with build this gizmo, if I take the theory of
the script from the presets pull down in the grain gizmo I can set up what I
want to set on, but there is always more.
this is what is used to plug the preset values into the gizmos gui
presets/Kodak 5218
knobs this {red_size 0.10 green_size 1.60 blue_size 1.91 red_i 0.60 green_i
0.86 blue_i 0.73 red_m 0.38 green_m 0.17 blue_m 0.87 black 0.00 label {Kodak
5218}}
so my new question is, with my current knowledge I can only set up say the
gain portion of of a grade with RGB each of which r g b in there own
separate slide by calling the knob name and plugging in the value.
So what I have tried is a couple of things but this one should give you an
idea.
I want to be able to plug my rob values into a RGB colour knob but the
problem being you only assign one knob name (obviously) so I though that if
I was to say (knob named "_gain") put this in the code one knob name with
the .r .g .b extension "knobs this {_gain.r 0.10 _gain.g 1.60 _gain..b
1.91"….. rather than "knobs this {red_size 0.10 green_size 1.60 blue_size
1.91" which is three different knob names.
anyways I know you can set this up really easily with presets but it was a
request and a bit of
cheers
-adam
On 13/01/2013, at 7:51 PM, adam jones <[email protected]> wrote:
Hey all
I know you can set this up by just saving presets to the pull down in each
node, But for the sake of argument can you access this via python or gizmo
making in any way?
-adam
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users