Changeset 93 for trunk/VUT/Ogre/src
- Timestamp:
- 05/11/05 17:51:44 (20 years ago)
- Location:
- trunk/VUT/Ogre/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
r87 r93 145 145 } 146 146 147 //} // namespace GtpVisibility148 147 } // namespace Ogre -
trunk/VUT/Ogre/src/OgrePlatformHierarchyInterface.cpp
r92 r93 78 78 GtpVisibility::HierarchyInterface::InitFrame(root); 79 79 mPreviousNode = NULL; 80 80 81 SetCamera(cam); 81 82 } -
trunk/VUT/Ogre/src/OgreVisibilityOctreeSceneManager.cpp
r92 r93 145 145 return mVisibilityManager; 146 146 } 147 //----------------------------------------------------------------------- 147 148 void VisibilityOctreeSceneManager::WriteLog() 148 149 { 149 150 std::stringstream d; 150 151 151 d << "Algorithm type: " << mVisibilityManager->GetCullingManagerType() << ", "152 d << "Algorithm: " << mVisibilityManager->GetCullingManagerType() << ", " 152 153 << "Hierarchy nodes: " << mNumOctreeNodes << ", " << "Traversed nodes: " << mHierarchyInterface->GetNumTraversedNodes() << ", " 153 154 << "Rendered nodes: " << mHierarchyInterface->GetNumRenderedNodes() << ", " -
trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp
r87 r93 6 6 #include <OgreRenderSystem.h> 7 7 #include <OgreCamera.h> 8 #include <OgreLogManager.h> 8 9 9 10 #include <windows.h> … … 139 140 return mVisibilityManager; 140 141 } 142 //----------------------------------------------------------------------- 143 void VisibilityTerrainSceneManager::WriteLog() 144 { 145 std::stringstream d; 146 147 d << "Algorithm type: " << mVisibilityManager->GetCullingManagerType() << ", " 148 << "Hierarchy nodes: " << mNumOctreeNodes << ", " << "Traversed nodes: " << mHierarchyInterface->GetNumTraversedNodes() << ", " 149 << "Rendered nodes: " << mHierarchyInterface->GetNumRenderedNodes() << ", " 150 << "Query culled nodes: " << mVisibilityManager->GetCullingManager()->GetNumQueryCulledNodes() << ", " 151 << "Frustum culled nodes: " << mVisibilityManager->GetCullingManager()->GetNumFrustumCulledNodes() << ", " 152 << "Queries issued: " << mVisibilityManager->GetCullingManager()->GetNumQueriesIssued() << "\n"; 153 154 LogManager::getSingleton().logMessage(d.str()); 155 } 141 156 } // namespace Ogre
Note: See TracChangeset
for help on using the changeset viewer.