Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer

This commit is contained in:
Robert Osfield
2013-04-18 09:47:28 +00:00
parent 65f23ba9af
commit adea6c9329
4 changed files with 281 additions and 128 deletions

View File

@@ -489,6 +489,9 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
void setAutomaticFlush(bool automaticFlush) { _automaticFlush = automaticFlush; }
bool getAutomaticFlush() const { return _automaticFlush; }
void setResetColorMaskToAllOn(bool enable) { _resetColorMaskToAllEnabled = enable; }
bool setResetColorMaskToAllOn() const { return _resetColorMaskToAllEnabled; }
protected:
virtual ~SceneView();
@@ -557,6 +560,8 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
int _interlacedStereoStencilHeight;
unsigned int _dynamicObjectCount;
bool _resetColorMaskToAllEnabled;
};
}