- Timestamp:
- 01/31/07 08:31:27 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreBvHierarchySceneManager.cpp
r2066 r2067 1329 1329 // the scene objects using the bounding boxes 1330 1330 mViewCellsManager = 1331 GtpVisibilityPreprocessor::ViewCellsManager::LoadViewCells(filename, &mObjects, false, &bconverter); 1331 GtpVisibilityPreprocessor::ViewCellsManager:: 1332 LoadViewCells(filename, &mObjects, false, &bconverter); 1332 1333 1333 1334 return (mViewCellsManager != NULL); -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r2066 r2067 432 432 GtpVisibilityPreprocessor::Intersectable *obj = entry.mObject; 433 433 434 if (obj->Type() ==434 if (obj->Type() != 435 435 GtpVisibilityPreprocessor::Intersectable::ENGINE_INTERSECTABLE) 436 continue; 437 438 EngineIntersectable *oi = static_cast<EngineIntersectable *>(obj); 439 440 EntityContainer *entries = oi->GetItem(); 441 EntityContainer::const_iterator eit, eit_end = entries->end(); 442 443 for (eit = entries->begin(); eit != eit_end; ++ eit) 436 444 { 437 EngineIntersectable *oi = static_cast<EngineIntersectable *>(obj); 438 439 EntityContainer *entries = oi->GetItem(); 440 EntityContainer::const_iterator eit, eit_end = entries->end(); 441 442 for (eit = entries->begin(); eit != eit_end; ++ eit) 443 { 444 (*eit)->setUserAny(Any((int)0)); 445 } 445 (*eit)->setUserAny(Any((int)0)); 446 446 } 447 447 } … … 1575 1575 if (mViewCellsGeometryLoaded) return; 1576 1576 1577 GtpVisibilityPreprocessor::ViewCellContainer viewCells = mViewCellsManager->GetViewCells(); 1577 GtpVisibilityPreprocessor::ViewCellContainer viewCells = 1578 mViewCellsManager->GetViewCells(); 1578 1579 1579 1580 GtpVisibilityPreprocessor::ViewCellContainer::const_iterator it, it_end = viewCells.end(); … … 1582 1583 GtpVisibilityPreprocessor::ViewCell *viewCell = *it; 1583 1584 1584 //std::stringstream str; 1585 //str << "processing view cell with id : " << viewCell->GetId(); 1586 //LogManager::getSingleton().logMessage(str.str()); 1587 ManualObject *manual = OgreTypeConverter::ConvertToOgre(viewCell->GetMesh(), this); 1585 ManualObject *manual = 1586 OgreTypeConverter::ConvertToOgre(viewCell->GetMesh(), this); 1588 1587 1589 1588 if (manual)
Note: See TracChangeset
for help on using the changeset viewer.