Hi Mike,

If you use a Camera in the scene graph then it'll appear once for each
viewer Camera that encloses, unless you use traversal/node masks to
cull it.

The better solution is to do the HUD in a slave Camera within
osgViewer::Viewer, or a separate View in a CompositeViewer, as then
you can explictly bind the Camera to a particular GraphicsWindow.  See
the osghud example in 2.x.

Robert.

On Thu, Jun 12, 2008 at 8:44 PM, Mike Greene <[EMAIL PROTECTED]> wrote:
> I currently have a setup with one viewer with two cameras. I add a "HUD" to
> the scene (as a child to the root node) and it shows up in both camera
> views. Is there an easy way to disable seeing it in one view? Some
> camera->Set... that will do this? (based on depth or something?)
>
>
> Mike Greene
>
> _______________________________________________
> 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

Reply via email to