Archived

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

djdynamic

How do i display Frames Per Sec?

Recommended Posts

Guest Anonymous Poster   
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
Ratheous    122
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
alistair b    122
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