Changeset 2301 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 03/30/07 11:57:27 (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/GameToolsToneMapDemo/include/GameToolsToneMapDemo.h
r2296 r2301 74 74 void chooseSceneManager() 75 75 { 76 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");77 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");76 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 77 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 78 78 } 79 79 -
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r2252 r2301 78 78 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 79 79 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 80 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 80 81 //ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 81 82 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Particles"); … … 99 100 if(scene == 1) 100 101 { 101 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");102 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");102 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 103 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 103 104 } 104 105 else if(scene == 2) … … 110 111 //createPostproc(); 111 112 std::string occlusion_cfg("OcclusionCulling.cfg"); 112 mSceneMgr->setWorldGeometry(occlusion_cfg);113 //mSceneMgr->setWorldGeometry(occlusion_cfg); 113 114 114 115 OgreIlluminationManager::getSingleton().setMainCamera(mCamera);
Note: See TracChangeset
for help on using the changeset viewer.