Shader: "surface evaluation"

"surface evaluation"

ClassColour
Synopsis A traditional method of assessing the curvature of complex surfaces such as car bodies has been to place them within a brightly lit cylinder (or half-cylinder) which has longitudinal stripes (bands) or strip-lights. This shader provides the ability to perform this test in software easily. The colour shader is simply attached to the geometry in question (using sensible values for the centre, axis and radius) before rendering, and reflections of the imaginary cylinder will be visible on the surface.
Arguments

"base colour" Description: The colour between the bands.
Default:(1.0, 1.0, 1.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"band colour" Description: The colour of the bands.
Default:(1.0, 0.5, 0.5)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"centre" Description: The centre of the imaginary cylinder.
Default:(0.0, 0.0, 0.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"axis" Description: Specifies the axis that the imaginary cylinder lies along, x, y or z.
Default:LI_X
Hint:-
"radius" Description: The radius of the imaginary cylinder.
Default:100.0
Hint:-
"bands" Description: The number of bands.
Default:50
Hint:[ 50, 500 ]
"coverage" Description: Determines the ratio of area covered by the bands to the area not covered---a value of zero means only the base colour is visible, a value of one means only the band colour is visible.
Default:0.2
Hint:[ 0.1, 0.9 ]
"fuzz" Description: The sharpness of the bands. A value of zero gives very sharply defined edges to the bands, a value of one gives very fuzzy edges.
Default:0.2
Hint:[ 0.1, 0.5 ]
"min angle" Description: Specifies the minimal value of the normal component along the cylinder axis in order for banding to be applied. In other words this controls how long the virtual cylinder is---smaller values result in a longer cylinder.
Default:0.1
Hint:[ 0, 0.5 ]
"scale" Description: The overall scale of the pattern produced, allowing you to accurately account for changes to the scale at which you model your geometry.
Default:1.0
Hint:[ 0.01, 1000 ]

Previous page alphabetically (sun)
Next page alphabetically (tone_map_controller)
Index


Copyright © 2010 Lightwork Design Limited. All rights reserved