Hi J-S,

On screen stats adds extra compute and GPU load to the rendering of
the frame, so one would expect it reduce rather than enhance frame
rate.  The fact that you have an instance where the reverse happens
suggest something odd happening with the OpenGL driver - something
like is given the boot when the OpenGL data that the OSG send changes
slightly.  Try other things to jolt the driver by toggle texturing or
lighting to see what happens.

Robert.

On Mon, Feb 4, 2008 at 3:31 PM, Jean-Sébastien Guay
<[EMAIL PROTECTED]> wrote:
> Hello all,
>
>  I'm seeing something peculiar in one of our apps using OSG 2.2, and I
>  was wondering if someone else had seen something like this or would have
>  an idea what would cause it.
>
>  The app starts and seems sluggish. Pressing 's' once shows it's running
>  at around 15-20 FPS. But then, if I press 's' a second time, the
>  framerate shoots up to >75 FPS (capped by my refresh rate) and the app
>  is suddenly very smooth. And it stays like that too (I can hide the
>  stats again or whatever, it has no significant effect on the frame rate).
>
>  So, what could cause this? Why would showing the detailed stats screen
>  have that effect? I've seen cases where showing detailed stats _slowed_
>  the frame rate, but this is the first time it makes it faster!
>
>  Thanks in advance,
>
>  J-S
>
>  --
>  ______________________________________________________
>  Jean-Sebastien Guay    [EMAIL PROTECTED]
>                                http://www.cm-labs.com/
>                         http://whitestar02.webhop.org/
>
>  _______________________________________________
>  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