- Timestamp:
- 01/02/07 06:24:47 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/ColorCubeMapRenderTechnique.h
r1725 r1930 49 49 //inherited 50 50 void runChanged(RenderingRunType runType, RenderingRun* run); 51 void runUpdated(RenderingRunType runType, RenderingRun* run); 51 52 52 53 protected: 53 54 virtual void colorCubeMapRunChanged(RenderingRun* run) = 0; 55 virtual void colorCubeMapRunUpdated(RenderingRun* run) = 0; 54 56 }; -
GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CubeMapRenderTechnique.h
r1725 r1930 41 41 42 42 void runChanged(RenderingRunType runType, RenderingRun* run); 43 void runUpdated(RenderingRunType runType, RenderingRun* run); 43 44 44 45 protected: … … 90 91 virtual RenderingRun* createCubeMapRun() = 0; 91 92 virtual void cubeMapRunChanged(RenderingRun* run) = 0; 93 virtual void cubeMapRunUpdated(RenderingRun* run) = 0; 92 94 }; -
GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/ColorCubeMapRenderTechnique.cpp
r1725 r1930 59 59 } 60 60 61 void ColorCubeMapRenderTechnique::runUpdated(RenderingRunType runType, RenderingRun* run) 62 { 63 if(runType == cubemapLayer) 64 colorCubeMapRunUpdated(run); 65 } 66 61 67 void ColorCubeMapRenderTechnique::update(unsigned long frameNum) 62 68 { -
GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CubeMapRenderTechnique.cpp
r1725 r1930 37 37 cubeMapRunChanged(run); 38 38 } 39 void CubeMapRenderTechnique::runUpdated(RenderingRunType runType, RenderingRun* run) 40 { 41 if(runType == ILLUMRUN_CUBEMAP) 42 cubeMapRunUpdated(run); 43 } 39 44 40 45 CubeMapRenderTechnique::~CubeMapRenderTechnique() -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreColorCubeMapRenderTechnique.h
r1886 r1930 71 71 //inherited 72 72 void colorCubeMapRunChanged(RenderingRun* run); 73 void colorCubeMapRunUpdated(RenderingRun* run); 73 74 }; 74 75 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
r1886 r1930 84 84 RenderingRun* createCubeMapRun(); 85 85 void cubeMapRunChanged(RenderingRun* run); 86 void cubeMapRunUpdated(RenderingRun* run); 86 87 }; 87 88 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgreColorCubeMapRenderTechnique.cpp
r1886 r1930 87 87 } 88 88 89 void OgreColorCubeMapRenderTechnique::colorCubeMapRunUpdated(RenderingRun* run) 90 { 91 OgreCubeMapRenderTechnique::cubeMapRunUpdated(run); 92 } 93 89 94 ///Technique factory 90 95 OgreColorCubeMapRenderTechniqueFactory::OgreColorCubeMapRenderTechniqueFactory() -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgreCubeMapRenderTechnique.cpp
r1886 r1930 60 60 61 61 if(attachToTexUnit) 62 pass->getTextureUnitState(texID)->setTextureName(cubemapname); 62 pass->getTextureUnitState(texID)->setTextureName(cubemapname); 63 } 64 65 void OgreCubeMapRenderTechnique::cubeMapRunUpdated(RenderingRun* run) 66 { 67 OgreCubeMapRenderingRun* cuberun =(OgreCubeMapRenderingRun*) (run->asOgreRenderingRun()); 68 63 69 if(getMinMax) 64 70 { -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreCubeMapRenderingRun.cpp
r1896 r1930 128 128 129 129 if(facenum == 5 && getMinMax) 130 { 130 131 getCubeMapMinMax(); 132 this->sharedRuns->runUpdated(cubemapRunType, this); 133 } 131 134 } 132 135
Note: See TracChangeset
for help on using the changeset viewer.