Setting a script’s global parameters, About global parameters, Setting global variables from the command line – Apple Shake 4 User Manual

Page 91: Chapter, Chapter 2

Advertising
background image

2

91

2

Setting a Script’s Global
Parameters

This chapter covers how to set the global parameters
within each script, tailoring your script’s properties to fit
your needs.

About Global Parameters

When you create a new script, you should customize its global parameters before
starting work on your composite. The Globals tab contains parameters that are
commonly found in the Project Properties window of other applications. These
parameters include a script’s time range, default frame width and height, aspect ratio,
proxy settings, global motion-blur controls, bit depth, field rendering settings, and
various ways to customize Shake’s controls.

The global parameters also contain a group of guiControl parameters that let you
customize how Shake works. Using the guiControl parameters, you can specify whether
thumbnails are exposed, how many threads Shake uses on multi-processing
computers, the colors used by shapes and noodles, and the sensitivity of shape
controls in the Viewer.

To access the global parameters, do one of the following:

m

Click the Globals tab.

m

Double-click an empty area in the Node View.

Setting Global Variables From the Command Line

Many of the parameters described in this chapter can be set in the command line at
the time you launch Shake, so you don’t have to reset them each time you write out a
script. For example, your timeRange may be 1-10, but you can modify that when you
render on the command line with the -t option:

shake -exec my_script -t 1-240

Advertising