Changeset 949 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreCausticCubeMapRenderingRun.cpp
- Timestamp:
- 05/11/06 10:19:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreCausticCubeMapRenderingRun.cpp
r790 r949 21 21 this->materialName = materialName; 22 22 this->photonMapTexId = photonMapTexId; 23 24 spriteSetName = name + String("_pixelSpriteSet"); 23 25 24 26 createCausticCubeMap(); … … 40 42 String photonMapName = ((OgrePhotonMapRenderingRun*) run->asOgreRenderingRun())->getPhotonMapTextureName(); 41 43 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()); 42 47 } 43 48 … … 59 64 renderPixelSprites(materialName, rt, tex->getWidth(), tex->getHeight()); 60 65 61 //rt->writeContentsToFile("caucube" + StringConverter::toString(facenum) + ".dds");66 //rt->writeContentsToFile("caucube" + this->name + StringConverter::toString(facenum) + ".dds"); 62 67 } 63 68
Note: See TracChangeset
for help on using the changeset viewer.