Translate

Reference
Index

    Dynamically translates a Background texture in texture space for use in animated textures.

How Does It Work?

    The TRANSLATE component moves the Background texture in the X, Y, and Z directions.  The distance moved depends on the Percent_Moved parameter.

    A Percent_Moved parameter value of 0% indicates no translation at all and a value of 100% indicates the full amount of translation specified by the X_Amount, Y_Amount, and Z_Amount parameters. The Percent_Moved parameter can be linked to Time for and animation. An Amount (X/Y/Z) of "1.0" will move the texture half its visible size that direction. The translate amounts may be linked to bump textures which creates uneven translations and causes the Background texture to distort as the Percent_Moved value increases.

Hints!

    Remember, for an animated texture, the Percent_Moved parameter needs to be linked to a percent component that varies over time.

    It is often useful to manually vary the Percent_Moved parameter in the component editor to check the amount and direction of motion before linking the parameter to an animated texture.

    Uneven translation in the negative Y direction is a good way of getting a texture that appears to be melting.

    You'll often need to translate a portion of a DarkTree while keeping some of its children still. This can be accomplished by inserting a second TRANSLATE component into the tree and setting its X/Y/Z Amount parameters to have a sign that is the opposite of the Amount parameters in the first TRANSLATE component. This two translations will cancel each other out.

Common Parameters

 

 

X / Y / Z Amount

The maximum amount to scale.

 

Percent Moved

The percentage moved along Amount.

Color Component Parameters

 

 

Background

The texture to translate.

Percent Component Parameters

 

 

Background

The texture to translate.

Bump Component Parameters

 

 

Background

The texture to translate.

Darkling Simulations
Copyright 1996-2003