Commit 2829ab60 by Sebastian Eichelbaum

[ADD #312] Image Overlay for a WGEViewer. Disabled code until there is a configure option for it

parent 8411700e
......@@ -165,6 +165,7 @@ void WGEViewer::setScene( osg::ref_ptr< WGEGroupNode > node )
m_View->setSceneData( node );
m_scene = node;
/*
// vignetting cam
{
osg::ref_ptr< osg::Camera > bkCam = new osg::Camera();
......@@ -231,7 +232,6 @@ void WGEViewer::setScene( osg::ref_ptr< WGEGroupNode > node )
// horizon background cam
{
/*
osg::ref_ptr< osg::Camera > bkCam = new osg::Camera();
bkCam->setClearMask( GL_DEPTH_BUFFER_BIT );
bkCam->setRenderOrder( osg::Camera::NESTED_RENDER, 0 );
......@@ -258,8 +258,8 @@ void WGEViewer::setScene( osg::ref_ptr< WGEGroupNode > node )
// add the slice to the geode
bkCam->addChild( geode );
node->insert( bkCam );
*/
}
*/
}
osg::ref_ptr< WGEGroupNode > WGEViewer::getScene()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment