Changeset 191 for osgVisual/trunk
- Timestamp:
- Jan 11, 2011, 10:10:59 AM (14 years ago)
- Location:
- osgVisual/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/CMakeLists.txt
r183 r191 374 374 SET(USERFILE_COMMAND_DEBUG "$(TargetPath)" CACHE STRING "Command to execute on debugging (VS Project settings)" ) 375 375 SET(USERFILE_WORKING_DIRECTORY_DEBUG "bin" CACHE STRING "Working directory on debugging (VS Project settings)" ) 376 SET(USERFILE_COMMAND_ARGUMENTS_DEBUG " --window 100 100 800 600 D:/OpenSceneGraph/VPB-Testdatensatz/DB_Small/database.ive - p salzburg.path --config osgVisualConfig.xml" CACHE STRING "Command arguments (VS Project settings)" )376 SET(USERFILE_COMMAND_ARGUMENTS_DEBUG " --window 100 100 800 600 D:/OpenSceneGraph/VPB-Testdatensatz/DB_Small/database.ive --config osgVisualConfig.xml" CACHE STRING "Command arguments (VS Project settings)" ) 377 377 SET(USERFILE_REMOTE_MACHINE_DEBUG ${USER_NAME} CACHE STRING "Remote Debugging Machine (VS Project settings)") 378 378 IF (DESTINATION_ARCH STREQUAL "x64") -
osgVisual/trunk/bin/osgVisualConfig.xml
r189 r191 39 39 <scenery> 40 40 <terrain filename="d:\my\path\database.ive"></terrain> 41 <animationpath filename="salzburg erEcke.path"></animationpath>41 <animationpath filename="salzburg.path"></animationpath> 42 42 <models> 43 43 <model filename="cessna" type="plain" label="TestText!" dynamic="yes"> -
osgVisual/trunk/bin/visual_master.bat
r175 r191 1 osgVisual.exe -c osgVisualconfig.xml -C center --window 950 50 600 350 J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive -p salzburg.path1 osgVisual.exe -c osgVisualconfig.xml -C center --window 950 50 600 350 J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive -
osgVisual/trunk/bin/visual_standalone.bat
r123 r191 1 osgVisual.exe -C center --window 100 100 800 600 J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive -p watzmann.path1 osgVisual.exe -C center --window 100 100 800 600 J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive -
osgVisual/trunk/include/util/visual_util.h
r190 r191 253 253 static xmlNode* getSceneryXMLConfig(std::string configFilename, xmlDoc*& doc); 254 254 255 /** 256 * \brief This function returns the path of the terrainfile specified in the configuration file. 257 * 258 * @param configFilename : Filename of the XML configuration file. 259 * @return : On error an empty string, otherwise the terrain path specified in the configuration file. 260 */ 255 261 static std::string getTerrainFromXMLConfig(std::string configFilename); 256 262 263 /** 264 * \brief This function returns the path of the animationpath file specified in the configuration file. 265 * 266 * @param configFilename : Filename of the XML configuration file. 267 * @return : On error an empty string, otherwise the path of the animationpath specified in the configuration file. 268 */ 257 269 static std::string getAnimationPathFromXMLConfig(std::string configFilename); 258 270 -
osgVisual/trunk/src/core/visual_core.cpp
r189 r191 231 231 232 232 // Animation path manipulator 233 std::string pathfile;233 std::string pathfile = util::getAnimationPathFromXMLConfig(configFilename); 234 234 char keyForAnimationPath = '8'; 235 while (arguments.read("-p",pathfile))235 if( pathfile != "" ) 236 236 { 237 237 osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile);
Note: See TracChangeset
for help on using the changeset viewer.