Displaying parameter values in the viewer, Copying and pasting script code in shake – Apple Shake 4 User Manual
Page 80

80
Chapter 1
An Overview of the Shake User Interface
Displaying Parameter Values in the Viewer
You can dynamically display the values of parameters using the Text and AddText nodes.
To differentiate a parameter name from regular text in the value field, surround it with
a pair of braces. For example:
The current frame is: {time}
displays the following in the Viewer:
The current frame is: x
where x automatically updates as each frame progresses.
In another example, if there is a node called Gamma1, and its rGamma value is 1.7,
entering the following expression into the text parameter of a Text node:
My red value = {Gamma1.rGamma}
displays the following in the Viewer:
My red value is 1.7
Note: There is a macro called Wedge in the “Cookbook” section of this manual that can
be used to print out wedging values for color timing Cineon files.
For a lesson on linking parameters, see Tutorial 4, “Working With Expressions,” in the
Shake 4 Tutorials.
Copying and Pasting Script Code in Shake
If you copy a group of nodes from the node tree, open a text editor, and paste the
result, you’ll see the actual code that Shake is using to perform the operations those
nodes represent. The following screenshots show a simple composite in the Shake
interface, and those same three nodes copied and pasted into a text editor.
At times, various script code and expressions are featured in the Shake documentation.
Many times, examples and expressions you see presented in a coded format can be
copied from the onscreen documentation and pasted into Shake, for immediate use.