Ignore:
Timestamp:
03/22/07 18:24:13 (17 years ago)
Author:
mattausch
Message:

removed dependency on ogre in gtpvisibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp

    r2278 r2280  
    11#include "RandomUpdateCullingManager.h" 
    2 #include <OgreLogManager.h> 
     2#include <time.h> 
     3#include "CullingLogManager.h" 
     4 
    35 
    46namespace GtpVisibility { 
     
    3133        ///////////// 
    3234        //-- PART 1: process finished occlusion queries 
    33  
     35        CullingLogManager::GetSingleton()->LogMessage("here55"); 
    3436        while (!mHierarchyInterface->GetQueue()->empty() || !queryQueue.empty()) 
    3537        { 
     
    113115                                                Ogre::LogManager::getSingleton().logMessage("g"); 
    114116                                } 
    115  
     117                                 
    116118                                if (mHierarchyInterface->IsNodeFullyVisible(node)) 
    117119                                {Ogre::LogManager::getSingleton().logMessage("here8"); 
     
    183185                        mThreshold = RAND_MAX; 
    184186        } 
    185         //std::stringstream d; d << "*** setting assumed vis: " << mAssumedVisibility; Ogre::LogManager::getSingleton().logMessage(d.str()); 
     187 
    186188} 
    187189//----------------------------------------------------------------------- 
    188190inline bool RandomUpdateCullingManager::DecideVisible(HierarchyNode *node) const 
    189191{ 
    190         //bool result = rand() < mThreshold; std::stringstream d; d << "Assumed vis: " << mAssumedVisibility << ", result: " << result; 
    191         //Ogre::LogManager::getSingleton().logMessage(d.str()); return result; 
    192          
    193192        return rand() < mThreshold; 
    194193} 
Note: See TracChangeset for help on using the changeset viewer.