Creating custom stipple patterns, Creating nodes – Apple Shake 4 User Manual

Page 226

Advertising
background image

226

Chapter 7

Using the Node View

In the enhancedNodeView subtree, the stipple8Bit, stipple16Bit, and stipple32Bit
parameters each have five different stipple patterns you can choose from, for
maximum clarity.

Creating Nodes

All effects in Shake are performed by creating and attaching nodes to one another in
the Node View tab.

To add a node to the Node View:

1

To add a node to an existing tree, select a node in the tree that you want to add a node
to.

Note: If no node is selected, new nodes that are added are free-floating, not connected
to anything.

2

Do one of the following:

In Mac OS X, choose a node from the Tools menu at the top of the screen.

Click a node in the Tool tabs in the lower-left quadrant of the Shake interface.

Right-click in the Node View, then choose a node from the Node shortcut menu.

For example, to add an Atop node, choose Nodes > Layer > Atop.

Creating Custom Stipple Patterns

Different stipple patterns can be set in a .h preference file. Each stipple pattern is
defined by a four-byte hex number that, when converted to binary, provides the
pattern of the line drawn for each bit depth—each 1 corresponds to a dot, and each
0 corresponds to blank space.

For example, 0xFFFFFFFF is the hex equivalent of 1111111111, which creates a solid line.
0xF0F0F0 is the hex equivalent of 1111000011110000, which creates a dashed line.

The default settings are:

gui.nodeView.stipple8Bit = 0x33333333;
gui.nodeView.stipple16Bit = 0x0FFF0FFF;
gui.nodeView.stipple32Bit = 0xFFFFFFFF;

Advertising