Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: high FPS

Hybrid View

  1. #1
    Intern Contributor
    Join Date
    Sep 2006
    Posts
    55

    high FPS

    i constructed a simple FPS counter, it shows that my app runs at about 1200 FPS when i draw actaully no geometry and at about 500 FPS when i draw some simple mesh with 1 light. i've read somwhere that the number of FPS in opengl is limited by monitor refresh rates, so is my counter ok in showing me such high number of FPS?

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    748

    Re: high FPS

    Well if v-sync is off the program will be able to run much faster than the monitor refreshrate.
    Though, the actual shown image on the monitor will not update any faster.

    If v-sync is on then the swapbuffer command will wait to refresh the screen when the image starts redrawing, thus resulting in the framerate that is equal to the montior refreshrate, it also results in lower CPU usage as a "nasty" sideeffect.

    But don't worry, by showing the maximum possible fps (no v-sync) you will be able to tune the program preformance more effectivly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •