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

projection matrices.
This commit is contained in:
Robert Osfield
2003-05-07 09:35:43 +00:00
parent fa0333b6fe
commit aa0d5fc52e
2 changed files with 26 additions and 26 deletions

View File

@@ -208,16 +208,6 @@ int main( int argc, char **argv )
// create the windows and run the threads.
viewer.realize();
// set all the sceneview's up so that their left and right add cull masks are set up.
for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator itr=viewer.getSceneHandlerList().begin();
itr!=viewer.getSceneHandlerList().end();
++itr)
{
osgUtil::SceneView* sceneview = itr->get();
sceneview->setComputeNearFarMode(osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR);
}
while( !viewer.done() )
{
// wait for all cull and draw threads to complete.