• Advertisement

Archived

This topic is now archived and is closed to further replies.

How do i display Frames Per Sec?

This topic is 6290 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

Advertisement
Guest Anonymous Poster
Time each frame, average this out over a few frames, and take the reciprocal.

Share this post


Link to post
Share on other sites
Got any source code?
Also, how would i use the GLprint fun used in the nehe tuts to print the value of a variable?

Share this post


Link to post
Share on other sites
my site for sex and source code !!!!! (ok scrub the first bit)

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites
I would also look on this page. It has an excellent class for text display. Works just like a printf().

____________________________________________________

"Two wrongs do not make a right; it usually takes 3 or more."

Share this post


Link to post
Share on other sites
i wrote a small function/tutorial to do this which uses nehe's timer function from lesson 21

it displays the fps as a bar at the bottom of the screen (which i find easier to read than a constantly changing number)

alistair

Edited by - alistair b on November 3, 2000 5:47:55 PM

Share this post


Link to post
Share on other sites

  • Advertisement