[osg-users] DatabasePager frezzing fps
Glenn Waldron
gwaldron at gmail.com
Sun May 31 07:21:03 PDT 2015
First thing I'd try is the IncrementalCompileOperation. It will background
and time slice your GL compile so it doesn't interfere with scene graph
merge time. Use the --ico option to osgviewer or use the Viewer API.
On May 30, 2015 10:52 PM, "Leandro Linardos" <leandro.linardos at gmail.com>
wrote:
> Hi,
>
> I'm using DatabasePager to load a terrain in a quad-tree structure. So, I
> have a PagedLOD with a TerrainTile for a distance range and some data to
> load other four tiles for a nearest distance range.
>
> When swithching the PagedLod leve, I'm building the four tiles inside a
> ReadFileCallback attached to the PagedLod. The elevation data attached to
> the tiles are 1024x1024 heightfields. This is obviously done in another
> thread.
>
> The problem is I'm totally losing frames after the ReadFileCallback call.
> I'm going from 60fps to 0 (during a seconds) and then again to 60 fps. I
> think that's the issue is in the scene graph update (when the new tiles are
> added to the scene).
>
> Some ideas? Some config in threads or databasepager i'm not seeing?
>
> Thank you!
>
> Cheers,
> Leandro
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63891#63891
>
>
>
>
>
> _______________________________________________
> 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/20150531/a37d3fef/attachment-0002.htm>
More information about the osg-users
mailing list