Hi Guy,

Please study the osghud example, it shows you exactly what is required
to set up the Camera to do hud.  Expecting us to second guess what you
code might being doing wrong is rather expecting us to be clairvoyant.

Robert.

On Fri, May 15, 2009 at 6:16 PM, Guy Volckaert
<[email protected]> wrote:
> Hi again,
>
> I tried J-S 's suggestion about attaching the hud camera to a slave camera, 
> but that did not work (i.e the scene is rendered, but there is not hud).
>
> viewer.getSlave( 0 )._camera->addChild( hudCamera );
>
> Note that adding the hud camera to the scene (like in the hud example) did 
> work in my test app.
>
> Is there something that need to be set in the hud camera to be able to attach 
> it to the another camera?
>
> Cheers,
> Guy
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=12282#12282
>
>
>
>
>
> _______________________________________________
> 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