picni expression function

Returns the non-interpolated color of a pixel in a compositing node.

Replaced by: hou.CopNode

All Usage Examples

See also: pic, tex, texni, res

Usage

picni(copname, U, V, color_type)

The color_type parameter can be one of the following: D_CR, D_CG, D_CB, D_CA, D_CHUE, D_CSAT, D_CVAL, D_CLUM for the red, green, blue, alpha, hue, saturation, value, or luminance of the pixel.

The color returned will not be interpolated. That is, it will be the exact color of the pixel. For the interpolated color, use pic.

Examples

picni("/img/img1/color1", .5, .5, D_CLUM)