Hi  Benoit,

Typically the slaves Camera of a View( are subserviant to the master
Camera of a View, you  can decouple them when you add them to the View
by setting the ReferenceFrame of the slave Camera to ABSOLUTE_RF
rather than RELEATIVE_RF.  This is done in the osgdistortion example
on the final distortion correction slave camera so have at look at
this example.

Alternatively you might be intending to have multiple View's rather
than just multiple independent slaves, if so then look at
CompositeViewer rather than Viewer, see the osgcompositeviewer
example.

Robert.

On 7/5/07, Benoit bossavit <[EMAIL PROTECTED]> wrote:
Hello,

I have a problem with osgViewer::Viewer, I want to insert two cameras with
behavior comportement.
I see with the osg::View I can set a master camera and then add slaves, but
the projection matrix of the slave depend of the projection matrix of the
master camera.
Howw I can do to have two (or more) camera with my osgViewer::Viewer.
Thanks

bnua

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to