|
- //displaySettings->setStereoMode(osg::DisplaySettings::QUAD_BUFFER);
- viewer->setUpViewInWindow( 32, 32, settings->getWindowWidth(), settings->getWindowHeight());
- viewer->getCameras(cameras);
复制代码 如果comment掉第一行,那最后cameras的个数是 1 ,但是如果uncomment 第一行,启动quadbuffer后,最后的cameras的个数为啥就是 0 了?setup对quadbuffer无效了?
|
|