Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FPS how calculate this?

In my OpenGL book, it says this:

"What often happens on such a system is that the frame is too complicated to draw in 1/60 second, so each frame is displayed more than once. If, for example, it takes 1/45 second to draw a frame, you get 30 fps, and the graphics are idle for 1/30 1/45 = 1/90 second per frame, or one-third of the time."

In the sentence that say "it takes 1/45 second to draw a frame, you get 30 fps", why do I get only 30 fps? Woudln't 45 fps be more correct?

like image 628
drigoSkalWalker Avatar asked Jan 29 '10 00:01

drigoSkalWalker


People also ask

How do I check my FPS details?

On Steam, open Settings > In-Game > In-Game FPS Counter. Select a location in the drop-down to turn it on. The next time you launch a game, you'll see your frame rate displayed in the corner using dark gray text (though you can check the High Contrast Color box to display it in more readable text).

How many FPS should I get?

For most people, 60 FPS is the best frame rate to play at. This isn't only because of the smoothness of the images displayed but also because 60Hz monitors are the most readily available ones. Furthermore, acquiring a GPU that can output 60 FPS in a video game is pretty easy and inexpensive nowadays.

How do you check your FPS number?

You can also check your FPS registration status in 'Register or view FPS registrations'. Step 1: Log on and go to 'Register or view FPS registrations' under 'My Banking'. Choose between your mobile number, email address, FPS Identifier or HKID - or go for all 4 so you can be more easily found for fund transfers!

How many FPS is average?

30-45 FPS: Playable. Most people are OK playing at this frame rate, even if it's not perfect. 45-60 FPS: Smooth. Most PC gamers aim to achieve frame rates in this range.


1 Answers

The graphics card will normally only buffer one frame ahead.

If it takes 1/45 of a second to draw a frame, then at the 1/60 of a second mark, the previous frame will be redisplayed. At the 1/45 mark, the next frame is done - but the card doesn't have a free buffer to start rendering the next one, so has to sit idle until 1/30, where it can send out that frame and start working on the next one.

This is with VSync enabled - if you disable it, instead of getting the 30FPS framerate and an idle card 1/3rd of the time, the card will start redrawing immediately, and you'll get screen tearing instead.

like image 148
Anon. Avatar answered Sep 24 '22 10:09

Anon.