Changeset 1622 for GTP/trunk/Lib/Vis
- Timestamp:
- 10/13/06 09:44:12 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r1620 r1622 872 872 #ifdef ITEM_BUFFER 873 873 //-- item buffer 874 //-- item buffer:render objects using false colors874 //-- render objects using false colors 875 875 876 876 // Iterate through priorities … … 1202 1202 bool OcclusionCullingSceneManager::LoadViewCells(const String &filename) 1203 1203 { 1204 if (mViewCellsLoaded) return true; 1204 1205 // converter between view cell ids and Ogre entites 1205 1206 GtpVisibilityPreprocessor::IndexedBoundingBoxContainer iboxes; … … 1232 1233 // if no there is no view cell, set everything visible 1233 1234 //SetObjectsVisible(true); 1234 SetObjectsVisible(false);1235 SetObjectsVisible(false); 1235 1236 return; 1236 1237 } … … 1345 1346 { 1346 1347 //LogManager::getSingleton().logMessage("creating view cells geometry"); 1348 if (mViewCellsGeometryLoaded) return; 1347 1349 1348 1350 GtpVisibilityPreprocessor::ViewCellContainer viewCells = mViewCellsManager->GetViewCells(); -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1614 r1622 2014 2014 switch (mViewCellsStorage) 2015 2015 { 2016 case PVS_IN_LEAVES: //-- store pvs only in leaves 2017 { 2016 case PVS_IN_LEAVES: 2017 { 2018 //-- store pvs only in leaves 2018 2019 pvsSize = GetEntriesInPvsForLeafStorage(vc); 2019 2020 break; -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r1616 r1622 861 861 { 862 862 ViewCell *vc = (*vit).second; 863 863 864 if (!vc->IsLeaf()) // exchange only leaves 864 865 continue; 866 865 867 BspViewCell *bspVc = new BspViewCell(); 868 866 869 bspVc->SetId(vc->GetId()); 867 870 bspVc->SetPvs(vc->GetPvs()); … … 915 918 } 916 919 917 // if object space hierarchy already constructed918 920 if (mHierarchyManager) 919 921 { 922 // come here only if object space hierarchy already constructed 920 923 mHierarchyManager->mVspTree = mVspTree; 921 924 mVspTree->mHierarchyManager = mHierarchyManager;
Note: See TracChangeset
for help on using the changeset viewer.