HP SVA V2.1 Parallel Compositing Reference Guide

guess what result might be available first. This is difficult to do when the size of the framelets is
determined dynamically.
The sample uses an additional class in the ../support directory for calculating the current
frame rate.
Here is how to control the program:
How ToAction
Hold MB1 and drag.Rotate the model.
Press the SHIFT key and drag with MB1.Pan.
Press the CTRL key and drag with MB1.Zoom.
Press the “b” key.Enable or disable the use of bounding boxes.
Note that the frame rate without bounding boxes is
substantially lower than when using bounding boxes.
Press the ESC key.Exit.
multi-framelets Sample
The boundingbox sample enhances performance by minimizing the dimensions of the framelets
that are composited. However, if a host is asked to draw an object in the upper-left area and the
lower-right area of the frame, the bounding box again approaches the size of the full frame.
A solution to this problem is to have two bounding boxes (one for the upper-left object and one
for the lower-right object), each with its own framelet. This sample demonstrates this technique.
The sample has three modes of operation:
[n] bounding boxes
In this mode, each host draws objects, and the bounding box of each object is added as a
framelet.
1 bounding box
In this mode, each host still draws [n] objects, however, the overall bounding box for all of
them is added as a single framelet in the same way as in the boundingbox sample.
No bounding box
In this mode, each host draws [n] objects, but full frame compositing is done the same way
as in the interactive sample.
Here is how to control the program:
How ToAction
Hold MB1 and drag.Rotate the model.
Press the SHIFT key and drag with MB1.Pan.
Press the CTRL key and drag with MB1.Zoom.
Press the “b” key.Switch among bounding boxes modes.
Press the “1” to “9” keys.Vary the number of framelets per host.
Press the ESC key.Exit.
Build and Run the Intermediate Samples
Build the samples using the make utility. You should do this in a working directory to which
you've copied the sample files. To build the samples, use the following commands:
Sample Programs Available on Kit 19