Shader: "oak"

"oak"

ClassColour
Synopsis A version of the general "wood" advanced wood colour shader with pre-defined values appropriate to a oak-like appearance. The best way to get a particular wood effect is to start with the pre-defined wood shader which is closest to the effect you want, and then gradually alter arguments until you are happy with the result.
Arguments

"scale" Type: LtFloat
Default:0.03
Range:[ 1e-006, inf ]
Hint:[ 0.01, 1000 ]
"trunk centre" Type: LtPoint
Default:(0.0, 0.0, 0.0)
Range: [ -inf, inf ], [ -inf, inf ], [ -inf, inf ]
Hint:-
"trunk direction" Type: LtVector
Default:(1.0, 0.0, 0.0)
Range: [ -inf, inf ], [ -inf, inf ], [ -inf, inf ]
Hint: [ -1, 1 ], [ -1, 1 ], [ -1, 1 ]
"wood colour" Type: LtColour
Default:(0.57, 0.29, 0.12)
Range: [ 0, inf ], [ 0, inf ], [ 0, inf ]
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"ring colour" Type: LtColour
Default:(0.30, 0.18, 0.06)
Range: [ 0, inf ], [ 0, inf ], [ 0, inf ]
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"ring width" Type: LtFloat
Default:0.4
Range:[ 0, 1 ]
Hint:[ 0.1, 0.6 ]
"ring fuzz in" Type: LtFloat
Default:0.15
Range:[ 0, 1 ]
Hint:[ 0.1, 1 ]
"ring fuzz out" Type: LtFloat
Default:0.4
Range:[ 0, 1 ]
Hint:[ 0.1, 1 ]
"gnarl" Type: LtFloat
Default:0.3
Range:[ 0, inf ]
Hint:[ 0, 2 ]
"grain" Type: LtFloat
Default:0.3
Range:[ 0, inf ]
Hint:[ 0, 2 ]
"ring fuzz grain" Type: LtFloat
Default:0.5
Range:[ 0, inf ]
Hint:[ 0, 0.5 ]
"grain colour" Type: LtColour
Default:(0.00, 0.00, 0.00)
Range: [ 0, inf ], [ 0, inf ], [ 0, inf ]
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"grain scale" Type: LtFloat
Default:0.2
Range:[ 1e-006, inf ]
Hint:[ 0.1, 2 ]
Locationlishclas
Description This shader is simply a copy of the general-purpose "wood" shader where all the argument values have been pre-chosen to produce the appearance of oak.

The arguments may of course be fine-tuned to suit particular jobs---for a full description of all the arguments please refer to the description of the "wood" shader itself.

The following parameters however merit description here as you may have to choose sensible values even if you are happy with the oak-like appearance:

  • The orientation of the tree from which the wood is taken is specified by a point which lies on the axis in argument "trunk centre" and a direction vector pointing along the axis of the tree in argument "trunk direction".

  • An overall scaling factor is supplied in argument "scale", which determines the radius difference of two adjacent rings. 0.01 means that there are 100 rings per unit length along the trunk radius. Choose a value appropriate to the units in which your geometry is modelled. The default value is appropriate for modelling in metres.

Previous page alphabetically (nonetransparency)
Next page alphabetically (oakdisplacement)
Index


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