[osg-users] Using Ortho2D projection camera under OpenSceneGraph PRE_RENDER camera
Malcolm Pigott
osg.malcolm at hydrogenrocks.me.uk
Sun Jan 22 08:18:51 PST 2017
Hi Robert,
Yes, it does, as per your example. However, the content which is drawn under an additional camera with an Ortho2D projections does not appear when the scene is rendered via the render to texture route, utilising the PRE_RENDER camera.
The quoted and attached code in the orginal post is a working example showing the problem. Alas, to render directly to the frame buffer requires changing the bool PreRender to false, either in the code or via the debugger.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70031#70031
More information about the osg-users
mailing list