- Timestamp:
- 04/24/06 15:49:01 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreDepthShadowMapRenderingRun.cpp
r790 r808 64 64 void OgreDepthShadowMapRenderingRun::updateDepthMap() 65 65 { 66 setMaterialForVisibles(materialName, depthMapCamera );66 setMaterialForVisibles(materialName, depthMapCamera, true); 67 67 68 68 RenderTarget* rt = depthMapTexture->getBuffer().getPointer()->getRenderTarget(); 69 69 70 SceneManager* sm = Root::getSingleton()._getCurrentSceneManager(); 71 70 72 rt->update(); 71 73 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgrePhotonMapRenderingRun.cpp
r790 r808 76 76 rt->update(); 77 77 /* 78 static int framecount = 0; 78 79 String filename = "photon"; 79 //filename.append(StringConverter::toString(frameNum));80 filename.append(StringConverter::toString(framecount)); 80 81 filename.append(".png"); 81 rt->writeContentsToFile(filename);*/ 82 82 rt->writeContentsToFile(filename); 83 framecount++;*/ 84 83 85 restoreMaterials(); 84 86 }
Note: See TracChangeset
for help on using the changeset viewer.