Changeset 2252 for GTP/trunk/App
- Timestamp:
- 03/14/07 16:28:04 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/CausticTest/include/CausticTest.h
r2201 r2252 149 149 void chooseSceneManager() 150 150 { 151 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");152 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");151 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 152 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 153 153 } 154 154 … … 181 181 void createScene(void) 182 182 { 183 //std::string occlusion_cfg("OcclusionCulling.cfg");184 //mSceneMgr->setWorldGeometry(occlusion_cfg);183 std::string occlusion_cfg("OcclusionCulling.cfg"); 184 mSceneMgr->setWorldGeometry(occlusion_cfg); 185 185 //createPostproc(); 186 186 OgreIlluminationManager::getSingleton().setBlurShadowMap(true); -
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.