[osg-users] switch between two camera

Roland Smeenk osgforum at tevs.eu
Thu Mar 12 01:53:31 PDT 2009


benbao wrote:
> what is the best way to switch between 2 cameras to render?
> Each camera corresponding to a point of view, I need to render only one camera at once.
> 


You can add different osg::CameraViews to a scene and use the  CameraViewSwitchManipulator to toggle between predefined cameraviews.

--
Roland

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8310#8310








More information about the osg-users mailing list