Hi Yefei, On Mon, Sep 26, 2011 at 9:20 PM, He, Yefei <yefei...@uiowa.edu> wrote: > Is it possible for a slave camera to have different near and far clipping > planes from the master camera? Are there examples for it? I figure it will > be more complicated than changing the angle of view or adding a shear to the > view frustum.
You have assign different projection matrices to the slave camera either by setting the projection offset matrix for the slave and keeping the slave Camera's ReferenceFrame set to RELATIVE_RF (relative the master Camera) or by setting the view and projection matrices directly on the slave Camera and setting the ReferenceFrame to ABSOLUTE_RF. There isn't a specific example that illustrates what you want but the osghud and osgdistortion examples should give you an idea of the different things you can. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org