Changeset 1711 for GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DistanceCubeMapRenderTechnique.h
- Timestamp:
- 11/03/06 09:51:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DistanceCubeMapRenderTechnique.h
r780 r1711 1 1 #pragma once 2 #include " RenderTechnique.h"2 #include "CubeMapRenderTechnique.h" 3 3 4 4 /** … … 7 7 This technique defines that the final rendering of an object needs a cubmap of the distance of the surrounding environment from the cubemap center. 8 8 */ 9 class DistanceCubeMapRenderTechnique : virtual public RenderTechnique9 class DistanceCubeMapRenderTechnique : virtual public CubeMapRenderTechnique 10 10 { 11 11 public: … … 32 32 float angleTolerance, 33 33 bool updateAllFace, 34 bool renderSelf, 34 35 ElementaryRenderable* parentRenderable, 35 36 TechniqueGroup* parentTechniqueGroup … … 51 52 protected: 52 53 /** 53 @brief a flag to skip cube face update if object is far away or too small.54 55 @see distTolerance56 */57 bool useDistCalc;58 /**59 @brief a flag to skip cube face update the face is neglible.60 61 @see angleTolerance62 */63 bool useFaceAngleCalc;64 /**65 @brief A value used in face skip test.66 67 The higher this value gets the more precise, but slower the method will be.68 */69 float distTolerance;70 /**71 @brief A value used in face skip test.72 73 The higher this value gets the more precise, but slower the method will be.74 */75 float angleTolerance;76 /**77 @brief defines if all cubemap faces should be updated in a frame or only one face per frame78 */79 bool updateAllFace;80 81 /**82 @brief color-cubemap update frequency83 */84 unsigned long cubeMapUpdateInterval;85 /**86 @brief color-cubemap resolution87 */88 unsigned int cubeMapResolution;89 /**90 @brief offset in frame number used during update91 */92 unsigned long startFrame;93 94 /**95 54 @brief Called if the changed run is a ColorCubeMapRenderingRun. 96 55
Note: See TracChangeset
for help on using the changeset viewer.