Commented out the code to force sgv to use ANAGLYPHIC_STEREO as this should
not be the default, will add options to do this later.
This commit is contained in:
parent
c92b730817
commit
03589f190f
@ -149,8 +149,8 @@ int main( int argc, char **argv )
|
||||
osgGLUT::Viewer viewer;
|
||||
viewer.addViewport( rootnode );
|
||||
|
||||
osgUtil::SceneView* sceneview = viewer.getViewportSceneView(0);
|
||||
sceneview->setStereoMode(osgUtil::SceneView::ANAGLYPHIC_STEREO);
|
||||
//osgUtil::SceneView* sceneview = viewer.getViewportSceneView(0);
|
||||
//sceneview->setStereoMode(osgUtil::SceneView::ANAGLYPHIC_STEREO);
|
||||
|
||||
// register trackball, flight and drive.
|
||||
viewer.registerCameraManipulator(new osgUtil::TrackballManipulator);
|
||||
|
Loading…
Reference in New Issue
Block a user