osg::View::getSlave(index)
Get slave and do everything you want, Viewer will update their matrixs each 
frame.



在 2012-7-1,22:03,"Torben Dannhauer" <tor...@dannhauer.info> 写道:

> Hi,
> I would like to change a slave cameras viewOffset and projectionOffset matrix 
> _after_ I added the camera via viewer->addSlavecamera(camera, 
> viewoffset,projOffset).
> 
> Is there a interface to set the offsets later on? I haven't found anything.
> 
> What would you recommend to achieve the desired functionality?
> Maybe I should add some functions to allow later changes and submit it to 
> Robert.
> 
> Thank you!
> 
> Cheers,
> Torben
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=48621#48621
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to