Ignore:
Timestamp:
05/11/06 10:19:54 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreCausticCubeMapRenderingRun.cpp

    r790 r949  
    2121        this->materialName =  materialName; 
    2222        this->photonMapTexId = photonMapTexId; 
     23 
     24        spriteSetName = name + String("_pixelSpriteSet"); 
    2325         
    2426        createCausticCubeMap(); 
     
    4042        String photonMapName = ((OgrePhotonMapRenderingRun*) run->asOgreRenderingRun())->getPhotonMapTextureName(); 
    4143        mat->getTechnique(0)->getPass(0)->getTextureUnitState(photonMapTexId)->setTextureName(photonMapName); 
     44 
     45        //rt = TextureManager::getSingleton().getByName(photonMapName); 
     46        LogManager::getSingleton().logMessage(LML_NORMAL, name + " map: " + photonMapName + " material: " + mat->getName()); 
    4247} 
    4348 
     
    5964        renderPixelSprites(materialName, rt, tex->getWidth(), tex->getHeight()); 
    6065 
    61         //rt->writeContentsToFile("caucube" + StringConverter::toString(facenum) + ".dds"); 
     66        //rt->writeContentsToFile("caucube" + this->name + StringConverter::toString(facenum) + ".dds"); 
    6267} 
    6368 
Note: See TracChangeset for help on using the changeset viewer.