Ignore:
Timestamp:
04/24/06 15:49:01 (19 years ago)
Author:
szirmay
Message:
 
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  
    6464void OgreDepthShadowMapRenderingRun::updateDepthMap() 
    6565{ 
    66         setMaterialForVisibles(materialName, depthMapCamera); 
     66        setMaterialForVisibles(materialName, depthMapCamera, true); 
    6767         
    6868        RenderTarget* rt = depthMapTexture->getBuffer().getPointer()->getRenderTarget(); 
    69           
     69         
     70        SceneManager* sm = Root::getSingleton()._getCurrentSceneManager(); 
     71         
    7072        rt->update();    
    7173 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgrePhotonMapRenderingRun.cpp

    r790 r808  
    7676        rt->update();    
    7777        /* 
     78        static int framecount = 0; 
    7879        String filename = "photon"; 
    79         //filename.append(StringConverter::toString(frameNum)); 
     80        filename.append(StringConverter::toString(framecount)); 
    8081        filename.append(".png"); 
    81         rt->writeContentsToFile(filename);*/ 
    82  
     82        rt->writeContentsToFile(filename); 
     83        framecount++;*/ 
     84         
    8385        restoreMaterials(); 
    8486} 
Note: See TracChangeset for help on using the changeset viewer.