Added LEFT_EYE and RIGHT_EYE stereo to osg::DisplaySettings/osgUtil::SceneView

Renamed LODBias to LODScale.
This commit is contained in:
Robert Osfield
2002-11-12 10:22:38 +00:00
parent 6d1ba6c0f4
commit 8e84722f90
15 changed files with 180 additions and 104 deletions

View File

@@ -167,10 +167,10 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
const osg::Node::NodeMask getCullMaskRight() const { return _cullMaskRight; }
/** Set the LOD bias for the CullVisitor to use.*/
void setLODBias(float bias) { _LODBias = bias; }
void setLODScale(float bias) { _LODScale = bias; }
/** Get the LOD bias.*/
float getLODBias() const { return _LODBias; }
float getLODScale() const { return _LODScale; }
/** Set the Small Feature Culling Pixel Size.*/
void setSmallFeatureCullingPixelSize(float value) { _smallFeatureCullingPixelSize=value; }
@@ -319,7 +319,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
CullVisitor::ComputeNearFarMode _computeNearFar;
osg::CullStack::CullingMode _cullingMode;
float _LODBias;
float _LODScale;
float _smallFeatureCullingPixelSize;
FusionDistanceMode _fusionDistanceMode;