Changeset 2544 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Timestamp:
- 08/22/07 08:01:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r2543 r2544 1686 1686 const bool finalizeViewCells = false; 1687 1687 1688 1688 1689 ///////////// 1689 1690 //-- load the view cells assigning the found objects to the pvss … … 1741 1742 { 1742 1743 GtpVisibilityPreprocessor::Intersectable *obj = pit.Next(); 1743 // no associated geometry found 1744 if (!obj) continue; 1745 SetObjectVisible(obj, loadObjects); 1744 if (obj) SetObjectVisible(obj, loadObjects); 1746 1745 } 1747 1746 } … … 1757 1756 GtpVisibilityPreprocessor::ViewCell *viewCell = 1758 1757 mViewCellsManager->GetViewCell(viewPoint); 1758 1759 //std::stringstream d; d << "vp: " << viewPoint << " vc: " << viewCell; 1760 //LogManager::getSingleton().logMessage(d.str()); 1761 1759 1762 1760 1763 // view cell did not change => don't change pvs … … 1774 1777 void OcclusionCullingSceneManager::CreateViewCellsGeometry() 1775 1778 { 1776 //LogManager::getSingleton().logMessage("creating view cells geometry");1777 1779 if (mViewCellsGeometryLoaded) return; 1778 1780 … … 1835 1837 } 1836 1838 } 1837 1838 1839 //------------------------------------------------------------------------- 1839 1840 void OcclusionCullingSceneManager::UpdateVisibility(Entity *ent)
Note: See TracChangeset
for help on using the changeset viewer.