Command-line macros, Framefill macro, Unpin macro – Apple Shake 4 User Manual
Page 985
Chapter 32
The Cookbook
985
Command-Line Macros
The following macros are designed to make some quick fixes. They are available for use
from the command line.
FrameFill Macro
This is used in an emergency to fill in a missing frame when you have to go to film in,
say, two minutes. It takes the frames next to the missing frame and averages them
together.
For example:
shake -framefill bus2.#.jpg -t 41, 45
UnPin Macro
This is used to extract a texture map from an image. List out the four corner points
(lower left first, counterclockwise). You can also set the antialiasing. This is a macro of
the CornerPin node with inverseTransform activated. You usually use two Terminals to
do this, one to test your coordinates, the second to test the command. You can get the
coordinates by scrubbing the image—the coordinates appear in the title bar.
For example:
shake bus2.0040.jpg -unpin 91 170 417 154 418 2 42 94 274