Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

Translate_Texture

Functions

void Translate_Texture (double u, double v, double w)
 Moves texture images about on the surface of texture mapped shells and meshes by transforming their (u, v, w) vertex parameters. More...
 

Detailed Description

Function Documentation

void Translate_Texture ( double  u,
double  v,
double  w 
)

Moves texture images about on the surface of texture mapped shells and meshes by transforming their (u, v, w) vertex parameters.

Parameters
u- Distance to move along the U -axis. Positive values are towards positive U, of course.
v- Distance to move along the V -axis.
w- Likewise, along the W -axis.

DETAILS

Translate_Texture() modifies a segment's "texture matrix" attribute (see Set_Texture_Matrix() ) that is applied to the (u, v, w) vertex parameters of shells and meshes. In order to give the appearance that a texture is being translated, the vertex parameters (which don't change their geometric locations) are transformed by the opposite translation (the matrix adjoint).

The mathematical transform passed on to Append_Texture_Matrix() is

NOTES

RESTRICTIONS

See also
Scale_Texture, Rotate_Texture, Append_Texture_Matrix, Set_Texture_Matrix.