I've hit a snag with rendering triangles. At approximately 1,000,000 triangles, the frame rate drops to 30-40 fps. By the time I hit 5,000,000 triangles, I'm down to 10 fps. My CPU is an i5-3570K @ 3.4ghz and my video card is a ZOTAC GeForce GTX 660 w/ 2GB of RAM. Should I experience an fps drop at one million triangles? Or am I doing something wrong?
My lighting model is a simple phong shading with only diffuse lighting. I haven't added ambient or specular lighting yet. There is only one point light source.
I've also enabled the following settings:
glEnable(GL_DEPTH_TEST); glFrontFace(GL_CW); glEnable(GL_CULL_FACE); // Cull back facing polygons glCullFace(GL_BACK);
Thank you for your help.