Changeset 1816 for GTP/trunk/App/Demos
- Timestamp:
- 11/28/06 12:50:34 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp
r1617 r1816 1868 1868 initOverlayElement(&mThresholdInfo, ext, "Threshold", top, ": 0"); top += vert_space; 1869 1869 initOverlayElement(&mTestGeometryForVisibleLeavesInfo, ext, 1870 "TestGeometryForVisibleLeaves", top, ": true"); top += vert_space;1870 "TestGeometryForVisibleLeaves", top, ": true"); top += vert_space; 1871 1871 initOverlayElement(&mUseDepthPassInfo, ext, "UseDepthPass", top, ": false"); top += vert_space; 1872 1872 initOverlayElement(&mAssumedVisibilityInfo, ext, "AssumedVisibility", top, ": 0"); top += vert_space; … … 1916 1916 initOverlayElement(&mQueryPatchVisibilityInfo , ext, "PatchVisibility", top, ": 0"); top += vert_space; 1917 1917 1918 1919 OverlayElement *queryPanel = OverlayManager::getSingleton(). 1920 getOverlayElement("Example/Visibility/Query/QueryPanel"); 1918 OverlayElement *queryPanel = 1919 OverlayManager::getSingleton().getOverlayElement("Example/Visibility/Query/QueryPanel"); 1921 1920 1922 1921 queryPanel->setHeight(top + border_height); -
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 } -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.h
r1609 r1816 200 200 StaticGeometry *mStaticGeometry; 201 201 202 203 202 private: 203 204 204 void chooseSceneManager(void); 205 205 };
Note: See TracChangeset
for help on using the changeset viewer.