procedure colsrf

Initialises a colour table for a 3-D surface rendering of a 2-D array of "data".

Syntax
colsrf RGB,NCOL,ALFA,IC1,IC2,NCBAND,DIFUSE,SHINE,POLISH

Arguments
ARGUMENT    TYPE I/O DIMENSION DESCRIPTION
RGB:   R*4 I 3 X NCOL Red, green and blue intenisty for
   the colour table.
NCOL:   I*4 I - No. of colours in the input table.
ALFA:   R*4 I - Contrast-factor (linear=1).
IC1,IC2:   I*4 I - Lowest and highest colour-index to
   be used for the rendering.
NCBAND:   I*4 I - Number of colour-bands for the
   height, so that the number of shades
   per band = (IC2-IC1+1)/NCBAND.
DIFUSE:   R*4 I - Diffusiveness of object (0-1).
SHINE:   R*4 I - Whiteness of bright spot (0-1).
POLISH:   R*4 I - Controls size of bright spot.