Original Post
I''m having trouble trying to figure out what the texture coords for these verts are suppose to be. Can anyone help?
for(iRows = -Height *.5f; iRows < Height * .5f; iRows +=Step)
{
thePlane[count].Pos.x = -Width * .5f;
thePlane[count].Pos.y = 0.0f;
thePlane[count].Pos.z = iRows;
thePlane[count].UVCoord.x = 0;
thePlane[count].UVCoord.y = 0;
count++;
for(iCols = -Width *.5f; iCols <= Width * .5f; iCols += Step)
{
thePlane[count].Pos.x = iCols;
thePlane[count].Pos.y = 0.0f;
thePlane[count].Pos.z = iRows;
thePlane[count].UVCoord.x = iCols;
thePlane[count].UVCoord.y = iRows;
count++;
thePlane[count].Pos.x = iCols;
thePlane[count].Pos.y = 0.0f;
thePlane[count].Pos.z = iRows + Step;
thePlane[count].UVCoord.x = iCols;
thePlane[count].UVCoord.y = iRows + Step;
count++;
}
thePlane[count] = thePlane[count - 1];
count++;
