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... | |
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.
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. |
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