Appending functions – Apple Shake 4 User Manual

Page 1017

Advertising
background image

Appendix A

The Shake Command-Line Manual

1017

The -t option is extremely flexible. You can choose to render frame ranges, stepped
ranges, individual frames, or any combination.

To convert a sequence of images, use a line similar to the following:

shake alien/alien.#.iff -fo [email protected] -t 1-30 -v

The following table includes some clever ways to renumber image sequences:

Appending Functions

Append optional functions with the - (dash) sign to preface each function call,
followed by a space for any arguments it might take. Not all functions take arguments,
but most do.

In the following, the Blur command has an argument of 50 (the amount of blur you
want to apply):

shake truck.iff -blur 50

You can append as many functions as you want:

shake truck.iff -blur 50 -invert r -z 2

Time Range

Number of Frames

Frames Rendered

-t 1-100

100

1, 2, 3... 100

-t 1-100x2

50

1, 3, 5... 99

-t 1-100x20

5

1, 21, 41... 81

-t 1-20,30-40

31

1, 2, 3... 20, and 30, 31, 32... 40

-t 1-10x2,15,18,20-25

13

1, 3, 5... 9, 15, 18, 20, 21, 22... 25

-t 100-1

100

100, 99, 98... 2

Renumbering Clips

Description

shake bus2.40-79#.jpg -t 1-40 -fo
toto.#.iff -v

Shifts frame numbering to start at 1.

shake bus2.#.jpg -t 40-79 -fo
toto.#-39.iff -v

Also shifts frame numbering to start at 1.

shake bus2.#.jpg -t 40-79 -fo
toto.80-#.iff -v

Reverses timing starting at frame 1.

shake bus2.#.jpg -t 40-79 -fo
toto.118-#.iff -v

Reverses timing within the same frame range.

shake bus2.#.jpg -t 40-79 -fo
[email protected] -v

Unpads the clip.

shake bus2.40-79x2#.jpg -t 1-20
-fo toto.#.iff -v

Halves the timing of the clip.

shake bus2.40-79x.5#.jpg -t 1-80
-fo toto.#.iff -v

Doubles the timing of the clip.

Advertising