- Timestamp:
- 08/23/06 20:35:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r1265 r1268 226 226 227 227 //-- load the scene from specified file 228 228 LogManager::getSingleton().logMessage("here5112"); 229 229 if (!LoadScene(mFilename)) 230 230 LogManager::getSingleton().logMessage("error loading scene"); 231 231 232 232 LogManager::getSingleton().logMessage("here6"); 233 233 GtpVisibility::VisibilityManager *mVisManager = NULL; 234 234 … … 236 236 if (mSceneMgr->getOption("VisibilityManager", &mVisManager)) 237 237 { 238 LogManager::getSingleton().logMessage("here7"); 238 239 GtpVisibility::VisibilityEnvironment *visEnv = mVisManager->GetVisibilityEnvironment(); 239 240 LogManager::getSingleton().logMessage("here7.04"); 240 241 if (!visEnv->LoadEnvironment(mEnvironmentFilename)) 241 { 242 {LogManager::getSingleton().logMessage("here7.l2"); 242 243 std::stringstream d; d << "failed loading environment from " << mEnvironmentFilename; 243 244 LogManager::getSingleton().logMessage(d.str()); 244 245 } 245 246 else //-- load environment options 246 { 247 {LogManager::getSingleton().logMessage("here8"); 247 248 //-- get view cells file name, load view cells only on demand 248 249 mViewCellsFilename = visEnv->getViewCellsFileName(); … … 256 257 LogManager::getSingleton().logMessage("error: no visibility scenemanager available"); 257 258 } 258 259 LogManager::getSingleton().logMessage("here9"); 259 260 // set camera position accordingly 260 261 mCamNode->setPosition(v); … … 774 775 LogManager::getSingleton().logMessage("error loading scene. loading terrain instead"); 775 776 } 777 LogManager::getSingleton().logMessage("here521"); 776 778 } 777 779 else if (strstr(filename.c_str(), ".dae"))
Note: See TracChangeset
for help on using the changeset viewer.