HI Kim,

The onscreen stats just report what stats are collected so the frame
rate is already stored for you.  The data structure of interest is
osg::Stats, have a look at the src/osgViewer/StatsHandler.cpp
implementation to see how the Stats are used.

Robert.

On 29 April 2014 04:50, Kim JongBum <[email protected]> wrote:
> Hi,
>
> when i type "S" we can see status information.
> such as frame rates.
>
> is it possible to save the frame rates to the variable?
>
> Thank you!
>
> Cheers,
> Kim
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=59178#59178
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to