Changeset 1610 for GTP/trunk/Lib/Vis/OnlineCullingCHC
- Timestamp:
- 10/11/06 05:35:33 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r1606 r1610 72 72 void OcclusionCullingSceneManager::InitDepthPass() 73 73 { 74 MaterialPtr depthMat = MaterialManager::getSingleton().getByName("Visibility/DepthPass"); 74 MaterialPtr depthMat = 75 MaterialManager::getSingleton().getByName("Visibility/DepthPass"); 75 76 76 77 if (depthMat.isNull()) … … 106 107 { 107 108 // Init 108 itemBufferMat = MaterialManager::getSingleton().create("Visibility/ItemBufferPass", 109 itemBufferMat = 110 MaterialManager::getSingleton().create("Visibility/ItemBufferPass", 109 111 ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 110 112 … … 132 134 ResourceGroupManager::getSingleton().getWorldResourceGroupName()); 133 135 } 136 134 137 destroyLevelIndexes(); 135 138 mTerrainPages.clear(); 139 136 140 // Load the configuration 137 141 loadConfig(stream); … … 361 365 void OcclusionCullingSceneManager::_renderVisibleObjects() 362 366 { 363 364 367 if (mNormalExecution) 365 368 { 366 369 // the standard octree rendering mode 367 370 TerrainSceneManager::_renderVisibleObjects(); 371 getRenderQueue()->clear(mDeleteQueueAfterRendering); 368 372 return; 369 373 } … … 1123 1127 // if no there is no view cell, set everything visible 1124 1128 SetObjectsVisible(true); 1129 1125 1130 return; 1126 1131 } … … 1134 1139 for (oit = vc->GetPvs().mEntries.begin(); oit != oit_end; ++ oit) 1135 1140 { 1141 // no associated geometry found 1136 1142 if (!(*oit).first) continue; 1137 1143 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/README.txt
r1246 r1610 51 51 52 52 53 8) start TerrainExampleApplication for testing 53 8) TestCullingTerrain is the test application 54 55 take the path to the Ogre Release as working directory, e.g., 56 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 57 58 start TestCullingTerrain
Note: See TracChangeset
for help on using the changeset viewer.