Changeset 93 for trunk/VUT/Ogre/src


Ignore:
Timestamp:
05/11/05 17:51:44 (20 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/Ogre/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp

    r87 r93  
    145145} 
    146146 
    147 //} // namespace GtpVisibility 
    148147} // namespace Ogre 
  • trunk/VUT/Ogre/src/OgrePlatformHierarchyInterface.cpp

    r92 r93  
    7878        GtpVisibility::HierarchyInterface::InitFrame(root); 
    7979        mPreviousNode = NULL; 
     80 
    8081        SetCamera(cam); 
    8182} 
  • trunk/VUT/Ogre/src/OgreVisibilityOctreeSceneManager.cpp

    r92 r93  
    145145        return mVisibilityManager; 
    146146} 
     147//----------------------------------------------------------------------- 
    147148void VisibilityOctreeSceneManager::WriteLog() 
    148149{ 
    149150        std::stringstream d; 
    150151 
    151         d << "Algorithm type: " << mVisibilityManager->GetCullingManagerType() << ", " 
     152        d << "Algorithm: " << mVisibilityManager->GetCullingManagerType() << ", " 
    152153          << "Hierarchy nodes: " << mNumOctreeNodes << ", " << "Traversed nodes: " << mHierarchyInterface->GetNumTraversedNodes() << ", " 
    153154          << "Rendered nodes: " << mHierarchyInterface->GetNumRenderedNodes() << ", " 
  • trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp

    r87 r93  
    66#include <OgreRenderSystem.h> 
    77#include <OgreCamera.h> 
     8#include <OgreLogManager.h> 
    89 
    910#include <windows.h> 
     
    139140        return mVisibilityManager; 
    140141} 
     142//----------------------------------------------------------------------- 
     143void 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} 
    141156} // namespace Ogre 
Note: See TracChangeset for help on using the changeset viewer.