Ignore:
Timestamp:
03/19/07 09:37:44 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r2175 r2260  
    192192        void chooseSceneManager() 
    193193        { 
    194                 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 
    195                 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 
     194                //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 
     195                mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 
    196196        } 
    197197 
     
    199199    { 
    200200                createPostproc(); 
     201                 
     202                std::string occlusion_cfg("OcclusionCulling.cfg"); 
     203                mSceneMgr->setWorldGeometry(occlusion_cfg); 
    201204                 
    202205                OgreIlluminationManager::getSingleton().setMainCamera(mCamera); 
Note: See TracChangeset for help on using the changeset viewer.