Changeset 2509 for GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo
- Timestamp:
- 07/03/07 15:49:39 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo
- Files:
-
- 3 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 { -
GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo/scripts/ShadowDemo.7.10.vcproj
r2493 r2509 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="OgreMain_d.lib IllumModule_Ogre.lib IllumModule.lib" 38 OutputFile="$(OutDir)/ PRMDemo.exe"38 OutputFile="$(OutDir)/ShadowMapDemo.exe" 39 39 LinkIncremental="2" 40 40 AdditionalLibraryDirectories="..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\bin\Debug;"$(OGRE_PATH)\OgreMain\lib\$(ConfigurationName)";..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\bin\Debug" … … 102 102 Name="VCLinkerTool" 103 103 AdditionalDependencies="OgreMain.lib IllumModule_Ogre.lib IllumModule.lib" 104 OutputFile="$(OutDir)/ PRMDemo.exe"104 OutputFile="$(OutDir)/ShadowMapDemo.exe" 105 105 LinkIncremental="1" 106 106 AdditionalLibraryDirectories="..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\bin\Release;"$(OGRE_PATH)\OgreMain\lib\$(ConfigurationName)";..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\bin\Release" … … 140 140 Name="Source Files" 141 141 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"> 142 <File 143 RelativePath="..\src\ShadowDemo.cpp"> 144 </File> 142 145 </Filter> 143 146 <Filter 144 147 Name="Header Files" 145 148 Filter="h;hpp;hxx;hm;inl;inc"> 149 <File 150 RelativePath="..\include\ShadowDemo.h"> 151 </File> 146 152 </Filter> 147 153 <Filter -
GTP/trunk/App/Demos/Illum/Ogre/src/ShadowDemo/src/ShadowDemo.cpp
r2493 r2509 27 27 #endif 28 28 29 #include " PRMDemo.h"29 #include "ShadowDemo.h" 30 30 31 31 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.