Re: [osg-users] Disabling HUD in one camera

2008-06-16 Thread Robert Osfield
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

Re: [osg-users] Disabling HUD in one camera

2008-06-12 Thread Jean-Sébastien Guay
Hello 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?)