Contents - Index - Previous - Next


General Parameters

 

The list of general parameters

 

We call the following parameters "general", or "standard", or "common". They are common for all types of textures: for textures that you create from files, as well as for parametric textures that are generated according to some digital algorithms. They determine how a texture (after it is created) is applied to the object surface.

 

NPixX -- the texture width is a power of 2 in range [4,1024].

 

NPixY -- the texture height is a power of 2 in range [4,1024].

 

Linear -- linearize the transition between the texture pixels (texels): 0 -- no, 1 -- yes.

 

Repeat -- repeat the texture picture: 0 -- no, 1 -- along X, 2 -- along Y, 3 -- both along X and Y.

 

EMode -- the environment mode: 1 -- MODULATE (texture acts as a filter), 2 -- DECAL (texture replaces the face color).

 

Alpha -- the opacity of the texture (the replacement coefficient in DECAL mode) in range [0,1].

 

PrType -- the projection type: 0 -- generic, 1/2/3 -- along X/Y/Z-axis, 4 -- cube, 5 -- cylinder, 6 -- sphere, 7 -- face.

 

PrCS -- the projection CS: 0 -- scene, 1 -- root parent, 2 -- (immediate) parent, 3 -- object. Not for 'generic'/'face' projection.

 

Scale -- the scale unit is radius of: 0 -- scene, 1 -- root parent, 2 -- (immediate) parent, 3 -- object. Not for 'generic' projection.

 

MagnX -- magnify the texture image width in range [0.01, 10].

 

MagnY -- magnify the texture image height in range [0.01, 10].

 

Rot_A -- the angle of the texture rotation in degrees in range [-180,+180].

 

MoveX -- move the texture in X-direction in range [-1,+1] of the scale unit.

 

MoveY -- move the texture in Y-direction in range [-1,+1] of the scale unit.

 

Note that in contrast, the specific parameters of a particular type of parametric textures determine how the texture is generated -- what a picture you get, but not how the picture will be mapped and displayed on the surface.