Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected.
This commit is contained in:
@@ -263,7 +263,7 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
|
||||
osg::Camera* assignRenderToTextureCamera(osg::GraphicsContext* gc, int width, int height, osg::Texture* texture);
|
||||
osg::Camera* assignKeystoneDistortionCamera(osg::DisplaySettings* ds, osg::GraphicsContext* gc, int x, int y, int width, int height, GLenum buffer, osg::Texture* texture, Keystone* keystone);
|
||||
osg::Camera* assignStereoCamera(osg::DisplaySettings* ds, osg::GraphicsContext* gc, int x, int y, int width, int height, GLenum buffer, double eyeScale);
|
||||
void setUpViewForStereo(osg::DisplaySettings* ds);
|
||||
void setUpViewForStereo();
|
||||
void setUpViewForKeystone(Keystone* keystone);
|
||||
|
||||
struct StereoSlaveCallback : public osg::View::Slave::UpdateSlaveCallback
|
||||
|
||||
Reference in New Issue
Block a user