- Timestamp:
- 11/28/06 12:50:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r1609 r1816 192 192 } 193 193 194 195 194 val = config.getSetting("ViewCells"); 196 195 … … 246 245 } 247 246 248 ///////////// ////////////247 ///////////// 249 248 // setup scene 250 249 251 //-- load the scene from specified file252 250 if (!LoadScene(mFilename)) 253 251 { … … 380 378 const int index) 381 379 { 382 383 384 385 380 mIVReader = new IVReader(); 386 381 387 382 Timer *timer = PlatformManager::getSingleton().createTimer(); 388 383 timer->reset(); 384 389 385 if (1) 390 386 { … … 405 401 mIVReader->collapse(); 406 402 OGRE_DELETE(mIVReader); 407 408 403 409 404 std::stringstream d; … … 458 453 void TestCullingTerrainApplication::createScene() 459 454 { 455 ///////// 460 456 //-- load scene 461 457 loadConfig("terrainCulling.cfg"); … … 505 501 } 506 502 507 508 setupGui(); //-- CEGUI setup 503 ////// 504 //-- CEGUI setup 505 setupGui(); 509 506 510 507 // occluder plane to test visibility … … 529 526 mSceneMgr->setShadowColour(ColourValue(0.5, 0.5, 0.5)); 530 527 531 ////////////// 77528 ////////////// 532 529 //-- terrain content setup 533 530 … … 786 783 { 787 784 // load collada files 788 // load iv files789 785 LoadSceneCollada(fn, mSceneMgr->getRootSceneNode(), i); 790 786 }
Note: See TracChangeset
for help on using the changeset viewer.