Changeset 13041 for OpenSceneGraph/trunk/src/osg/CullSettings.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/CullSettings.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/CullSettings.cpp
r11797 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 65 65 _depthSortImpostorSprites = rhs._depthSortImpostorSprites; 66 66 _impostorPixelErrorThreshold = rhs._impostorPixelErrorThreshold; 67 _numFramesToKeepImpostorSprites = rhs._numFramesToKeepImpostorSprites; 67 _numFramesToKeepImpostorSprites = rhs._numFramesToKeepImpostorSprites; 68 68 69 69 _cullMask = rhs._cullMask; … … 99 99 100 100 char *ptr; 101 101 102 102 if ((ptr = getenv("OSG_COMPUTE_NEAR_FAR_MODE")) != 0) 103 103 { … … 107 107 108 108 OSG_INFO<<"Set compute near far mode to "<<_computeNearFar<<std::endl; 109 109 110 110 } 111 111 112 112 if ((ptr = getenv("OSG_NEAR_FAR_RATIO")) != 0) 113 113 { … … 116 116 OSG_INFO<<"Set near/far ratio to "<<_nearFarRatio<<std::endl; 117 117 } 118 118 119 119 } 120 120 … … 151 151 { 152 152 out<<"CullSettings: "<<this<<" {"<<std::endl; 153 153 154 154 out<<" _inheritanceMask = "<<_inheritanceMask<<std::endl; 155 155 out<<" _inheritanceMaskActionOnAttributeSetting = "<<_inheritanceMaskActionOnAttributeSetting<<std::endl; … … 167 167 out<<" _cullMaskLeft = "<<_cullMaskLeft<<std::endl; 168 168 out<<" _cullMaskRight = "<<_cullMaskRight<<std::endl; 169 169 170 170 out<<"{"<<std::endl; 171 171 }
