[osg-users] Framerate changes with different zoom

Robert Osfield robert.osfield at gmail.com
Fri Dec 18 08:36:53 PST 2015


Hi Ale,

In general OSG-3.4 should be faster than OSG-3.2 as there are range of
changes that should improve things.  I haven't heard of others see a drop
of performance like your describe so at this stage I can't think of a cause
and therefore a fix.

You don't say much about the particulars of the system you are testing.
This leaves with lots of questions that need to be looked at to get an idea
of what might be amiss.

What OS/hardware are you working with?

What Windowing approach do you use?

Do you see the same behaviour in standard OSG examples like osgviewer?

What happens when you switch of vsync?

What are the relative costs of update, event, cull, draw dispatch and draw
GPU?  The onscreen stats provide this information - if you have assigned a
StatsHandler to your viewer.

Robert.





On 18 December 2015 at 16:15, Ale Maro <sasha71 at teletu.it> wrote:

> Hi,
>
> I recently update my software to OSG 3.4.0 from 3.2.0
> I noticed that when I zoom out the 3D view (the object become smaller)
> with OSG 3.2.0 the framerate go up from 30 fps to 60fps
> Using OSG 3.4.0 the frame rate remains the same (30 fps)
> Zooming in framerate go up on both versions.
>
> I use the default settings on both versions, in particular I do not set
> any culling.
>
> How can I obtain the same behaviour with OSG 3.4.0? I tried using
> ENABLE_ALL_CULLINGS but it does not work.
>
> May be it is something trivial but I cannot find a solution.
> Any ideas? Thank you!
>
> Best regards
> Ale
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=65912#65912
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151218/13595b93/attachment-0003.htm>


More information about the osg-users mailing list