Hi, below is my code and texture not showing. please help. thanks
yConst = -300;
for (x=-300; x < 300; x+=5)
for (z=600; z > -600; z-=5)
{
glTexCoord3f(0.0,1.0); glVertex3f( x, yConst, z); //Top Left glTexCoord3f(0.0,0.0); glVertex3f(x+5, yConst, z);// Bottom Left glTexCoord3f(1.0,0.0); glVertex3f(x+5, yConst, z-5);// Bottom Right
glTexCoord3f(1.0,1.0); glVertex3f( x, yConst, z-5);// Top Right
}