shader: "gaussian curvature"

"gaussian curvature"

ShaderColour

"gaussian curvature"( "min curvature" LtFloat -0.001
"max curvature" LtFloat 0.01
)
Synopsis False colour shader which shows the `gaussian curvature' of a surface.
Locationlishpro
Description The gaussian curvature of the surface is represented by a false colour `rainbow'. This is done by converting the curvature into an HLS colour value. In order to provide different colours for the minimal and maximal values the range of curvature changes is mapped onto a range hue of only [0, 300], rather than the full [0, 360]. The following table illustrates the colour changes:

hue value

colour name

0

Red
60 Yellow
120 Green
180 Cyan
240 Blue
300 Magenta

The parameter "min curvature" specifies the degree of curvature to be mapped onto hue 0, "max curvature" specifies the degree to be mapped onto hue 300.

The other colours are assigned using a linear interpolation.

Previous page alphabetically (foregroundscaledimage)
Next page alphabetically (genericfilter)
Index


Copyright © 1990-2004, 2005 LightWork Design Limited. All rights reserved