2011

Table Of Contents
7 Type the following script into the editor or copy then paste it in using
Ctrl + C (for Windows and Linux) or Cmd + C (for Mac OS) and Ctrl + V
(for Windows and Linux) or Cmd + V (for Mac OS):
The two images are blended.
NOTE Composite fully supports the CTL import statement and the
CTL_MODULE_PATH environment variable used to search for CTL programs
in a set of directories on disk. As such, it can be convenient to structure CTL
code in Composite such that the main() function above is used simply as the
entry point that calls other CTL functions defined in separate files that are
imported with the import statement. You may set the CTL_MODULE_PATH
in the Tool panel of the Project Preferences panel.
Accelerating CTL Transforms
Because CTL is an interpreted language, the performance may be slow.
Composite gives you the option of accelerating a CTL program by converting
it to a 3d-lut.This will be faster but may contain errors relative to the original
CTL program.
To enable acceleration, click the 3D LUT Enable switch in the CTL tool's
Processing tab. The Pre-conditioning option allows you to adjust the
distribution of grid points in the 3d-lut. If the input image is in scene-linear
color space, setting the Pre-conditioning to Log will arrange the grid points
in a roughly logarithmic manner which will help distribute the approximation
errors in a more perceptually uniform way.
Accelerating CTL Transforms | 465