Prev | Next


IceMan Reference Guide


Interpolation and Normalization

Lerp(b, t)
b: Second of two images to interpolate between (IceImage)
t: Parameter image (IceImage)

Interpolate between the operand image and another image, using a third image as the interpolating parameter. Interpolation is performed pixel-wise.

LerpMax(b, t)
b: Second of two images to interpolate between (IceImage)
t: Parameter image (IceImage)

The result is the maximum of the operand image a or the linear interpolation of a and b. If t is zero, the result will be t. If t is one, the result will be the larger of a and b. For values of t between 0 and 1 the return value will be a the maximum of a or a linear interpolation of a and b.

Normalize(range)
range: Image containing minimum and maximum values (IceImage)

Normalize to values between 0 and 1. The range image is typically returned by a call to Range().

Clamp(min, max)
min: Image containing lower bound (IceImage)
max: Image containing upper bound (IceImage)

Clamp values in an image to lie in the interval (min, max).

 


Prev | Next


 

 

Pixar Animation Studios
Copyright© Pixar. All rights reserved.
Pixar® and RenderMan® are registered trademarks of Pixar.
All other trademarks are the properties of their respective holders.