INTENSITY |
THE BOX'S MAIN HELP: This is function takes a color C and returns the intensity. Intensity is calculated by averaging the components of the color. The return value is a float = (RED + GREEN + BLUE)/3. C (input): This must be a color. The default is WHITE. OUT (output): This function returns a float, the intensity of color C. OUT = ( red value + green value + blue value ) / 3; |
© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.