Changeset 1831 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 11/30/06 14:48:15 (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
r1683 r1831 144 144 mFrameListener= new ParticleDemoFrameListener(mWindow, 145 145 mCamera ); 146 mRoot->addFrameListener(mFrameListener); 146 mFrameListener->setPriority(1); 147 mRoot->addFrameListener(mFrameListener); 148 OgreIlluminationManager::getSingleton().setPriority(2); 147 149 mRoot->addFrameListener(&OgreIlluminationManager::getSingleton()); 148 150 } -
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r1671 r1831 80 80 virtual void chooseSceneManager(void) 81 81 { 82 ExampleApplication::chooseSceneManager(); 82 83 // Get the SceneManager, in this case a generic one 83 mSceneMgr = mRoot->createSceneManager("TerrainSceneManager");84 // mSceneMgr = mRoot->createSceneManager("TerrainSceneManager"); 84 85 } 85 86 … … 91 92 OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0)); 92 93 93 std::string terrain_cfg("terrain.cfg");94 mSceneMgr -> setWorldGeometry( terrain_cfg );94 //std::string terrain_cfg("terrain.cfg"); 95 //mSceneMgr -> setWorldGeometry( terrain_cfg ); 95 96 96 97 Root::getSingleton()._setCurrentSceneManager(mSceneMgr);
Note: See TracChangeset
for help on using the changeset viewer.