Hi Martin,

Maybe my problem declaration is unclear. Sorry about this. The goal is I 
doesn't want to set the camera (master camera) of the viewer. That do the 
CameraManipulator. I want use the Matrix (or inverse matrix) to set the view 
matrix of another camera. I have 4 cameras (viewports) and I want change only 
the camera of one viewport.

Is this an better explanation? I hope so.

Are you using CompositeViewer with multiple Views? Each view has its own camera, and can have different camera manipulators. So when you manipulate the camera in one view it won't affect other views.

You can always call getInverseMatrix() yourself on the manipulator and then pass that matrix to the camera you want to manipulate, CompositeViewer and CameraManipulators are designed to do this for you.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to