Changeset 2296 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 03/27/07 11:56:17 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/CausticTest/include/CausticTest.h
r2267 r2296 211 211 // Material* newMat = mat->clone(mat->getName() + "_new").getPointer(); 212 212 213 sphere->setMaterialName("GTP/Caustic/Glass _PointSprite");213 sphere->setMaterialName("GTP/Caustic/Glass"); 214 214 sphereNode = rootNode->createChildSceneNode(); 215 215 //sphereNode->setScale(0.1, 0.1, 0.1);//sphere -
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsToneMapDemo/include/GameToolsToneMapDemo.h
r2175 r2296 67 67 // Initialise, parse scripts etc 68 68 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 69 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 69 70 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 70 71 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); -
GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h
r2267 r2296 138 138 139 139 140 createPlane("p","GTP/Basic/ShadowRec iever/ShadowAccum",Vector3(0,-1.3,0),Vector2(20,20),Vector2(1,1));140 createPlane("p","GTP/Basic/ShadowReceiver/ShadowAccum",Vector3(0,-1.3,0),Vector2(20,20),Vector2(1,1)); 141 141 142 142 Light* mainLight = mSceneMgr->createLight("MainLight"); … … 163 163 OgreIlluminationManager::getSingleton().initTechniques(); 164 164 }*/ 165 /* 165 166 166 void createScene(void) ///TOWERS 167 167 { … … 173 173 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); 174 174 OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0)); 175 OgreIlluminationManager::getSingleton().setShadowMapSize( 512);176 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GTP/Basic/Depth CCW");175 OgreIlluminationManager::getSingleton().setShadowMapSize(700); 176 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GTP/Basic/Depth"); 177 177 OgreIlluminationManager::getSingleton().setFocusingSM(true); 178 OgreIlluminationManager::getSingleton().setShadowMapSize(700); 179 OgreIlluminationManager::getSingleton().setBlurShadowMap(true); 178 OgreIlluminationManager::getSingleton().setBlurShadowMap(false); 180 179 OgreIlluminationManager::getSingleton().setUseLISPSM(true); 181 180 … … 215 214 216 215 OgreIlluminationManager::getSingleton().initTechniques(); 217 } */216 }/* 218 217 219 218 void createScene(void) ///PATHMAP Hangar … … 253 252 s.parseEntryPoints("prmEntryPoints.text"); 254 253 255 //createPlane("p","GTP/Basic/ShadowRec iever/Depth",Vector3(0,-0.3,0),Vector2(150,150));254 //createPlane("p","GTP/Basic/ShadowReceiver/Depth",Vector3(0,-0.3,0),Vector2(150,150)); 256 255 257 256 mainLight = mSceneMgr->createLight("MainLight"); … … 271 270 272 271 OgreIlluminationManager::getSingleton().initTechniques(); 273 } 272 }*/ 274 273 275 274 void createPlane(Ogre::String _name, Ogre::String _material, Ogre::Vector3 _pos, Ogre::Vector2 _size, Ogre::Vector2 _subdivisions = Ogre::Vector2(1,1))
Note: See TracChangeset
for help on using the changeset viewer.