Apple Pro Training Series. Shake 4. Professional Compositing and Visual Effects
A proxy is a lower-resolution image that you substitute for a high-resolution image so you can work faster. Think of proxies as the Mini Me of visual effects. Because the images are smaller, you drastically decrease your disk access time, your memory consumption, and your processing time. Naturally, your quality will suffer as well, which is why proxies are generally for testing purposes. Once you are done assembling your script with proxies, you return your script to full resolution to render your final output. In this example, you have the full-resolution image and a 1/3 proxy. In the following images, you can see that the proxy takes up one-ninth of the space, meaning potentially only 11 percent of the processing time, memory usage, and disk activity. Shake will automatically adjust pixel-based values to compensate for the lower resolution, so a Pan of 100 pixels is calculated to be only 33.333 pixels when using a 1/3 proxy. The actual Pan parameters in the interactive text field will not be modified. There are three basic approaches for using proxies. These are controlled in the Globals tab of the Parameters workspace.
Creating On-the-Fly Proxies
On-the-fly proxies are generated only when needed and are discarded when your disk cache is full. The disk cache is a temporary storage area on your disk, which Shake uses to improve system performance. The Globals useProxy parameter reads your input images and scales them down, placing them first into memory and then into the disk cache as memory runs out. It then recomputes the script at the lower values and leaves it at that resolution until you return it to full resolution. Note The useProxy setting will affect your flipbooks and renders.
You can change to lower proxy sizes using presets.
Proxy Scale
Notice how the P1, P2, and P3 buttons automatically change the proxyScale parameters. Shake automatically computes proxy images based on a couple of Globals parameters. The primary parameter is the proxyScale variable. Not only will the proxy scale automatically downsize all of your input images, but it will also (behind the scenes) multiply all pixel-specific parameters such as pan or blur values by the same amount. The result is that you will end up with an image that is visually the same, other than the quality difference, at both low and high resolution. When you activate a proxy, a proxy button illuminates at the top right of the title bar. You can use this button to quickly turn off proxies or return to any of the useProxy presets. When generating proxy images on the fly, the following two things occur:
Tip Always remember to reset useProxy to the Base setting before you render your final elements.
Proxy Ratio
Another proxy-related variable needs discussingthe proxyRatio parameter. It is needed only if you are working with images that are squeezed, such as anamorphic film images. This parameter, proxyRatio, allows proxies to be of a different aspect ratio from that of the original source images. It specifies the width-to-height ratio (relative to the original image) that you want for your proxies. Thus, if you have an anamorphic film frame that is squeezed by two times along the x -axis, you may want to set the proxyRatio to 0.5 to produce a proxy image that is unsqueezed or flattened. Note By setting the proxyRatio, you actually change the resolution of your image; it is not a visualization change. If you don't want to change the resolution of your image, you can change the aspect ratio of the Viewer instead of the image with the Globals viewerAspectRatio parameter. This control is located in the Globals format group.
Customize P1, P2, and P3 Settings
You can customize the P1, P2, and P3 useProxy parameters for your script or session by opening the desired proxyDefaultFile in the Globals tab and modifying the proxyScale and proxyRatio parameters. For example, I prefer to work at 1/3 scale with film-resolution files.
Generating Proxies
Up to this point, Shake has been automatically creating low-resolution equivalents of your high-resolution source images on the fly. But you might want to use another method when you are working on a project for a long time and will be doing many flipbook tests. In this case, why not pre-generate your proxies when you start the project with an initial rendering process? The proxy files will then be pulled from these precalculated images rather than being generated on the fly. You can either pre-generate the files inside the interface, or load them up after they have been created by an external process. This is the workflow for generating proxies inside the Shake interface:
OK, let's generate some proxies. The proxy settings you entered in the previous steps are fine.
|
Категории