User Guide

Table Of Contents
Animation and Video 371
Applying Scripts to Movies
The Script feature in Corel Painter lets you repeat the same actions for each frame in a
movie. For example, you might want to apply an effect like Glass Distortion to a video
clip. You can record a script that applies the Glass Distortion effect to a single image
and then, with a single command, apply that script to the entire movie. A script can
contain almost any action — a single command, a series of commands, or the many
steps in creating an original drawing. You’ll devise scripts based on the needs of your
project.
You cannot undo changes after applying a script to a movie. Before applying a script to
a movie, you should become familiar with scripting and experiment with a separate
sample image. You might want to work with a copy of the movie, or you might apply
the script to a short sample movie to test it. For complete information on working with
scripts, refer to “Scripting” in the Help.
Using scripts to set grain position
You might use a script to apply a surface texture (paper grain) to an entire movie. In
this case, you have several options for the position of the grain in each frame. You can
put the grain in exactly the same position, move the grain randomly, or move it
linearly by a set number of pixels. For instructions on applying surface texture and dye
concentration, refer to “Applying Effects” in the Help.
Using scripts to apply brush strokes
Corel Painter lets you apply a recorded brush stroke to a movie. Corel Painter divides
the stroke into as many segments as there are frames and places the segments in
successive frames. This feature is most useful when used with the Image Hose. When
you apply a brush stroke to a movie using the Image Hose brush, Corel Painter
deposits one or more Nozzle images on each frame. If the Nozzle file is an animated
sequence — for example, a person walking — Corel Painter can drop successive
images on successive frames. Play the movie back, and the person walks across the
document window. For this to work, you must set up the Nozzle file appropriately and
have the right Image Hose brush size. For more information, refer to “Getting Started
with the Image Hose” on page 193.
To create a script for a movie
1 Choose Window menu > Scripts.
2 On the Scripts palette, click the palette menu arrow, and choose Record Script.