Hi Shayne,
On Mon, Jan 11, 2010 at 10:33 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <[email protected]> wrote: > Robert, > > Thanks for the advice. As a follow up question that may be obvious (forgive > me), how do I enable the clear on the graphics context? I've poked around > and I can't find where this is done. After you've call viewer.setUpViewerAsEmbeddedInWindow(...) so that the GraphicsWindowEmbedded is attached to the master camera do: viewer.getCamera()->getGraphicsContext()->setClearColor(osg::Vec4(r,g,b,a)); viewer.getCamera()->getGraphicsContext()->setClearMask(GL_GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

