Hello everyone.
I recently decided to continue work on my old project (game). So I installed MSVC++ 6.0 (OS = Vista), opened the project and compiled it without a problem.
Now here is the problem:
I draw a grid of quads 32*32 by using GL_QUADS (4 vertices per quad, no shared vertices) and everything works fast as it should. Each quad is drawn seperately.
Then I tried to draw 256256 grid and my FPS dropped down to 10-12 frames per second. I find this strange since I can play games such as Doom 3, Far Cry 2, Gothic 3 with max quality without a problem and I’m sure that these games show much more triangles than this 256256 quad grid.
I tought the problem might be in vista, but fps drop down in Win XP too. Could the problem be in MSVC++ 6.0? Here is a pseudo code for the drawing:
for(x = 0; x < 256; x++) {
for(z = 0; z < 256; z++) {
glBindTexture(GL_TEXTURE_2D, some_tex);
glBegin(GL_QUADS);
// draw the quad here. 1 normal per quad
// 4 vertices using x and z values, y = 0 and texture
// coorinate for each vertex
glEnd();
}
}
Any suggestions?