Show
Ignore:
Timestamp:
05/07/03 11:35:43 (12 years ago)
Author:
robert
Message:

Changed the CullVisitor::popProjection() so that it doesn't adjust orthorgraphic
projection matrices.

Files:
1 modified

Legend:

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

    r1937 r1938  
    209209    viewer.realize(); 
    210210 
    211     // set all the sceneview's up so that their left and right add cull masks are set up. 
    212     for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator itr=viewer.getSceneHandlerList().begin(); 
    213         itr!=viewer.getSceneHandlerList().end(); 
    214         ++itr) 
    215     { 
    216         osgUtil::SceneView* sceneview = itr->get(); 
    217         sceneview->setComputeNearFarMode(osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR); 
    218     } 
    219  
    220  
    221211    while( !viewer.done() ) 
    222212    {