Changed the View's master camera projection matrix setting so that it is

consistent with osgProducer::Viewer default setting.
This commit is contained in:
Robert Osfield
2007-01-03 16:32:44 +00:00
parent 4f87afdbf5
commit 3eaa9ff05b

View File

@@ -20,7 +20,11 @@ View::View()
// osg::notify(osg::NOTICE)<<"Constructing osg::View"<<std::endl;
setCamera(new osg::Camera);
#if 0
_camera->setProjectionMatrixAsPerspective(50.0f,1.4f,1.0f,10000.0f);
#else
_camera->setProjectionMatrixAsFrustum(-0.325, 0.325, -0.26, 0.26, 1.0f,10000.0f);
#endif
}
View::~View()