Show
Ignore:
Timestamp:
01/11/07 17:59:50 (8 years ago)
Author:
robert
Message:

Added stencil buffer setting

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgreflect/osgreflect.cpp

    r5954 r5966  
    357357    viewer.setSceneData(rootNode.get()); 
    358358 
    359     osg::notify(osg::NOTICE)<<"Warning: NEED TO IMPLEMENT REQUEST OF STENCIL BUFFER!"<<std::endl; 
     359    // hint to tell viewer to request stencil buffer when setting up windows 
     360    osg::DisplaySettings::instance()->setMinimumNumStencilBits(8); 
    360361 
    361362    return viewer.run();