[osg-users] databasepageloader and composite viewer

Robert Osfield robert.osfield at gmail.com
Tue Nov 6 03:20:57 PST 2007


Hi David,

I've had a quick check through View.cpp and the destructor doesn't do
anything more than unref the Scene object that should be shared
between each of your views, and as such shouldn't actually do anything
to the DatabasePager directly.  The same goes for
CompositeViewer::removeView, it shouldn't change anything with the
database pager directly.

Do each of the View have their own GraphicsWindow?  I wonder if this
is where the problems stem from.

Robert.

On Nov 6, 2007 11:12 AM, David _ <solid_davidian at hotmail.com> wrote:
>
>  Hi Robert
>
> we´re currently using OSG 2.2 under windows compiled with visual studio 2005
>
>
> > Date: Tue, 6 Nov 2007 09:01:07 +0000
> > From: robert.osfield at gmail.com
> > To: osg-users at lists.openscenegraph.org
> > Subject: Re: [osg-users] databasepageloader and composite viewer
>
>
> >
> > Hi David,
> >
> > Which version of the OSG are you using?
> >
> > Robert.
> >
> > On Nov 5, 2007 9:40 AM, David _ <solid_davidian at hotmail.com> wrote:
> > >
> > > Hi
> > >
> > > We´re dealing with a MDI application with multiple views of the same
> scene,
> > > which is composed by some pagelod islands.
> > >
> > > we´re using the composite viewer in order to have an independent camera
> in
> > > every child window and it´s working fine. The problem comes when we want
> to
> > > delete one of these windows.
> > >
> > > For deleting a view we use the removeView method of the composite viewer
> in
> > > order to free the osgViewer, but, sometimes it kills the
> databasepageloader
> > > too which stops all the LOD switching stuff. This is not happening all
> the
> > > viewers, just with some of them.
> > >
> > > How can we avoid this (killing a view of the composite viewer without
> > > killing the LOD stuff)???
> > > How can we check if the databasepageloader is gone and re-start it??
> > >
> > > thanks in advance
> > >
> > > help would be really appreciated
> > >
> > >
> > >
> > > ________________________________
> > > Express yourself instantly with MSN Messenger! MSN Messenger
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> ________________________________
> Express yourself instantly with MSN Messenger! MSN Messenger
> _______________________________________________
> 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