Show
Ignore:
Timestamp:
01/21/05 20:28:50 (10 years ago)
Author:
robert
Message:

Change dhte CullSettings? to be correct to new changes in osgProducer

Files:
1 modified

Legend:

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

    r2663 r3777  
    502502 
    503503 
     504    viewer.getCullSettings().setCullMask(0xffffffff); 
     505    viewer.getCullSettings().setCullMaskLeft(0x00000001); 
     506    viewer.getCullSettings().setCullMaskRight(0x00000002); 
     507 
    504508    // set all the sceneview's up so that their left and right add cull masks are set up. 
    505509    for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator itr=viewer.getSceneHandlerList().begin(); 
     
    508512    { 
    509513        osgUtil::SceneView* sceneview = (*itr)->getSceneView(); 
    510         sceneview->setCullMask(0xffffffff); 
    511         sceneview->setCullMaskLeft(0x00000001); 
    512         sceneview->setCullMaskRight(0x00000002); 
    513514        sceneview->setFusionDistance(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE,radius); 
    514515    }