- [Instructor] Key framing is used to animate
the node parameters over time.
You set the values you want on key frames,
the Nuke will interpolate smoothly between them.
Let's start by double clicking on the transform node
to open up the transform property panel.
By default, all the parameters are set for constant.
For example, if I set scale here, to point five,
and if I move the play head, the scale value is held
constant over the whole clip.
I'm going to set the play head back to frame one.
Now if I want to set key frames,
I can go up to the scale parameter for example,
or right mouse pop up set key,
and I get the bright blue data field.
If I want to set it for both of these parameters,
I can go to the animation menu and set key.
Notice that I got these bright blue fields.
If I move the play head off of that key frame
they turn a light blue, which means
this parameter is animated,
but you're not on a key frame.
So back to the key frame, bright blue,
and again the gray is constant.
So you got three colors to remember.
So let's put it in a couple of key frames.
Remember the play head was on frame one.
So I'll put this guy up here on frame one.
I'll jump to the last frame, bring him down here,
and I'll put the scale value back to one.
Now if I scrub the play head,
I have interpolated animation
for both the translation and the scale values.
So let's see how to insert key frames.
I'll move the play head to let's say frame 25.
Now notice that my parameters are a light blue,
but if I move the onscreen control jack,
they all turn bright blue,
meaning I've just put in a key frame for all three of those.
I can move the play head, frame 50
for example, and now I'm just going to change
the scale value and he turns bright blue.
The others are light blue.
So I've just introduced a key frame on the scale value only.
So I'll move the play head frame 75,
do another change to my onscreen control jack
and introduce key frames on all three parameters.
Notice that I have these blue tick marks on the timeline
and now the jump backwards to the previous
and jump forward to the next key frame button can be used.
If I want to edit my key frames,
the first thing I do is make certain that
I'm on the key frame in question.
I can then either come up to the data
and edit it myself or I can use the onscreen control jack.
If I wish to delete a key frame, again,
make sure you're on the key frame in question
and let's say that I wish to delete the scale values.
Let me fold them back up and I'll say,
delete key and now the key frame for the scale is gone,
but the translate x and y is still there.
Now I have these onscreen controls
from the transform property panel,
but if I close it up or hide it, the onscreen controls
go away and the blue tick marks
on the timeline go away as well.
Let's look at another case.
I'm going to open up my color correct node.
So let's say at the beginning of this clip,
I'd like to have a little depth haze.
So I'm going to simulate that with a drop in the contrast here.
There we go, and of course that's a constant,
so the contrast is unaffected over the length of the shot,
but I'll do a right mouse pop up set key
and I'll jump to the last frame
and set that to a one.
And now I have animated a depth haze
over the length of the shot.
We've seen how to edit key frame data,
but if you want to change the timing of
the key frames, you'll need to use the dope sheet,
the subject of our next video.