Changeset 2175 for GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem
- Timestamp:
- 02/28/07 18:18:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r2025 r2175 95 95 } 96 96 97 virtual void chooseSceneManager(void)98 97 void chooseSceneManager() 98 { 99 99 if(scene == 1) 100 ExampleApplication::chooseSceneManager(); 100 { 101 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 102 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 103 } 101 104 else if(scene == 2) 102 mSceneMgr = mRoot->createSceneManager("TerrainSceneManager");103 105 mSceneMgr = mRoot->createSceneManager("TerrainSceneManager"); 106 } 104 107 105 108 void createScene(void) … … 200 203 mFrameListener= new ParticleDemoFrameListener(mWindow, 201 204 mCamera , mainLightNode); 202 mFrameListener->setPriority( 1);203 OgreIlluminationManager::getSingleton().setPriority( 2);205 mFrameListener->setPriority(2); 206 OgreIlluminationManager::getSingleton().setPriority(10); 204 207 mRoot->addFrameListener(mFrameListener); 205 208 mRoot->addFrameListener(&OgreIlluminationManager::getSingleton());
Note: See TracChangeset
for help on using the changeset viewer.