Ignore:
Timestamp:
07/03/07 22:18:15 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/SpaceStation/include/SpaceStation.h

    r2520 r2525  
    2929 
    3030bool highQuality = true; 
     31bool chc = false; 
    3132 
    3233Scene* NXScene = 0; 
     
    483484        void chooseSceneManager() 
    484485        { 
    485                 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 
    486                 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 
     486                if(chc) 
     487                        mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 
     488                else 
     489                        mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 
    487490        } 
    488491 
     
    492495 
    493496                std::string occlusion_cfg("OcclusionCulling.cfg"); 
     497                if(chc) 
    494498                mSceneMgr->setWorldGeometry(occlusion_cfg); 
    495499                 
Note: See TracChangeset for help on using the changeset viewer.