[osg-users] Using Ortho2D projection camera under OpenSceneGraph PRE_RENDER camera

Robert Osfield robert.osfield at gmail.com
Sun Jan 22 03:17:48 PST 2017


Hi Malcom,

Does your PRE_RENDER Camera not render to a texture that you attached
to it?  When you render to a texture the texture becomes the frame
buffer for the rendering of that cameras subgraph, there will be no
output to the main frame buffer.

Robert.

On 21 January 2017 at 19:17, Malcolm Pigott
<osg.malcolm at hydrogenrocks.me.uk> wrote:
> It's not the prerender camera that's not being drawn, it's the geometry under the Ortho2D camera - the "overlay".
>
> When drawn "normally", i.e. with the scene node being the loadedModel, all is well.
>
> However, when the loadedModel is a subgraph to the PRE_RENDER camera, the Ortho2D does not appear. It may well be being drawn, but isn't visible.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70029#70029
>
>
>
>
>
> _______________________________________________
> 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