- [Instructor] Nuke has an amazing variety
of different methods for adjusting the parameters of a node.
Each method is designed to optimize your productivity
under different circumstances, let's take a look.
First I'm going to double click on the transform node
in order to open up its property panel in the property bin.
Now the transform node is one of many nodes
that have on-screen controls,
here's the on-screen control jack.
You can use this to edit the parameters of the node
instead of typing into the fields or moving the sliders,
so it's all on-screen and interactive.
If I wish to move
the on-screen control jack, the pivot point,
hold down the Command or Control key, click and drag.
Notice that as I move the cursor inside the ring
the cursor changes to this plus shape,
if I move it to the ring here, the scale ring,
I get this X, and if I move it out here to the rotate bar
I get that partial arc,
those are your visual cues for what's about to happen.
So I'll put the cursor in the middle,
I get the plus, and I can translate,
move the cursor to the scale ring,
look for that X, I can scale,
and over here on the bar, I can rotate.
There are also controls
for doing skew and constrain scale.
Now if you want to set all the parameters
of a node to default,
put your cursor over here in the property panel,
right mouse popup, set nobs to default,
and that'll clear all the parameters
for that node to the factory settings.
Now let's see how to edit some of these data fields.
Of course I can always just type in a number, 100,
hit the return key or click outside
for it to actually accept the number.
Of course typing is not a very efficient way to work,
so we can also do this, I'm going to plant my cursor and click
between the tens and hundredths position,
then using the up and down arrows on the keyboard,
up, up, up, up, up, down, down, down, down, down.
I can edit the values based on where I planted the cursor,
if I cursor over to the left,
I'm moving min-hundredths up, up, down, down.
If I cursor over to the right, I'm moving in single pixels,
cursor to the right, a tenth of a pixel,
cursor to the right, a hundredth of a pixel,
cursor to the right, a thousandth,
and so on, and so on, to infinity.
By clicking between the number positions,
I can also use the thumb wheel,
so I'm going to thumb wheel up and down.
And this is in fact,
probably a more efficient way to do large numbers,
and then use the up and down arrows
for very fine positioning.
These sliders are also used to adjust what Nuke calls nobs,
we have a rotate nob, a scale nob, and a skew nob.
First of all, of course, we can move the slider,
or we can just click on the slider bar,
or we can do the virtual slider,
click in the data field, Alt + Middle mouse,
look at that cursor turn to a left and right arrow,
slide left and right.
Now here's an important command,
if you want to set one single parameter to default,
like the rotate nob,
anywhere on its slider bar, Command + Click,
and it'll reset that one parameter to default.
So I'll adjust it, and over here, Command + Click,
and you can click anywhere on the slider bar.
Now let's take a look at this number two here,
many nodes have numbers over here on the right hand column,
what this is telling you is that there are two parameters
folded up together under the one slider.
So if I set my scale factor down here,
both parameters are moving at the same time.
But if click on the two,
it unfolds and I can say I now have a scale and width here,
and a scale and height there,
which I can adjust individually.
If I click on the number again
it folds the two parameters up
and they both inherit the one value.
Now let's take a look at how to use the eyedropper,
to do that I'm going to open up this constant node
by double clicking on it,
and let's move it over here to get a better view.
This first square here is the eyedropper square,
if you turn that on, the eyedropper appears,
click it again, it goes away.
When I turn the eyedropper on
that means I'm going to click in the viewer to sample a color,
to sample a single pixel, Command + Click in the viewer
and you'll notice my constant node has taken that color.
I'll Command + Click over here,
now I'm just sampling a single pixel,
most of the time you'll want to sample a region.
So to a sample region, it's Shift + Command + Click and Drag
and now you're going to get the average
of all the pixels inside the rectangle.
To clear the sample window,
just use Command or Control + Right mouse button.
Now let's open up the grade node,
we'll double click on the node,
open it up in the property bin.
Notice that I have a gain of 1.8,
and a gamma of .8,
these two operations are being applied to all three channels
and you can tell that right up here,
the X in the red, and the green, and the blue.
If the X is turned on,
that means the operation is being applied to that channel.
If I turn it off, however, I'll turn off the green,
now only the red and blue
are getting the gain and the gamma, I'll turn that back on.
Many nodes have these channel selects
so you can turn on and off individual channels
for each operation.
Now as we mentioned before,
this is the undo and redo operations,
I'm going to click on the gain,
and then undo, redo, and I'll undo again.
Notice that this node is set
with a gain of 1.8 and a gamma of .8 when I first opened it.
Now let's say I opened this node
and I start making a bunch of adjustments in it,
and then I go, oops, I'm working on the wrong node,
and this will happen to you a lot.
So that's what this button is for,
this is the revert button, I click on that,
and the node will revert to the state it was
when I last opened it.
This feature will save you an enormous amount of grief.
Now these undo and redo arrows
only effect the data in this property panel.
The keyboard undo/redo is bigger than that, for example,
I'll lower the gain, I'll move this node,
and then I'll delete it.
Using the keyboard, Command and Control + Z for undo,
and Command and Control + Y for redo,
I will undo and that restores my constant,
undo again, it repositions it,
and undo again and it'll undo the parameter
in the grade node.
So the keyboard undo/redo effects not just the node graph,
but also the node parameters.
Now earlier we used an eyedropper
to sample a color from the screen
to fill the constant color node,
but let me show you another issue.
I'm going to select the eyedropper here for the white point,
so when I click in the viewer it's going to sample that color
and make it the white point for this node,
so Command + Click and Drag,
and oh my God the node has gone insane.
Well here's what's going on,
I'm sampling in the viewer,
the grade node is changing the picture,
and then I'm sampling the changed picture,
which then samples the changed picture,
so I get in this infinite loop.
So let me revert this node,
and show you how we get around that.
Instead of sampling the output of the grade node,
I want to sample the input image, so,
what I do, instead of holding the command or control key,
I'm going to use Alt + Command and Control + Click,
and then it will sample from the incoming node
and I don't get caught in that infinite loop,
I'll revert that node here.
The little beach balls here are the color picker,
if I click on that, it opens up the in panel color picker.
I can, of course, move the red, green, and blue sliders,
or I can swing the hue pointer around the perimeter,
or I can move the saturation in and out,
and if I want to change luminance,
that's a Shift + Command and drag horizontally.
Let's revert that,
now there's a second color picker,
if you'll do a Command or Control + Click
on the little beach ball,
you'll get the floating color picker.
And we'll close that,
it's important to learn all of the many ways
to adjust node parameters
in order to maximize your productivity.
Now that we know how to adjust the parameters,
in the next video
we'll see how to animate them with key frames.