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/DistanceCubeMapRenderTechnique.h

    r780 r1711  
    11#pragma once 
    2 #include "RenderTechnique.h" 
     2#include "CubeMapRenderTechnique.h" 
    33 
    44/** 
     
    77        This technique defines that the final rendering of an object needs a cubmap of the distance of the surrounding environment from the cubemap center. 
    88*/ 
    9 class DistanceCubeMapRenderTechnique : virtual public RenderTechnique 
     9class DistanceCubeMapRenderTechnique : virtual public CubeMapRenderTechnique 
    1010{ 
    1111public: 
     
    3232                                                        float angleTolerance, 
    3333                                                        bool updateAllFace, 
     34                                                        bool renderSelf, 
    3435                                                        ElementaryRenderable* parentRenderable, 
    3536                                                        TechniqueGroup* parentTechniqueGroup 
     
    5152protected: 
    5253        /** 
    53                 @brief a flag to skip cube face update if object is far away or too small. 
    54  
    55                 @see distTolerance 
    56         */ 
    57         bool useDistCalc; 
    58         /** 
    59                 @brief a flag to skip cube face update the face is neglible. 
    60  
    61                 @see angleTolerance 
    62         */ 
    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 frame 
    78         */ 
    79     bool updateAllFace; 
    80                                                          
    81         /** 
    82                         @brief color-cubemap update frequency 
    83         */ 
    84         unsigned long cubeMapUpdateInterval; 
    85         /** 
    86                         @brief color-cubemap resolution 
    87         */ 
    88         unsigned int cubeMapResolution; 
    89         /** 
    90                         @brief offset in frame number used during update 
    91         */ 
    92         unsigned long startFrame;        
    93          
    94         /** 
    9554                        @brief Called if the changed run is a ColorCubeMapRenderingRun. 
    9655 
Note: See TracChangeset for help on using the changeset viewer.