[osg-users] How to handle cameras in the scene graph when rendering to framebuffer

Robert Osfield robert.osfield at gmail.com
Fri Feb 24 08:56:53 PST 2017


Hi Werner,

In principle what you are doing should be possible.  What is going
wrong in your instance is impossible to say without seeing how you are
setting up the viewer Camera's and the in scene graph Camera's.

Robert.

On 24 February 2017 at 16:44, Werner Modenbach
<Werner.Modenbach at texion.eu> wrote:
> Hi all,
> sorry for so many questions today.
>
> My scene graph has additional cameras as children somewhere in the scene
> graph.
> For example a hud camera for a background image.
>
> I do screenshots by adding a slave camera to the main camera which renders
> the scene to the FB.
> Unfortunately this rendering doesn't show the parts of the nested cameras,
> i.e. no
> background wallpaper.
> What is the recommended way to solve this?
>
> Thanks for any help.
>
> - Werner -
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list