Rotate

Reference
Index

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

How Does It Work?

    The ROTATE component rotates the Background texture around the X, Y, and Z axes. The amount of rotation depends on the Percent_Moved parameter. A Percent_Moved parameter value of 0% indicates no rotation at all and a value of 100% indicates the full amount of rotation specified by the X_Amount, Y_Amount, and Z_Amount parameters. The scale of the rotation amount values differs from the normal texture transform scale in that a value of "1.0", instead of "360", is equal to one complete rotation.  The rotation amounts may be linked to bump textures which creates uneven rotation and causes the Background texture to distort as the Percent_Moved value increases.

    The rotation defaults to being around the center (origin) of the Background texture. The X_Center, Y_Center, and Z_Center parameters allow you to shift the point of rotation to be off center. The scale of the center offset values also differs from the normal texture transform controls.  A center value of "1.0", instead of "100", is equal to moving the texture half of its visible width.  As with the rotation amounts, the center values may be linked to bump textures which gives multiple centers of rotation for the Background and can have some interesting results.

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 rotation before linking the parameter to a Time component.

    You'll often need to rotate a portion of a DarkTree while keeping some of its children still.  This can be accomplished by inserting a second ROTATE 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 ROTATE component. This two rotations will cancel each other out.

Common Parameters

 

 

X / Y / Z Amount

The maximum amount to rotate.  1.0 = 360 degrees.

 

 

X / Y / Z Center

An offset for the origin of the rotation.

 

Percent Moved

The percentage moved along Amount.

Color Component Parameters

 

 

Background

The texture to rotate.

Percent Component Parameters

 

 

Background

The texture to rotate.

Bump Component Parameters

 

 

Background

The texture to rotate.

Darkling Simulations
Copyright 1996-2003