Changeset 2555 for GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
- Timestamp:
- 10/05/07 15:36:52 (17 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
r2544 r2555 17 17 { 18 18 "Coherent Hierarchical Culling", 19 "Coherent Hierarchical Culling++", 20 "Stop and Wait Culling", 19 21 "View Frustum Culling", 20 "Random Update Culling",21 "Stop and Wait Culling",22 22 "Standard Rendering" 23 23 }; … … 28 28 "CHC", 29 29 "VFC", 30 " RUC",30 "CHC++", 31 31 "SWC", 32 32 "DEF", … … 258 258 259 259 if (isNormalExecution) 260 {261 260 // no algorithm 262 261 mCurrentAlgorithm = GtpVisibility::VisibilityEnvironment::NUM_CULLING_MANAGERS; 263 }264 262 else 265 {266 263 mSceneMgr->getOption("Algorithm", &mCurrentAlgorithm); 267 }268 264 269 265 // apply the chosen culling algorithm -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2544 r2555 102 102 Radian rnd = Radian(Math::UnitRandom() * Math::PI * rotate_factor); 103 103 104 //mEntity->getParentSceneNode()->rotate();105 104 parent->yaw(rnd); 106 105 } … … 165 164 mIVReader(NULL), 166 165 mFilename("terrain"), 167 mViewCellsFilename("") ,168 mAlgorithm(GtpVisibility::VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING)166 mViewCellsFilename("") 167 //,mAlgorithm(GtpVisibility::VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING) 169 168 { 170 169 } -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.h
r1816 r2555 148 148 String mEnvironmentFilename; 149 149 150 int mAlgorithm;150 //int mAlgorithm; 151 151 152 152 Vector3 mInitialPosition;
Note: See TracChangeset
for help on using the changeset viewer.