Results 1 to 10 of 10

Thread: What is FPS ?

  1. #1
    Junior Member Newbie
    Join Date
    May 2001
    Location
    VietNam
    Posts
    9

    What is FPS ?

    What is FPS ?
    How can I estimate the speed of my OpenGL
    program.

  2. #2
    Member Contributor
    Join Date
    Jul 2001
    Location
    South Africa
    Posts
    52

    Re: What is FPS ?

    BWAHAHAHAHAHAHAHAHA, sorry, no offense, but I never imagined anybody would ask such a question. Frames Per Second. Surely you know what one frame is, right?

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: What is FPS ?

    Frames per second. To get that number, simply count how many frames have been drawn in a fixed amount of time, or do the opposite and see measure how much time has passed after drawing a fixed number of frames. You divide the number of frames by the amount of time required to draw those frames and thats your FPS, assuming you are using seconds as your time unit. However, expect that number to jump around. To stabilize the FPS reading, you can use real time averaging.

    [This message has been edited by DFrey (edited 07-11-2001).]

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    880

    Re: What is FPS ?

    Mind you, FPS also stands for First Person Shooter...

    Eric

  5. #5
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Augsburg, Germany
    Posts
    334

    Re: What is FPS ?

    Another one in ISDN-communication field:

    Fast Packet Switching


  6. #6
    Junior Member Newbie
    Join Date
    Oct 2000
    Location
    Cov
    Posts
    28

    Re: What is FPS ?

    No no no.

    Furry Pet Stroking.

  7. #7
    Member Newbie
    Join Date
    Jun 2001
    Location
    Gary, IN, United States of America
    Posts
    35

    Re: What is FPS ?

    Does anyone have code for displaying the FPS in an OpenGL program, or atleast computing it?
    :-} {-:

  8. #8
    Senior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Aurora, Illinois, USA
    Posts
    192

    Re: What is FPS ?

    oh come on! you can code your own fps counter... it's not hard at all!!

    here's the pseudo code

    start=current time
    draw frame
    end=current time
    timeToRender=end-start //difftime()
    fps=1/timeToRender
    Navreet Gill [img]/forum/images/%%GRAEMLIN_URL%%/smile.gif[/img]

  9. #9
    Member Newbie
    Join Date
    Jun 2001
    Location
    Gary, IN, United States of America
    Posts
    35

    Re: What is FPS ?

    Thank you, but I am still brushing up on my Win32 skills and I am not too familiar with WM_TIMING. What function would I use to get the current time? Could you possibly post an actual code snippet for an FPS renderer?
    :-} {-:

  10. #10
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: What is FPS ?

    It took me about 5 seconds using the "Search" feature of this board to come up with:
    http://www.opengl.org/discussion_boa...ML/004390.html

    Why don't people believe in using Search engines anymore?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean