Hi,

I sorted this issue by not trying to set the viewer's main camera up as the 2D 
camera. I then set the clear mask on the viewer's main camera to just 
GL_DEPTH_BUFFER_BIT. I derived my background from an osg::Camera and added its 
own sub scene to it. I set the clear mask on the background camera to the 
normal default (DEPTH + COLOR). Then each of my 3D cameras I set the clear mask 
to DEPTH only.

Added my background (2D) camera to the scene and added each of my 3D cameras to 
the scene.

Thanks for pointing me in the right direction!

Mike

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32348#32348





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to