Ignore:
Timestamp:
11/03/06 09:51:53 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/ConvolvedCubeMapRenderTechnique.h

    r790 r1711  
    11#pragma once 
    2 #include "RenderTechnique.h" 
     2#include "CubeMapRenderTechnique.h" 
    33 
    44/** 
     
    99        This reduced cubemap can easily be convolved in the final shading to acheve special effects like diffuse reflections. 
    1010*/ 
    11 class ConvolvedCubeMapRenderTechnique : virtual public RenderTechnique 
     11class ConvolvedCubeMapRenderTechnique : virtual public CubeMapRenderTechnique 
    1212{ 
    1313public: 
     
    3636                                                        float angleTolerance, 
    3737                                                        bool updateAllFace, 
     38                                                        bool renderSelf, 
    3839                                                        ElementaryRenderable* parentRenderable, 
    3940                                                        TechniqueGroup* parentTechniqueGroup 
     
    5354protected: 
    5455 
    55     /** 
    56                         @brief defines if all cubemap faces should be updated in a frame or only one face per frame 
    57         */ 
    58         bool updateAllFace; 
    59         /** 
    60                         @brief color-cubemap update frequency 
    61         */ 
    62         unsigned long cubeMapUpdateInterval; 
    63         /** 
    64                         @brief color-cubemap resolution 
    65         */ 
    66         unsigned int cubeMapResolution; 
    67         /** 
    68                         @brief color-cubemap resolution 
    69         */ 
    7056        unsigned int reducedCubeMapResolution; 
    71         /** 
    72                 @brief a flag to skip cube face update if object is far away or too small. 
    73  
    74                 @see distTolerance 
    75         */ 
    76         bool useDistCalc; 
    77         /** 
    78                 @brief a flag to skip cube face update the face is neglible. 
    79  
    80                 @see angleTolerance 
    81         */ 
    82         bool useFaceAngleCalc; 
    83         /** 
    84                 @brief A value used in face skip test. 
    85  
    86                 The higher this value gets the more precise, but slower the method will be. 
    87         */ 
    88         float distTolerance; 
    89         /** 
    90                 @brief A value used in face skip test. 
    91  
    92                 The higher this value gets the more precise, but slower the method will be. 
    93         */ 
    94         float angleTolerance; 
    95         /** 
    96                         @brief offset in frame number used during update 
    97         */ 
    98         unsigned long startFrame;        
    99          
    100  
    10157        /** 
    10258                        @brief Called if the changed run is a ColorCubeMapRenderingRun. 
Note: See TracChangeset for help on using the changeset viewer.