Changeset 1711 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Timestamp:
- 11/03/06 09:51:53 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreIlluminationManager.h
r1670 r1711 4 4 #include "OgreTechniqueGroup.h" 5 5 #include "OgreRenderable.h" 6 #include "OgreC ubeMapRenderTechnique.h"6 #include "OgreColorCubeMapRenderTechnique.h" 7 7 #include "OgreDistanceCubeMapRenderTechnique.h" 8 8 #include "OgreConvolvedCubeMapRenderTechnique.h" -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreConvolvedCubeMapRenderTechnique.h
r836 r1711 9 9 10 10 #include "ConvolvedCubeMapRenderTechnique.h" 11 #include "Ogre RenderTechnique.h"11 #include "OgreCubeMapRenderTechnique.h" 12 12 #include "Ogre.h" 13 13 … … 18 18 */ 19 19 class OgreConvolvedCubeMapRenderTechnique : public ConvolvedCubeMapRenderTechnique, 20 public OgreRenderTechnique20 public OgreCubeMapRenderTechnique 21 21 { 22 22 public: … … 43 43 unsigned int cubeMapResolution, 44 44 unsigned int reducedCubeMapResolution, 45 unsigned char reducedTexID,45 unsigned char texID, 46 46 bool useDistCalc, 47 47 bool useFaceAngleCalc, … … 49 49 float angleTolerance, 50 50 bool updateAllFace, 51 bool renderSelf, 51 52 Pass* pass, 52 53 OgreRenderable* parentRenderable, … … 62 63 63 64 protected: 64 /**65 @brief the id of the texture unit state the resulting cubemap should be bound to66 */67 unsigned char reducedTexID;68 65 69 66 //inherited … … 80 77 81 78 82 class OgreConvoledCubeMapRenderTechniqueFactory : public RenderTechniqueFactory79 class OgreConvoledCubeMapRenderTechniqueFactory : public OgreCubeMapRenderTechniqueFactory 83 80 { 84 81 public: … … 92 89 93 90 94 unsigned long startFrame;95 unsigned long cubeMapUpdateInterval;96 unsigned int cubeMapResolution;97 91 unsigned int reducedCubeMapResolution; 98 unsigned char texID;99 bool useDistCalc;100 bool useFaceAngleCalc;101 float distTolerance;102 float angleTolerance;103 bool updateAllFace;104 105 92 }; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
r836 r1711 17 17 @brief CubeMapRenderTechnique used in an Ogre environment. 18 18 */ 19 class OgreCubeMapRenderTechnique : public CubeMapRenderTechnique,19 class OgreCubeMapRenderTechnique : virtual public CubeMapRenderTechnique, 20 20 public OgreRenderTechnique 21 21 { … … 47 47 float angleTolerance, 48 48 bool updateAllFace, 49 bool renderSelf, 49 50 Pass* pass, 50 51 OgreRenderable* parentRenderable, … … 55 56 */ 56 57 ~OgreCubeMapRenderTechnique(); 57 58 //inherited 59 void update(unsigned long frameNum); 60 58 61 59 protected: 62 60 … … 64 62 @brief the id of the texture unit state the resulting cubemap should be bound to 65 63 */ 66 unsigned char texID; 67 68 //inherited 69 void colorCubeMapRunChanged(RenderingRun* run); 70 //inherited 71 RenderingRun* createColorCubeMapRun(); 72 73 64 unsigned char texID; 74 65 }; 75 66 76 class OgreC olorCubeMapRenderTechniqueFactory : public RenderTechniqueFactory67 class OgreCubeMapRenderTechniqueFactory : public RenderTechniqueFactory 77 68 { 78 69 public: 79 70 80 OgreColorCubeMapRenderTechniqueFactory(); 81 82 OgreRenderTechnique* createInstance(IllumTechniqueParams* params, 83 Pass* pass, 84 OgreRenderable* parentRenderable, 85 OgreTechniqueGroup* parentTechniqueGroup); 86 87 71 OgreCubeMapRenderTechniqueFactory(); 72 88 73 unsigned long startFrame; 89 74 unsigned long cubeMapUpdateInterval; … … 95 80 float angleTolerance; 96 81 bool updateAllFace; 82 bool renderSelf; 83 84 void resetParams(); 97 85 98 86 }; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreDistanceCubeMapRenderTechnique.h
r836 r1711 9 9 10 10 #include "DistanceCubeMapRenderTechnique.h" 11 #include "Ogre RenderTechnique.h"11 #include "OgreCubeMapRenderTechnique.h" 12 12 #include "Ogre.h" 13 13 … … 18 18 */ 19 19 class OgreDistanceCubeMapRenderTechnique : public DistanceCubeMapRenderTechnique, 20 public OgreRenderTechnique20 public OgreCubeMapRenderTechnique 21 21 { 22 22 public: … … 47 47 float angleTolerance, 48 48 bool updateAllFace, 49 bool renderSelf, 49 50 Pass* pass, 50 51 OgreRenderable* parentRenderable, … … 60 61 61 62 protected: 62 /** 63 @brief the id of the texture unit state the resulting cubemap should be bound to 64 */ 65 unsigned char texID; 66 63 67 64 //inherited 68 65 void distanceCubeMapRunChanged(RenderingRun* run); … … 76 73 77 74 78 class OgreDistanceCubeMapRenderTechniqueFactory : public RenderTechniqueFactory75 class OgreDistanceCubeMapRenderTechniqueFactory : public OgreCubeMapRenderTechniqueFactory 79 76 { 80 77 public: … … 85 82 Pass* pass, 86 83 OgreRenderable* parentRenderable, 87 OgreTechniqueGroup* parentTechniqueGroup); 88 89 90 unsigned long startFrame; 91 unsigned long cubeMapUpdateInterval; 92 unsigned int cubeMapResolution; 93 unsigned char texID; 94 bool useDistCalc; 95 bool useFaceAngleCalc; 96 float distTolerance; 97 float angleTolerance; 98 bool updateAllFace; 84 OgreTechniqueGroup* parentTechniqueGroup); 99 85 100 86 };
Note: See TracChangeset
for help on using the changeset viewer.