Yes, I doubt that this is the refresh rate of the monitor, not the
real frame rate. How could I avoid the "sync-to-vblank" thing, so that
I can have the actual frame rate?
Thanks,
Dat

On Wed, Dec 23, 2009 at 2:33 AM, Ulrich Hertlein <[email protected]> wrote:
> On 23/12/09 12:23 AM, Nguyen Tien Dat wrote:
>> frameRate = (double)numOfFrame/(endTime - startTime);
>>
>> But it always gives me about 60fps. Did I make a mistake somehow?
>> (startTime and endTime are in seconds already)
>
> 60Hz sounds like you are running with sync-to-vblank.
>
> /ulrich
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Dat Tien Nguyen
PhD student, Computer Science Department
The University of Iowa, IA 52242
http://cs.uiowa.edu/~tinguyen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to