• Advertisement
Sign in to follow this  

max. frames per second

This topic is 4344 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a question about frames per second (fps). The refresh rate of my monitor is 75 Hz, then maximum frame per sec should be max 75. (In a test app with 1 triangle the max fps i get is 75). How is it possible that i see in some games or demos a higher fps then 75 ?? Can someone explian ?? thanks

Share this post


Link to post
Share on other sites
Advertisement
There is a technique called vertical sync (or v-sync) which guarantees that each frame of rendered graphics is only shown when the monitor is ready for it. V-sync essentially forces the engine to draw at the refresh rate of the monitor (unless it can't keep up with the monitor, in which case framerate will be lower than the refresh rate).

In game engines that do not use v-sync (it can be disabled in your graphics drivers and by specifically asking to bypass it via DirectX or OpenGL), the framerate will simply be as fast as the game can render.

Share this post


Link to post
Share on other sites
Ok i understand. How do you enable/ disable vsync?
(For test app i use nehe framework)

Share this post


Link to post
Share on other sites
Quote:
Original post by boldyman
Ok i understand. How do you enable/ disable vsync?
(For test app i use nehe framework)


Check out the WGL_swap_control extension if you're using Windows and the SGI_swap_control extension if you're running Linux.

Share this post


Link to post
Share on other sites
That's only really going to be useful if you're using your game as a benchmark or if you're curious how much room you have to add load, though. There's no point in calculating frames that never get displayed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement