Hi Atilla, I'm not entirely clear on how you are managing things, but it sounds like you might be able to use fine grained control over the render order of the various Camera's on the GraphicWindow to make sure that the views that you don't want overlayed are drawn last. See osg::Camera::setRenderOrder().
Robert. On Mon, Oct 17, 2011 at 2:37 PM, Atilla Selem <[email protected]> wrote: > Hi, > > i have an Osg application to construct my scene i'm using CompositeViewer. i > have a main view and whenever user wishes there are some small views > (viewports) on top right side of my main window. There is no multiple > windows, just main scene view and other small views rendered on main view. > i also have same HUD ovelays giving information whenever user picks an object > on main view. My problem is to hide those overlays from small views when user > opens those views for viewing an object in detail. But overlays displayed in > main view also appears on small views. > How can i hide those HUD overlays in those small views? > > Should i register to camera post draw callback when i create small views and > node mask HUD overlay? İf so, which callback should i use? > Or is there another way to make those overlays visible in main view but > invisible on other views? > i could not find any other post regarding solution? Do u know related posts? > > > Thank you! > > Cheers, > Atilla > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=43433#43433 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

