Hi Alexandre, I'm afraid others will have to pick up this thread to answer your questions.
Robert. On Fri, May 15, 2009 at 1:51 PM, Alexandre Amalric <alex.pix...@gmail.com> wrote: > Hi robert, > > something isn't right with the last thing I said, when creating a new > osgViewer::View a main camera is created by default, so it's not possible to > have 2 slave cameras only and no main camera, am I right ? > > My goal is to have only 2 camera not matter if they are both slaves or main > and slave but they have to get the same projection matrix when resizing. > With you recommandation there is in fact 3 cameras (2 slave and 1 main > default created). > > What is the problem with changing the part of code I previously spoke about > ?? > > 2009/5/15 Alexandre Amalric <alex.pix...@gmail.com> >> >> When using 2 slave cameras instead of 1 main calera and 1 slave camera the >> resizing works perfectly. >> >> I was thinking that the viewer had to have 1 main camera and n slave >> camera, I was mistaken. >> >> I have one last question, when we call getCameraWithFocus on a viewer set >> up with 2 slaves camera and no main camera, wich one is returned ? >> >> Thank you for your support and I wish you a good recovery. >> >> >> 2009/5/15 Robert Osfield <robert.osfi...@gmail.com> >>> >>> HI Alexandre, >>> >>> On Fri, May 15, 2009 at 10:41 AM, Alexandre Amalric >>> <alex.pix...@gmail.com> wrote: >>> > Hi Robert, >>> > >>> > thank you for answering me but i'm confused I don't really understand >>> > what >>> > you want me to do on my example ? >>> >>> Make it work like the original osgwindows example - use two slave >>> cameras rather than one master and one slave. >>> >>> I have lots of other work to do, and I'm really not well so can't take >>> on extra work, please try out my suggestions. >>> >>> Robert. >>> _______________________________________________ >>> osg-users mailing list >>> osg-users@lists.openscenegraph.org >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> >> >> -- >> Alexandre AMALRIC Ingénieur R&D >> =================================== >> PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille >> http://www.pixxim.fr > > > > -- > Alexandre AMALRIC Ingénieur R&D > =================================== > PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille > http://www.pixxim.fr > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org