Show
Ignore:
Timestamp:
03/20/03 18:00:32 (12 years ago)
Author:
robert
Message:

Updates to osgProducer and osgstereoimage for stereo support.

Changed the default distance from the scene of the home position of the
trackball and flight manipulators.

Files:
1 modified

Legend:

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

    r1714 r1728  
    101101    viewer.setSceneData(rootNode.get()); 
    102102 
     103    // set up the use of stereo by default. 
     104    osg::DisplaySettings* ds = viewer.getDisplaySettings(); 
     105    if (!ds) ds = osg::DisplaySettings::instance(); 
     106    if (ds) ds->setStereo(true); 
     107 
    103108    // create the windows and run the threads. 
    104109    viewer.realize(Producer::CameraGroup::ThreadPerCamera);