Changeset 2402 for GTP/trunk/Lib
- Timestamp:
- 06/04/07 15:53:56 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBiHierarchy.h
r2390 r2402 608 608 BIHRM_GTP_SWC, 609 609 BIHRM_GTP_CHC, 610 BIHRM_GTP_RU, 610 611 // invalid modes, just for convenience 611 612 BIHRM_SIZE, -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreBiHierarchySceneManager.cpp
r2348 r2402 213 213 .setOption("Algorithm", &cmt); 214 214 } 215 else if (rm == BiHierarchy::BIHRM_GTP_RU) 216 { 217 mRenderMethod = rm; 218 int cmt = GtpVisibility::VisibilityEnvironment::RANDOM_UPDATE_CULLING; 219 return VisibilityOptionsManager(mVisibilityManager, mHierarchyInterface) 220 .setOption("Algorithm", &cmt); 221 } 215 222 else 216 223 { … … 233 240 else if (val == GtpVisibility::VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING) 234 241 mRenderMethod = BiHierarchy::BIHRM_GTP_CHC; 242 else if (val == GtpVisibility::VisibilityEnvironment::RANDOM_UPDATE_CULLING) 243 mRenderMethod = BiHierarchy::BIHRM_GTP_RU; 235 244 // default, should never happen 236 245 else -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r2360 r2402 970 970 getRenderQueue()->clear(flushQueue); 971 971 972 973 972 if (0) WriteLog(); // write out stats 974 973 }
Note: See TracChangeset
for help on using the changeset viewer.