All images read by the PXL script are read at the current time t. There is no
way to read images at a time different from t within a PXL script. To do so, a
user must use external Composite Retimer or Time Offset tools before inputting
images to the PXL tool.
CTL Tool
Use the CTL tool to write a color transformation language (CTL) expression
to control the resulting color of a pixel.
NOTE
The CTL tool can only perform point operations—see
Image Processing
Algorithm Categories
on page 457.
The CTL tool uses the same UI as the PXL tool—see
PXL Tool UI
on page 441.
The CTL tool supports every feature of CTL except print statements. For a
more complete list, refer to the CTL manual:
http://ampasctl.sourceforge.net/CtlManual.pdf. The main function of the script
will be called for each pixel of the output image.
Before applying a script, several conventions must be respected:
■
The entry point of the script is the “main” function. This function must
be present in every script.
■
The main function return value is ignored.
■
The main function must have four parameters for each input image. They
correspond to the RGBA channels of the pixel of the input image. They
must be of type float, and be qualified as “input varying”. The name of
these parameters must be the component letter in lower case (i.e. “r”, “g”,
“b”, and “a”), concatenated with the name of the input image. Because
the primary input of the CTL tool is called “In”, the corresponding
arguments to the main() function for that input image will be:
■
input varying float rIn
■
input varying float gIn
■
input varying float bIn
■
input varying float aIn
CTL Tool | 463
Содержание 495B1-05A111-1301 - 3ds Max Design 2010
Страница 1: ...Composite User Guide ...
Страница 16: ...4 ...
Страница 18: ...6 ...
Страница 88: ...76 ...
Страница 92: ...6 A new composition has been created 80 Chapter 4 Start Compositing Now ...
Страница 101: ...8 The Render dialog appears Click the Start button to start the rendering process To Render the Composition 89 ...
Страница 102: ...90 ...
Страница 122: ...110 ...
Страница 126: ...114 ...
Страница 186: ...174 Chapter 9 Getting Familiar with Your Workspace ...
Страница 195: ...UdaTextField XML Resource Files 183 ...
Страница 196: ...UdaValueEditor UdaMenu 184 Chapter 9 Getting Familiar with Your Workspace ...
Страница 197: ...UdaPushedToggle XML Resource Files 185 ...
Страница 198: ...UDA Declaration 186 Chapter 9 Getting Familiar with Your Workspace ...
Страница 200: ...188 ...
Страница 250: ...238 ...
Страница 309: ...The stereo rig is ready to use You can adjust left and right eye convergence Setting up a Stereo Camera Rig 297 ...
Страница 310: ...298 ...
Страница 348: ...336 ...
Страница 399: ...About Blurs 387 ...
Страница 411: ...Output Controls The Output UI allows you to control the following parameters About Blurs 399 ...
Страница 450: ...438 ...
Страница 478: ...466 ...
Страница 520: ...508 ...
Страница 548: ...536 ...
Страница 578: ...566 ...
Страница 596: ...The last step is to add the sun s reflection to the water 584 Chapter 24 Raster Paint ...
Страница 606: ...594 ...
Страница 670: ...658 ...
Страница 710: ... a Tool time cursor b Global time frame markers 698 Chapter 28 Time Tools ...
Страница 722: ...710 ...
Страница 729: ...Backward vectors Forward and backward vectors The Show Vectors tool has the following parameters Show Vectors 717 ...
Страница 805: ...8 Add any correction using the Translation Rotation Scale parameters Simultaneous Stabilizing and Tracking 793 ...
Страница 806: ...794 ...
Страница 828: ...816 ...
Страница 870: ...858 ...
Страница 888: ...876 ...
Страница 898: ...886 ...