HI Abe Zhu,

2009/10/4  <[email protected]>:
> I'd like to add  slave cameras in my app. Is there any existed examples that
> can show me how to do it ?

osgcamera, osghud and osgwindows all show how to set up slave cameras.
 Also src/osgViewer/View.cpp has a range of View::setUpView*() methods
that set up various slave camera for various contexts.

> and also, could i embed these slave cameras into different widgets?

You can attach the different GraphicsWindows to different Camera,
including different slave Camera.  The osgwindow example illustrates
this.

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

Reply via email to