On Wed, Mar 25, 2009 at 3:03 PM, Frederic Marmond <[email protected]>wrote:
> hum, it didn't work :( > > both > // gc->setClearColor( osg::Vec4f(1.2f, 0.2f, 0.6f, 1.0f) ); > // gc->setClearMask( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); > and > gc->setClearColor( osg::Vec4f(1.2f, 0.2f, 0.6f, 1.0f) ); > gc->setClearMask( 0 ); > > do the same: instead of the shiny pink color, the window is filled with > black > > any other suggestion ? > Well you disable the clear colour in the camera's ClearMask so perhaps this is why it's just black. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

