Changeset 2355 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Timestamp:
- 05/08/07 14:37:19 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreRenderingRun.h
r2333 r2355 115 115 @param rq pointer to the filled Renderqueue instance to set material for 116 116 */ 117 void setMaterialForRenderables(String& materialName, RenderQueue* rq, bool solidsonly = false );117 void setMaterialForRenderables(String& materialName, RenderQueue* rq, bool solidsonly = false, String triggerName = ""); 118 118 /** 119 119 @brief Sets the given material for each Renderable visible from a given camera. … … 130 130 @param shadowcastersonly flag to search for only shadow casters 131 131 */ 132 void setMaterialForVisibles(String& materialName, Camera* cam, bool shadowcastersonly = false, bool solidsonly = false );132 void setMaterialForVisibles(String& materialName, Camera* cam, bool shadowcastersonly = false, bool solidsonly = false, String triggerName = ""); 133 133 /** 134 134 @brief Restores previously stored materials. -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreTechniqueGroup.h
r2320 r2355 29 29 parentSharedRuns->updateBounds(); 30 30 } 31 String getMaterialNameForTrigger(String trigger) 32 { 33 if(triggeredMaterials.find(trigger) == triggeredMaterials.end()) 34 return ""; 35 else return triggeredMaterials[trigger]; 36 } 31 37 32 38 protected: 39 std::map<String, String> triggeredMaterials; 33 40 /** 34 41 @brief Collection of OgreRenderTechniques -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreColorCubeMapRenderTechnique.h
r2320 r2355 65 65 String minVariableName, 66 66 String maxVariableName, 67 String triggerName, 67 68 Pass* pass, 68 69 OgreRenderable* parentRenderable, -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreConvolvedCubeMapRenderTechnique.h
r2320 r2355 65 65 String minVariableName, 66 66 String maxVariableName, 67 String triggerName, 67 68 Pass* pass, 68 69 OgreRenderable* parentRenderable, -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
r2320 r2355 65 65 String minVariableName, 66 66 String maxVariableName, 67 String triggerName, 67 68 Pass* pass, 68 69 OgreRenderable* parentRenderable, … … 109 110 String maxVariableName; 110 111 112 String triggerName; 113 111 114 //inherited 112 115 RenderingRun* createCubeMapRun(); … … 152 155 String minVariableName; 153 156 String maxVariableName; 157 String triggerName; 154 158 }; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreDistanceCubeMapRenderTechnique.h
r2320 r2355 65 65 String minVariableName, 66 66 String maxVariableName, 67 String triggerName, 67 68 Pass* pass, 68 69 OgreRenderable* parentRenderable, -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreCubeMapRenderingRun.h
r2320 r2355 54 54 String selfMaterial, 55 55 String environmentMaterial, 56 String envTriggerName, 56 57 bool getMinMax, 57 58 RenderingRunType cubemapRunType); … … 104 105 Vector4 max; 105 106 107 String envTriggerName; 108 106 109 /** 107 110 @brief
Note: See TracChangeset
for help on using the changeset viewer.