Script 8, Installing and using cookbook macros – Apple Shake 4 User Manual

Page 984

Advertising
background image

984

Chapter 32

The Cookbook

Script 8

This script is driven off of the position of the RGrad. The center of the RBlur is set to the
center of the RGrad, and the right parameter of SetDOD1 is set to RGrad1.xCenter+10,
which unmasks the text as the RGrad moves to the right.

Installing and Using Cookbook Macros

All Shake macros can be found installed on your hard drive in the Shake directory,
inside the doc/html/cook/macros directory. These macros can also be found in the
Documention/Cookbook Extras/macros folder of the installation disc. Each macro
consists of a .h file containing the actual macro, an optional user interface (UI) file, and
an even more optional icon (.nri) file. To be installed, each of these files must be copied
to the appropriate location on your hard drive for Shake to see them.

Note: Not every macro will have .h, UI, and .nri files. Some macros only have a .h file,
while most usually have both .h and UI files.

To install a macro:

1

If there isn’t already a $HOME/nreal/include/startup directory on your hard drive, create
this directory structure.

If necessary, create additional $HOME/nreal/include/startup/ui and $HOME/nreal/icon
directories as well.

2

Place the .h file of the macro you want to install into the $HOME/nreal/include/startup
directory.

3

Place the files containing a UI into the $HOME/nreal/include/startup/ui directory.

4

If the macro has one or more icon files, (which end with .nri) place them in the $HOME/
nreal/icon
directory.

Advertising