Changeset 1349 for GTP/trunk/App/Demos
- Timestamp:
- 09/12/06 20:44:33 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsRaytraceDemo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsRaytraceDemo/include/GameToolsRaytraceDemo.h
r1334 r1349 60 60 } 61 61 bool processUnbufferedKeyInput(const FrameEvent& evt) 62 { 62 {/* 63 63 MaterialPtr mat = MaterialManager::getSingleton().getByName("GameTools/Cauathene_SE_0_clone"); 64 64 GpuProgramParameters* Vparams = mat->getTechnique(0)->getPass(0)->getVertexProgramParameters().getPointer(); … … 89 89 Vparams->setNamedConstant("CauSpriteSize", causize); 90 90 } 91 */ 91 92 92 93 return ExampleFrameListener::processUnbufferedKeyInput(evt); … … 95 96 { 96 97 static bool first = true; 97 if(first)98 /* if(first) 98 99 { 99 100 MaterialPtr mat = MaterialManager::getSingleton().getByName("GameTools/Cauathene_SE_0_clone"); … … 104 105 Vparams->setNamedConstant("CauSpriteSize", causize); 105 106 first = false; 106 } 107 }*/ 107 108 108 109 lightNode->setPosition( 100.0 * Vector3(cos(-(float)framecount/500.0),2.0,sin(-(float)framecount/500.0))); -
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsRaytraceDemo/scripts/GameToolsRaytraceDemo.vcproj
r807 r1349 154 154 Name="Resource Files" 155 155 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> 156 <File 157 RelativePath="..\..\..\Media\materials\scripts\GameTools.program"> 158 </File> 159 <File 160 RelativePath="..\..\..\Media\materials\programs\GameTools_CauCube.hlsl"> 161 </File> 162 <File 163 RelativePath="..\..\..\Media\materials\scripts\GlassHead.material"> 164 </File> 156 165 </Filter> 157 166 </Files>
Note: See TracChangeset
for help on using the changeset viewer.