Original Post
First of all hello !
Well. I am loading images to make my floor. The problem is: I want to repeat the image many times until the floor finishes. But the imaging is getting streched.
glBindTexture(GL_TEXTURE_2D, texChao);
glBegin(gl_quads);
glNormal3f( 0.0, 1.0, 0.0);
glTexCoord2f(0.0, 1.0); glVertex3D((iWidth div 2) * -1, chao_EixoY, 2);
glTexCoord2f(0.0, 0.0); glVertex3D((iWidth div 2) * -1, chao_EixoY, iHeight * -1);
glTexCoord2f(1.0, 0.0); glVertex3D((iWidth div 2), chao_EixoY, iHeight * -1);
glTexCoord2f(1.0, 1.0); glVertex3D((iWidth div 2), chao_EixoY, 2);
glEnd;
How to do ?