[osg-users] picture in picture...
Robert Osfield
robert.osfield at gmail.com
Wed Nov 25 02:25:31 PST 2009
Hi Shayne,
On Tue, Nov 24, 2009 at 11:31 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <Shayne.Tueller at 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.
More information about the osg-users
mailing list