[osg-users] osgViewer::CompositeViewer using slave camera

Robert Osfield robert.osfield at gmail.com
Wed Oct 3 07:23:11 PDT 2007


Hi Filip,

I tried your modified file but I can't got it even to open any windows
so I'm not sure what you've done to it.  Could you please update to
the SVN version of the OSG and see how you get on.

I have just put my second graphics card in my dev machine and tested
out osgcompositeviewer across the two cards/screens and it displays
fine.  There is a bug in the scaling of the mouse values though so
interaction is a bit difficult.  You can run osgcompositeviewer across
all screens via:

  osgcompositeviewer -1 cow.osg

You can also combine this via:

  osgcompositeviewer -1 -2 -3 cow.osg

And have 6 views running just fine across 5 windows.  The only problem
I can see if the camera manipulator interaction in the fountain.osg
model than spans both screens.

Robert.




On 10/3/07, filip.holm at kongsberg.com <filip.holm at kongsberg.com> wrote:
> Example built using osg 2.1.13 on winXP/VS2005. Still have same problem. Scene doesn't display for osgViewer::View slave camera.
>
> Filip
>
> > -----Original Message-----
> > From: osg-users-bounces at lists.openscenegraph.org
> > [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf
> > Of filip.holm at kongsberg.com
> > Sent: 3. oktober 2007 11:19
> > To: osg-users at lists.openscenegraph.org
> > Subject: Re: [osg-users] osgViewer::CompositeViewer using slave camera
> >
> > Robert,
> >
> > I just noticed that there are some major changes to
> > CompositeViewer in 2.1.13.
> > I've updated my SVN and will let you know how test goes with
> > the new ViewerBase class.
> >
> > Filip
> >
> > > -----Original Message-----
> > > From: osg-users-bounces at lists.openscenegraph.org
> > > [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
> > > filip.holm at kongsberg.com
> > > Sent: 3. oktober 2007 11:00
> > > To: osg-users at lists.openscenegraph.org
> > > Subject: Re: [osg-users] osgViewer::CompositeViewer using
> > slave camera
> > >
> > > I'm using osg 2.1.11 on WinXP with VS2005
> > >
> > > Filip
> > >
> > > > -----Original Message-----
> > > > From: osg-users-bounces at lists.openscenegraph.org
> > > > [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
> > > > Robert Osfield
> > > > Sent: 3. oktober 2007 10:56
> > > > To: OpenSceneGraph Users
> > > > Subject: Re: [osg-users] osgViewer::CompositeViewer using
> > > slave camera
> > > >
> > > > Hi Filip,
> > > >
> > > > Which version of the OSG are you working with ?
> > > >
> > > > On 10/3/07, filip.holm at kongsberg.com
> > > <filip.holm at kongsberg.com> wrote:
> > > > > Hi All,
> > > > >
> > > > > Has anyone tried to get slave cameras to render the master
> > > > scenedata with CompositeViewer?
> > > > > Using the Viewer it works perfect, but trying the same
> > > > approach with CompositeViewer just shows a blank buffer.
> > > > > I have attached a modified osgcompositeviewer example where
> > > > the -4 argument shows the problem.
> > > > >
> > > > > Any hints to what I'm doing wrong or where to start
> > > > debugging is much
> > > > > appreciated.(osgViewer::View:addSlave() seems to be doing
> > > the right
> > > > > thing)
> > > > >
> > > > > Thanks in advance,
> > > > > Filip
> > > > >
> > > > > _______________________________________________
> > > > > 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-opensce
> > > > negraph.org
> > > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> > > negraph.org
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> > negraph.org
> >
>
> _______________________________________________
> 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