Changeset 13041 for OpenSceneGraph/trunk/src/osgDB/Output.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgDB/Output.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgDB/Output.cpp
r11474 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 */ … … 48 48 _numIndicesPerLine = 10; 49 49 _pathNameHint = AS_IS; 50 50 51 51 _outputTextureFiles = false; 52 52 _textureFileNameNumber = 0; … … 54 54 _outputShaderFiles = false; 55 55 _shaderFileNameNumber = 0; 56 56 57 57 _writeOutDefaultValues = false; 58 58 … … 77 77 78 78 // Comment out to avoid compile errors under new compilers, the int mode 79 // is now a replaced by a class to wrap the mode. 80 // This method is not used right now to hopefully nobody will miss it... 79 // is now a replaced by a class to wrap the mode. 80 // This method is not used right now to hopefully nobody will miss it... 81 81 // Jan 2002. 82 82 // void Output::open(const char *name,int mode) … … 195 195 { 196 196 // need to think about how best to implement this first... 197 OSG_WARN<<"Warning: Output::getFileNameForOutput() does not support FULL_PATH yet."<< std::endl; 197 OSG_WARN<<"Warning: Output::getFileNameForOutput() does not support FULL_PATH yet."<< std::endl; 198 198 return filename; 199 199 } … … 201 201 { 202 202 // need to think about how best to implement this as well... 203 OSG_WARN<<"Warning: Output::getFileNameForOutput() does not support RELATIVE_PATH yet."<< std::endl; 203 OSG_WARN<<"Warning: Output::getFileNameForOutput() does not support RELATIVE_PATH yet."<< std::endl; 204 204 return filename; 205 205 } … … 223 223 fileName += o.str(); 224 224 } 225 225 226 226 fileName += ".dds"; 227 227 ++_textureFileNameNumber; 228 228 229 229 return fileName; 230 230 } … … 239 239 fileName += o.str(); 240 240 } 241 241 242 242 fileName += ".glsl"; 243 243 ++_shaderFileNameNumber; 244 244 245 245 return fileName; 246 246 }
