Changeset 2439 for GTP/trunk/App/Demos
- Timestamp:
- 06/11/07 11:03:28 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h
r2436 r2439 95 95 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMap"); 96 96 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMapDemo"); 97 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Demo_Towers"); 97 98 } 98 99 … … 175 176 OgreIlluminationManager::getSingleton().initTechniques(); 176 177 }*/ 177 /* 178 178 179 void createScene(void) ///TOWERS 179 180 { … … 181 182 //mSceneMgr->setWorldGeometry(occlusion_cfg); 182 183 183 createPostproc();184 //createPostproc(); 184 185 185 186 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); … … 188 189 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GTP/Basic/Depth"); 189 190 OgreIlluminationManager::getSingleton().setFocusingSM(true); 190 OgreIlluminationManager::getSingleton().setBlurShadowMap( false);191 OgreIlluminationManager::getSingleton().setUseLISPSM( true);191 OgreIlluminationManager::getSingleton().setBlurShadowMap(true); 192 OgreIlluminationManager::getSingleton().setUseLISPSM(false); 192 193 193 194 Root::getSingleton()._setCurrentSceneManager(mSceneMgr); … … 226 227 227 228 OgreIlluminationManager::getSingleton().initTechniques(); 228 } */229 229 } 230 /* 230 231 void createScene(void) ///PATHMAP Hangar 231 { 232 { 232 233 std::string occlusion_cfg("OcclusionCulling.cfg"); 233 234 //mSceneMgr->setWorldGeometry(occlusion_cfg); … … 284 285 mainLight->setAttenuation(200, 0, 0, 1); 285 286 mainLightNode->attachObject(mainLight); 286 /* 287 287 288 blueLight = mSceneMgr->createLight("BlueLight"); 288 289 blueLight->setType(Light::LT_SPOTLIGHT); … … 299 300 blueLight->setSpotlightFalloff(1); 300 301 blueLight->setAttenuation(2000, 0, 0, 1); 301 blueLightNode->attachObject(blueLight); */302 blueLightNode->attachObject(blueLight); 302 303 303 304 304 305 OgreIlluminationManager::getSingleton().initTechniques(); 305 306 } 306 307 */ 307 308 void createPlane(Ogre::String _name, Ogre::String _material, Ogre::Vector3 _pos, Ogre::Vector2 _size, Ogre::Vector2 _subdivisions = Ogre::Vector2(1,1)) 308 309 {
Note: See TracChangeset
for help on using the changeset viewer.