shader: "cylindrical"

"cylindrical"

ShaderTexture Space

"cylindrical"( "scale around axis" LtFloat 1.0
"scale along axis" LtFloat 1.0
"centre point" LtPoint (0.0, 0.0, 0.0)
"axis direction" LtVector (0.0, 0.0, 1.0)
"origin" LtPoint (1.0, 0.0, 0.0)
"radius" LtFloat 0.0
)
Synopsis A cylindrical projection.
Locationlishslte
Description A texture space in which all points in space are mapped onto a cylinder. The cylinder is specified in terms of a point on its axis in argument "centre point", and a direction vector along the axis in argument "axis direction". The origin of wrapped textures is specified by means of argument "origin".

Scaling factors are provided in the direction around the axis in argument "scale around axis", and in the direction along the axis in argument "scale along axis". The "scale around axis" is applied such that decreasing its value will cause a "wrapped" shader to repeat more over a corresponding cylindrical surface. If the "radius" is zero (the default) then the number of times a "wrapped" shader repeats over a surface is the same no matter how far the point to be shaded is from the axis of the texture- space. If "radius" is non-zero the number of repeats will be exactly that implied by the scale arguments only for points at a distance of "radius" and for points nearer and farther will cause any pattern to repeat either less or more. The "scale along axis" is applied such that increasing it results in fewer repeats over the surface.

Previous page alphabetically (cubes)
Next page alphabetically (decal)
Index


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