TextureSpec

NAME

TextureSpec - set texture of spectra
TexturePeak - set texture of peaks
TexturePrim - set texture of primitives
SYNOPSIS

TextureSpec string expr expr expr
TexturePeak string expr expr expr
TexturePrim string expr expr expr
DESCRIPTION

Set the texture mapping parameters of all selected spectra, peaks or primitives. The first parameter gives the name of a texture, the second paramter its scaling factor.

The third parameter determines the amount of bumpiness of the surface. 0.0 results in a smooth surface, 1.0 in a very bumpy surface. The fourth paramter is a scaling factor for the bump pattern, a larger scaling factor will result in wider bumps.

Texture mapping is not supported on screen, these parameters are used for preparing files for ray-tracing (PlotPov).

The texture name must appear in the texture definition file of POV-Ray (textures.inc). If a texture is selected, the attributes of this texture will override the colors and material properties selected otherwise. If the name has the extension ".gif", it is assumed to be the name of a GIF file which is used as image map.

Giving a value of 'as is' for the texture name or less than 0.0 for any numerical argument will not change it, this is useful for changing only part of the parameters.

EXAMPLES

TextureSpec 'Blood_Marble' 0.5 0.0 1.0
TexturePeak '' 1.0 0.5 1.0
SEE ALSO

Select*, Color*, Material*, PlotPov

DATE

960913


Reto Koradi, kor@mol.biol.ethz.ch