Changeset 1722 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Timestamp:
- 11/07/06 14:29:38 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Files:
-
- 1 added
- 2 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreRenderingRun.h
r1644 r1722 32 32 OgreRenderingRun* asOgreRenderingRun(){return this;} 33 33 34 virtual bool canJoin(OgreRenderingRun* run){return true;} 35 34 36 35 protected: 37 36 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreSharedRuns.h
r1425 r1722 186 186 void runChanged(RenderingRunType runType, RenderingRun* run); 187 187 virtual void addTechniqueGroup(TechniqueGroup* group){childTechniqueGroups.push_back(group);} 188 188 void setMaterial(String materialName); 189 void restoreMaterial(); 190 189 191 protected: 190 192 /** … … 206 208 */ 207 209 std::map<OgreRenderable*, bool> renderables; 210 std::map<OgreRenderable*, String> renderableMaterials; 208 211 /** 209 212 @brief the bounding sphere of all the objects connected to this node. -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreColorCubeMapRenderTechnique.h
r1711 r1722 48 48 bool updateAllFace, 49 49 bool renderSelf, 50 bool renderEnvironment, 51 String selfMaterial, 52 String environmentMaterial, 50 53 Pass* pass, 51 54 OgreRenderable* parentRenderable, … … 63 66 64 67 //inherited 65 void colorCubeMapRunChanged(RenderingRun* run); 66 //inherited 67 RenderingRun* createColorCubeMapRun(); 68 69 68 void colorCubeMapRunChanged(RenderingRun* run); 70 69 }; 71 70 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreConvolvedCubeMapRenderTechnique.h
r1711 r1722 50 50 bool updateAllFace, 51 51 bool renderSelf, 52 bool renderEnvironment, 53 String selfMaterial, 54 String environmentMaterial, 52 55 Pass* pass, 53 56 OgreRenderable* parentRenderable, … … 68 71 //inherited 69 72 void colorCubeMapRunChanged(RenderingRun* run); 70 //inherited71 RenderingRun* createColorCubeMapRun();72 73 //inherited 73 74 RenderingRun* createReducedCubeMapRun(); -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
r1711 r1722 48 48 bool updateAllFace, 49 49 bool renderSelf, 50 bool renderEnvironment, 51 String selfMaterial, 52 String environmentMaterial, 50 53 Pass* pass, 51 54 OgreRenderable* parentRenderable, 52 OgreTechniqueGroup* parentTechniqueGroup 55 OgreTechniqueGroup* parentTechniqueGroup, 56 bool createCubeRun = false 53 57 ); 54 58 /** … … 56 60 */ 57 61 ~OgreCubeMapRenderTechnique(); 62 58 63 59 64 protected: … … 62 67 @brief the id of the texture unit state the resulting cubemap should be bound to 63 68 */ 64 unsigned char texID; 69 unsigned char texID; 70 String selfMaterial; 71 String environmentMaterial; 72 String texturePostFix; 73 74 RenderingRun* createCubeMapRun(); 75 void cubeMapRunChanged(RenderingRun* run); 65 76 }; 66 77 … … 70 81 71 82 OgreCubeMapRenderTechniqueFactory(); 83 84 OgreRenderTechnique* createInstance(IllumTechniqueParams* params, 85 Pass* pass, 86 OgreRenderable* parentRenderable, 87 OgreTechniqueGroup* parentTechniqueGroup); 88 89 void resetParams(); 72 90 73 91 unsigned long startFrame; … … 81 99 bool updateAllFace; 82 100 bool renderSelf; 83 84 void resetParams();85 101 bool renderEnvironment; 102 String selfMaterial; 103 String environmentMaterial; 86 104 }; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreDistanceCubeMapRenderTechnique.h
r1711 r1722 48 48 bool updateAllFace, 49 49 bool renderSelf, 50 bool renderEnvironment, 51 String selfMaterial, 52 String environmentMaterial, 50 53 Pass* pass, 51 54 OgreRenderable* parentRenderable, … … 64 67 //inherited 65 68 void distanceCubeMapRunChanged(RenderingRun* run); 66 //inherited67 RenderingRun* createDistanceCubeMapRun();68 69 //inherited 69 70 void distanceCubeMapRunUpdated(RenderingRun* run); -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreCausticCubeMapRenderingRun.h
r1688 r1722 60 60 float getAttenuation(){return attenuation;} 61 61 62 bool canJoin( OgreRenderingRun* run)62 bool canJoin(RenderingRun* run) 63 63 { 64 OgreCausticCubeMapRenderingRun* r = (OgreCausticCubeMapRenderingRun*) run ;64 OgreCausticCubeMapRenderingRun* r = (OgreCausticCubeMapRenderingRun*) run->asOgreRenderingRun(); 65 65 if(r->materialName == materialName) 66 66 return true; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreChildPSystemRenderingRun.h
r1330 r1722 46 46 String getImpostorTextureName(){return name;} 47 47 48 bool canJoin( OgreRenderingRun* run)48 bool canJoin(RenderingRun* run) 49 49 { 50 50 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgrePhotonMapRenderingRun.h
r1055 r1722 48 48 void refreshLight(); 49 49 50 bool canJoin( OgreRenderingRun* run)50 bool canJoin(RenderingRun* run) 51 51 { 52 OgrePhotonMapRenderingRun* r = (OgrePhotonMapRenderingRun*) run ;52 OgrePhotonMapRenderingRun* r = (OgrePhotonMapRenderingRun*) run->asOgreRenderingRun(); 53 53 if(r->materialName == materialName) 54 54 return true;
Note: See TracChangeset
for help on using the changeset viewer.