PDA

View Full Version : Frame rate problem



MrShahi
30th July 2008, 12:28
Hello guys ......
I have a problem , that is I wana use frame rate concept in my opengl program to increase the smoothness of my program but I have no idea how calculate and where it will use ???????????????????????????/
For details i wana tell you that I m using QTimer and on its event I m calling updateGL() to
perform rendering ......................

I think you will help me ////////////////////////

jacek
30th July 2008, 23:06
If you just calculate the frame rate, it won't improve your animation --- you will just know the frame rate. What you need is to increase it. Use QTimer to fire a slot that updates your scene.