Thanks Robert, I managed to clip the HUD in the second viewport using masking. I will take a look at the SVN example anyways.
On 3/6/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Calin, On 3/6/07, Calin Negru <[EMAIL PROTECTED]> wrote: > I've solved my cursor problem but I got into another. I'm using two cameras > and the GUI shows on both of them. I need the second viewport clear. > > http://calinnegru.googlepages.com/Badhud.jpg > > How can I have the HUD only in one viewport? Yes, but you'll need to use the new osgViewer library. Have a look at the osghud example in SVN, it provide three different ways of doing HUDs, one is old Camera in sync trick that exhibits the problems you are seeing, the other methods place the HUD Camera in the viewer and allow for more control over placement. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
-- Calin Negru
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
