Functions | |
void | Scale_Texture (double u, double v, double w) |
void | QScale_Texture (const char *segment, double u, double v, double w) |
void Scale_Texture | ( | double | u, | |
double | v, | |||
double | w | |||
) |
Gives the appearance of enlarging or reducing the size of a surface's texture map by scaling the referenced (u, v, w) vertex parameters.
u | - Factor to stretch the texture map image along the U -axis. x < 1 "smaller". | |
v | - Stretch, along the V-axis. | |
w | - Likewise, along W. |
Scale_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 scaled, the vertex parameters (which don't change their geometric locations) are transformed by the opposite scale (the matrix adjoint).
The transform that is supplied to Append_Texture_Matrix() is defined as
void QScale_Texture | ( | const char * | segment, | |
double | u, | |||
double | v, | |||
double | w | |||
) |
Similar to Scale_Texture(), but operates on a given segment rather than the currently open one.
segment | - Name of the segment(s) to be changed. | |
u | - Factor to stretch the texture map image along the U -axis. x < 1 "smaller". | |
v | - Stretch, along the V-axis. | |
w | - Likewise, along W. |