Show
Ignore:
Timestamp:
01/11/07 13:06:24 (7 years ago)
Author:
robert
Message:

Added DisplaySettings? support into osgViewer::Viewer

Files:
1 modified

Legend:

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

    r5959 r5960  
    476476    //osgDB::writeNodeFile(*rootNode,"test.osg"); 
    477477 
    478     // set the scene to render 
    479     viewer.setSceneData(rootNode.get()); 
    480478 
    481479    viewer.getCamera()->setCullMask(0xffffffff); 
     
    485483    // set up the use of stereo by default. 
    486484    osg::DisplaySettings::instance()->setStereo(true); 
     485 
     486    // set the scene to render 
     487    viewer.setSceneData(rootNode.get()); 
    487488 
    488489    // create the windows and run the threads.