1)When i move near the objects, the frame rate start to decrease.Note that i have not written a function to increase the vertex counts of the objects. I have written a class that cull the objects that are not in frustum . Why it happens?
2)Also when i optimize my program in releasing the program( not debugging ), i see an increase in frame rate specially when blending is enabled( the frame rate does not change when i draw the lens flares with blending ).However when debugging the program, blending decreases the frame rate.What does happen in releasing the application?Does it force the hardware to do blending for me?
3)In one program, I removed all the objects and started FRAPS. the maximum frame rate reported by fraps was different in different times.Soemtimes it’s about 85 FPS and sometimes it’s about 60 FPS. Why?
4)Something about the WGL extension.Does wglChoosePixelFormatARB() increases the performance?
I have used from the function ChoosePixelFormat() to choose the appropriate pixel format. Should i replace this function with wglChoosePixelFormatARB()?
5)I have written a class to play the AVI files. My colleague said that he should specify the FPS of the AVI files that are generated with 3DS Max. What value is appropriate? ( 30, 60, etc. )
6)Do old graphic cards support the GL_BGR_EXT or GL_BGRA_EXT extensions?
- How can i detect the amount of texture memory in my program?
-Ehsan-