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

Werner Modenbach Werner.Modenbach at texion.eu
Fri Feb 24 08:44:22 PST 2017


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 -





More information about the osg-users mailing list