Original Post
I use the following code to lay textures to floor for (int m = -9; m < 9; m++) { for (int k = -9; k < 9; k++) { Gl.glPushMatrix(); Gl.glTranslated(-2 + 2 * k, 0, 8+2*m); Gl.glScaled(1, 0.1, 1); Draw2(); Gl.glPopMatrix(); } } void Draw2() { Gl.glBegin(Gl.GL_QUADS); Gl.glTexCoord2f(1.0f, 1.0f); Gl.glVertex3f(1.0f, 1.0f, -1.0f); Gl.glTexCoord2f(0.0f, 1.0f); Gl.glVertex3f(-1.0f, 1.0f, -1.0f); Gl.glTexCoord2f(0.0f, 0.0f); Gl.glVertex3f(-1.0f, 1.0f, 1.0f); Gl.glTexCoord2f(1.0f, 0.0f); Gl.glVertex3f(1.0f, 1.0f, 1.0f); Gl.glEnd(); } Code is fine with for from -9 to 9 but if the number increasas program gets too slow. My graphics card is Ati radeon mobility x300. Can anyone suggest a better(faster)way for using textures in the code. Also the same code does not work with nvidia mx440 garphics card. Program runs but can't see texture objects. Does anyone have an idea?