Changeset 2025 for GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsToneMapDemo
- Timestamp:
- 01/23/07 08:57:19 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsToneMapDemo
- Files:
-
- 1 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsToneMapDemo/include/GameToolsToneMapDemo.h
r1831 r2025 63 63 SceneNode* mainLightNode; 64 64 65 void loadResources(void) 66 { 67 // Initialise, parse scripts etc 68 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 69 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 70 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 71 } 65 72 66 73 void createPostproc() 67 { 68 74 { 69 75 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 70 "G ameTools/Glow");76 "GTP/PostProc/Glow"); 71 77 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 72 "G ameTools/Glow", true);78 "GTP/PostProc/Glow", true); 73 79 74 80 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 75 "G ameTools/ToneMap");81 "GTP/PostProc/ToneMap"); 76 82 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 77 "GameTools/ToneMap", true); 78 79 80 83 "GTP/PostProc/ToneMap", true); 81 84 } 82 85 83 84 86 void createScene(void) 85 87 { … … 98 100 // Skybox 99 101 mSceneMgr->setSkyBox(true, "Examples/MorningSkyBox"); 100 SceneNode* rootNode = mSceneMgr->getRootSceneNode(); 101 102 102 SceneNode* rootNode = mSceneMgr->getRootSceneNode(); 103 103 104 //init objects 104 105 Entity* kupola = mSceneMgr->createEntity("kupola", "kupola.mesh");
Note: See TracChangeset
for help on using the changeset viewer.