- Timestamp:
- 11/07/06 14:29:38 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns
- Files:
-
- 1 added
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreChildParticlesystemRenderingRun.cpp
r1425 r1722 1 1 #include "OgreChildPSystemRenderingRun.h" 2 2 #include "OgreIlluminationManager.h" 3 #include "OgreDistanceCubeMapRenderingRun.h"4 5 6 3 7 4 OgreChildPSystemRenderingRun::OgreChildPSystemRenderingRun(OgreSharedRuns* sharedRuns, -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreLightVolumeRenderingRun.cpp
r1425 r1722 1 1 #include "OgreLightVolumeRenderingRun.h" 2 2 #include "OgreIlluminationManager.h" 3 #include "OgreDistanceCubeMapRenderingRun.h"4 3 #include "OgreChildPSystemRenderingRun.h" 5 4 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgrePhotonMapRenderingRun.cpp
r1628 r1722 1 1 #include "OgrePhotonMapRenderingRun.h" 2 2 //#include "OgreIlluminationManager.h" 3 #include "OgreDistanceCubeMapRenderingRun.h" 4 3 #include "OgreCubeMapRenderingRun.h" 5 4 6 5 … … 139 138 { 140 139 Material* mat = (Material*) MaterialManager::getSingleton().getByName(materialName).getPointer(); 141 Ogre DistanceCubeMapRenderingRun* cuberun =(OgreDistanceCubeMapRenderingRun*) (run->asOgreRenderingRun());142 String cubemapname = cuberun->get DistanceCubeMapTextureName();140 OgreCubeMapRenderingRun* cuberun =(OgreCubeMapRenderingRun*) (run->asOgreRenderingRun()); 141 String cubemapname = cuberun->getCubeMapTextureName(); 143 142 mat->getTechnique(0)->getPass(0)->getTextureUnitState(0)->setTextureName(cubemapname); 144 143 } … … 147 146 { 148 147 Material* mat = (Material*) MaterialManager::getSingleton().getByName(materialName).getPointer(); 149 Ogre DistanceCubeMapRenderingRun* cuberun =(OgreDistanceCubeMapRenderingRun*) (run->asOgreRenderingRun());150 String cubemapname = cuberun->get DistanceCubeMapTextureName();148 OgreCubeMapRenderingRun* cuberun =(OgreCubeMapRenderingRun*) (run->asOgreRenderingRun()); 149 String cubemapname = cuberun->getCubeMapTextureName(); 151 150 GpuProgramParametersSharedPtr fpParams = mat->getTechnique(0)->getPass(0)->getFragmentProgramParameters(); 152 151 Vector3 center = ((OgreSharedRuns*) sharedRuns)->getRootPosition(ILLUMRUN_DISTANCE_CUBEMAP);
Note: See TracChangeset
for help on using the changeset viewer.