Changeset 2509 for GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo/include
- Timestamp:
- 07/03/07 15:49:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo/include/ShadowDemo.h
r2493 r2509 93 93 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 94 94 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 95 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMap");96 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMapDemo");95 //ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMap"); 96 //ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_PathMapDemo"); 97 97 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Demo_Towers"); 98 98 } … … 176 176 OgreIlluminationManager::getSingleton().initTechniques(); 177 177 }*/ 178 /* 178 179 179 void createScene(void) ///TOWERS 180 180 { … … 190 190 OgreIlluminationManager::getSingleton().setFocusingSM(true); 191 191 OgreIlluminationManager::getSingleton().setBlurShadowMap(true); 192 OgreIlluminationManager::getSingleton().setUseLISPSM( false);192 OgreIlluminationManager::getSingleton().setUseLISPSM(true); 193 193 194 194 Root::getSingleton()._setCurrentSceneManager(mSceneMgr); 195 mCamera->setPosition( 0,0,0);195 mCamera->setPosition(-10,20,-20); 196 196 //mCamera->setPosition(0,100,0); 197 //mCamera->lookAt(0,-1,0);197 mCamera->lookAt(10,0,20); 198 198 mCamera->setFOVy(Radian(Degree(80))); 199 199 mCamera->setNearClipDistance(0.01); … … 227 227 228 228 OgreIlluminationManager::getSingleton().initTechniques(); 229 } */230 229 } 230 /* 231 231 void createScene(void) ///PATHMAP Hangar 232 232 { … … 305 305 OgreIlluminationManager::getSingleton().initTechniques(); 306 306 } 307 307 */ 308 308 void createPlane(Ogre::String _name, Ogre::String _material, Ogre::Vector3 _pos, Ogre::Vector2 _size, Ogre::Vector2 _subdivisions = Ogre::Vector2(1,1)) 309 309 {
Note: See TracChangeset
for help on using the changeset viewer.