Robert and Simon,

Thanks! That did the trick...:)

-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert
Osfield
Sent: Wednesday, November 25, 2009 3:26 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] picture in picture...

Hi Shayne,

On Tue, Nov 24, 2009 at 11:31 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[email protected]> 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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to