Apple Shake 4 User Manual

Page 274

Advertising
background image

274

Chapter 8

Using the Time View

The following images show the effect that can be achieved by increasing and
decreasing the RGrad radius.

Select all of the nodes in the tree in the Node View, and copy them (press Command-C
or Control-C).

2

Create a text file, and paste (press Command-V orControl-V) the nodes you’ve copied
into it. You’ll notice that the node tree you copied is automatically converted into Shake
script. It should look like this:

RGrad1 = RGrad(720, 486, 1, width/2, height/2, 1

min(width,height)/4,
min(width,height)/4, 0.5, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0);

in1 = FileIn(“myclip.1-39#.iff”,

“Auto”, 0, 0);

in2 = FileIn(“myotherclip.1-39#.iff”,

“Auto”, 0, 0);

KeyMix1 = KeyMix(in1, in2, RGrad1, 1, “A”, 100, 0);
// User Interface settings
SetKey(

“nodeView.KeyMix1.x”, “156.75”,
“nodeView.KeyMix1.y”, “127”,
“nodeView.RGrad1.x”, “317.4916”,
“nodeView.RGrad1.y”, “198.6512”,
“nodeView.in1.x”, “67”,
“nodeView.in1.y”, “201.125”,
“nodeView.in2.x”, “202”,
“nodeView.in2.y”, “198.3111”

);

3

Save the text file into your $HOME/nreal/include/startup directory. Don’t close the file
yet, some changes need to be made first.

4

You can now prune a lot of the data, keep the bold sections of the above code, and
format it as a macro. You also want to add the standard parameters of blur, mixPercent,
and reverse. Copy these parameters from the nreal.h file’s HWipe node (at the end of
the file).

Advertising