[osg-users] Camera switch off in compositeviewer...

Robert Osfield robert.osfield at gmail.com
Fri Oct 26 01:21:09 PDT 2007

On 10/25/07, Emmanuel Roche <roche.emmanuel at gmail.com> wrote:
> well hello again....
> Before I start making thousands of tests again, maybe this is a simple
> question:
> I read I just have to do view->getCamera()->setNodeMask
> (0x0) if I want to "disable" the view.... but what's really happening when
> each view has its own GraphicsWindow, that implements  makeCurrent and
> swapBuffers operations...: correct me if I'm wrong but even if the View
> cameras are disabled, those functions are still called no ??... is there a
> way to completely suspend the GraphicsWindow rendering ??

At present there is no way to suspend the frame call for a specific
GraphicsWindow, the viewer calls frame for all its associated

Perhaps in future we should added support for switching on/off whole
GraphicWindows.  This will be a bit complicated internally but should
be doable.


More information about the osg-users mailing list