我一直在尝试了解顶点纹理的工作原理,但不了解参数的作用。顶点纹理通常如下所示:
vt 0.000000 0.000000
vt 0.010000 0.000000 vt 0.020000 0.000000 vt 0.030000 0.000000
我首先认为它们是纹理图像上像素的 (x, y) 值,但这对于 vt 中的小数点没有意义。
vt uvw 多边形和自由形式几何的顶点语句。
Specifies a texture vertex and its coordinates. A 1D texture
requires only u texture coordinates, a 2D texture requires both u
and v texture coordinates, and a 3D texture requires all three
coordinates.
u is the value for the horizontal direction of the texture.
v is an optional argument.
v is the value for the vertical direction of the texture. The
default is 0.
w is an optional argument.
w is a value for the depth of the texture.The default is 0.
是我能找到但无法理解的最详细的 vt 解释。