Changeset 2025 for GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem
- Timestamp:
- 01/23/07 08:57:19 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem
- Files:
-
- 1 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r1879 r2025 27 27 28 28 29 int scene = 2;29 int scene = 1; 30 30 31 31 // Listener class for frame updates … … 73 73 SceneNode* mainLightNode; 74 74 75 void loadResources(void) 76 { 77 // Initialise, parse scripts etc 78 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 79 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 80 //ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 81 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Particles"); 82 } 83 75 84 void createPostproc() 76 { 85 { 77 86 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 78 "G ameTools/Glow");87 "GTP/PostProc/Glow"); 79 88 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 80 "GameTools/Glow", true); 89 "GTP/PostProc/Glow", true); 90 91 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 92 "GTP/PostProc/ToneMap"); 93 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 94 "GTP/PostProc/ToneMap", true); 81 95 } 82 96 … … 143 157 144 158 145 ParticleSystem* pSys1 = mSceneMgr->createParticleSystem("psys1", "G ameTools/Big");159 ParticleSystem* pSys1 = mSceneMgr->createParticleSystem("psys1", "GTP/HPS/Smoke_Large"); 146 160 pSys1->setKeepParticlesInLocalSpace(false); 147 161 SceneNode *pSysNode = rootNode->createChildSceneNode("psys1");
Note: See TracChangeset
for help on using the changeset viewer.