[osg-users] Sharing PagedLOD node in multiple osgViewer::Viewer windows

Robert Osfield robert.osfield at gmail.com
Sun Sep 28 07:50:41 PDT 2008

Hi Justin,

Could you please switch to using a CompositeViewer with multiple
Views, rather than multiple Viewers, as you usage model is intended to
be supported by CompositeViewer, you are much more likely to find
success/stability when using the OSG in the way it's intended.

Also try moving up to OSG 2.6, 2.7.x or SVN/trunk as there are plenty
of improvements across the board, including to paging and multiple
window work, I can't say for certain this will fix you problem, but
there it's definitely worth a try.


On Sat, Sep 27, 2008 at 1:58 AM, KSpam <keesling_spam at cox.net> wrote:
> My application utilizes a osg::PagedLOD node for terrain that is shared across
> multiple osgViewer::Viewer instances.  The terrain paging works beautifully
> when I only have a single window open; however, there are issues whenever I
> open a second window.
> Some of the issues I see are:
> 1) Window 1 appears to revert to the lowest LOD
> 2) Window 1 and 2 seem to "flicker" as if fighting over which texture or tile
> should be visible
> 3) Sometimes window 2 textures are missing for some tiles (i.e. white
> background)
> I suspect that I might be using osgDB::DatabasePager improperly.  I have tried
> sharing the same osgDB::DatabasePager across all osgViewer::Viewer instances,
> and I have also tried using a unique osgDB::DatabasePager for each
> osgViewer::Viewer instance.  What is the correct approach?
> Any ideas as to what I am doing wrong?  Any suggestions for me to try?
> I am using OSG 2.4.
> Thanks,
> Justin
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list