Hi Guy, To further expand on J-S suggestions, there are four ways of doing HUDs, Camera in a scene graph, a slave Camera in the Viewer, an separate View in a CompositeViewer or as a Camera attached to the GraphicsWindow. There is an osghud example illustrates the first three of this options. The on screen stats and help event handlers built into osgViewer demonstate a hud in the GraphicsWindow.
Robert. On Fri, May 15, 2009 at 2:16 PM, Guy Volckaert <guy.volcka...@meggitt.com> wrote: > Hi, > > I have 2 windows, each with its own camera/viewport. I need to display a > different hud on each camera. What's the best solution for this. I looked at > the hud example, but there is only one hud and it is added to the scene, and > therefore gets displayed on each camera. > > Any suggestion would be appreciated. > > Cheers, > Guy > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=12231#12231 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org