> To set the view and projection matrix simply be the Viewer's 
> Camera and set them.
> 
>  i.e.
> 
>     viewer.getCamera()->setProjectionMatrix(...);

Hi Robert -- That's good for the projection matrix. If I can, I'd like to
explore setting the view matrix a little further.

Seems like there are three ways an osgViewer-based app can set the view
matrix:

1) Attach a camera manipulator to the viewer. The camera manipulator owns
setting the view, the app need do nothing else.

2) Don't attach a camera manipulator. The app owns changing the view by
calling viewer->getCamera() and using the camera's many view-setting
methods.

3) Like 1) above, except the app can explicitly change the view by calling
into the camera manipulator (e.g., setByMatrix()).

Is that a pretty good summary? Comments and corrections, please.
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to