Changeset 2025 for GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsParticleDemo
- Timestamp:
- 01/23/07 08:57:19 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsParticleDemo
- Files:
-
- 1 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsParticleDemo/include/GameToolsParticleDemo.h
r1590 r2025 105 105 }*/ 106 106 107 void loadResources(void) 108 { 109 // Initialise, parse scripts etc 110 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 111 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 112 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 113 } 114 107 115 void createPostproc() 108 { 116 { 109 117 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 110 "G ameTools/Glow");118 "GTP/PostProc/Glow"); 111 119 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 112 "GameTools/Glow", true); 120 "GTP/PostProc/Glow", true); 121 122 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 123 "GTP/PostProc/ToneMap"); 124 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 125 "GTP/PostProc/ToneMap", true); 113 126 } 114 127
Note: See TracChangeset
for help on using the changeset viewer.