Changeset 2252 for GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem
- Timestamp:
- 03/14/07 16:28:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r2191 r2252 99 99 if(scene == 1) 100 100 { 101 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");102 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");101 // mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 102 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 103 103 } 104 104 else if(scene == 2) … … 109 109 { 110 110 //createPostproc(); 111 //std::string occlusion_cfg("OcclusionCulling.cfg");112 //mSceneMgr->setWorldGeometry(occlusion_cfg);111 std::string occlusion_cfg("OcclusionCulling.cfg"); 112 mSceneMgr->setWorldGeometry(occlusion_cfg); 113 113 114 114 OgreIlluminationManager::getSingleton().setMainCamera(mCamera);
Note: See TracChangeset
for help on using the changeset viewer.