MIX |
THE BOX'S MAIN HELP: A linear interpolation between two values, A and B, based on X. The data type returned will be the same as the two input values. The result is calculated by (1-X)*A + X*B; For best results, the mixing value, X should lie in the range [0,1]. refer to page 331 in the RenderMan Companion. A (input): First value to be mixed. This value is returned if X <= 0. This may be a float, point, normal, vector or color, but must be the same type as B. refer to page 331 in the RenderMan Companion. B (input): Second value to be mixed. This value is returned if X >= 1. This may be a float, point, normal, vector or color, but must be the same type as A. refer to page 331 in the RenderMan Companion. X (input): Must be a float. Mixing value, for best results X should lie in the range [0,1]. refer to page 331 in the RenderMan Companion. OUT (output): A linear interpolation between two values, A and B, based on X. The data type returned will be the same as the two input values. The result is calculated by (1-X)*A + X*B; For best results, the mixing value, X should lie in the range [0,1]. refer to page 331 in the RenderMan Companion. |
© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.