Hi Shayne, On Tue, Nov 24, 2009 at 11:31 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <shayne.tuel...@hill.af.mil> wrote: > This is probably a silly question but what’s the best way to do a “picture > in picture” using CompositeViewer? > > Right now I have multiple views added to my viewer and I want to have > control as to which one gets rendered on top of the others in the main > viewer window…
This is the right way to tackle it. To control the rendering order you can use the camera->setRenderOrder(..) method. If you don't set this an leave all the camera's at their default of 0 then these cameras will be rendered in the order you added them. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org