Greetings,

Sorry for the noob question ( and maybe more of a general OSG one ) ... I am 
working off of the osgoculus "viewerexample", trying to set the 
background/Clear color. I guess I'm having trouble understanding how the 
views/viewers work together.

I've tried in the graphics context:


Code:
gc->setClearColor( osg::Vec4( 0.0f, 0.0f, 0.0f, 1.0f ) );



and in the osgViewer:


Code:
viewer.getCamera()->setClearColor( osg::Vec4( 0.0f, 0.0f, 0.0f, 1.0f ));



to no effect.


Cheers,
Mike[/code]

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





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

Reply via email to