[osg-users] picture in picture...
s.d.hammett at googlemail.com
Wed Nov 25 00:52:15 PST 2009
Views get rendered in order added. (at least in single threaded mode)
Just add your 'in picture' viewport last, where you want it.
You will need to turn off clearing of the colour buffer if you want to see
your main scene through the picture .
And maybe call setAllowEventFocus(false); on the views camera to prevent it
mouse & keyboard events.
2009/11/24 Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <
Shayne.Tueller at hill.af.mil>
> 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…
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users