HC_Translate_Texture
-
void
HC_Translate_Texture(double u, double v, double w) - void HC_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.
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
HC_Scale_Texture, HC_Rotate_Texture, HC_Append_Texture_Matrix, HC_Set_Texture_Matrix.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.