Shader: "simple wood"

"simple wood"

ClassDisplacement
Synopsis A simple wood pattern with concentric rings.
Arguments

"displacement amplitude" Type: LtFloat
Default:0.1
Range:[ 0.0, inf ]
Hint:-
"scale" Type: LtFloat
Default:1.0
Range:[ 1e-006, inf ]
Hint:[ 0.01, 1000 ]
"ring displacement" Type: LtFloat
Default:0.5
Range:[ -1.0, 1.0 ]
Hint:-
"point on axis" Type: LtPoint
Default:( 0.0, 0.0, 0.0 )
Range: [ -inf, inf ], [ -inf, inf ], [ -inf, inf ]
Hint:-
"axis direction" Type: LtVector
Default:( 1.0, 0.0, 0.0 )
Range: [ -inf, inf ], [ -inf, inf ], [ -inf, inf ]
Hint: [ 0.0, 1.0 ], [ 0.0, 1.0 ], [ 0.0, 1.0 ]
"noise" Type: LtFloat
Default:0.5
Range:[ 0.0, 1.0 ]
Hint:-
Locationlishlite
Description

A solid texture corresponding to a simple wood pattern. The wood is based around the idea of having a tree trunk centred on a given axis with concentric rings of wood with two different heights.

The height of one ring in relation to the other is given by "ring displacement". Which ring is higher depends on whether this value is positive or negative.

The axis of the tree from which the wood is taken is specified by a point which lies on the axis in argument "point on axis" and a direction vector pointing along the axis of the tree in argument "axis direction". A factor in the range 0.0 to 1.0 which indicates how 'noisy' the rings of the tree appear may be specified in argument "noise". An overall scaling factor is supplied in argument "scale"; increasing this value will make the rings of wood appear larger. Similarly, "displacement amplitude" controls the overall scale of displacement.

Previous page alphabetically (simplewood)
Next page alphabetically (sky)
Index


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