Changeset 2555 for GTP/trunk/App/Demos


Ignore:
Timestamp:
10/05/07 15:36:52 (17 years ago)
Author:
mattausch
Message:

added partial implementation of chc++. problem: bounding box rendering in Ogre is VERY slow

Location:
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp

    r2544 r2555  
    1717{ 
    1818        "Coherent Hierarchical Culling", 
     19        "Coherent Hierarchical Culling++",  
     20        "Stop and Wait Culling", 
    1921        "View Frustum Culling",  
    20         "Random Update Culling",  
    21         "Stop and Wait Culling", 
    2222        "Standard Rendering" 
    2323}; 
     
    2828        "CHC", 
    2929        "VFC", 
    30         "RUC", 
     30        "CHC++", 
    3131        "SWC", 
    3232        "DEF", 
     
    258258         
    259259        if (isNormalExecution) 
    260         { 
    261260                // no algorithm 
    262261                mCurrentAlgorithm = GtpVisibility::VisibilityEnvironment::NUM_CULLING_MANAGERS; 
    263         } 
    264262        else 
    265         { 
    266263                mSceneMgr->getOption("Algorithm", &mCurrentAlgorithm); 
    267         } 
    268264         
    269265        // apply the chosen culling algorithm 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2544 r2555  
    102102                                Radian rnd = Radian(Math::UnitRandom() * Math::PI * rotate_factor); 
    103103 
    104                                 //mEntity->getParentSceneNode()->rotate(); 
    105104                                parent->yaw(rnd);                                                
    106105                        } 
     
    165164mIVReader(NULL), 
    166165mFilename("terrain"), 
    167 mViewCellsFilename(""), 
    168 mAlgorithm(GtpVisibility::VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING) 
     166mViewCellsFilename("") 
     167//,mAlgorithm(GtpVisibility::VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING) 
    169168{ 
    170169} 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.h

    r1816 r2555  
    148148        String mEnvironmentFilename; 
    149149         
    150         int mAlgorithm; 
     150        //int mAlgorithm; 
    151151 
    152152        Vector3 mInitialPosition; 
Note: See TracChangeset for help on using the changeset viewer.