Ignore:
Timestamp:
03/19/07 13:02:58 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgrePMWeightComputeRenderingRun.h

    r2200 r2264  
    1313 
    1414/** 
    15         @brief ColorCubeMapRenderingRun used in an OGRE environment. 
     15        @brief Weight computing rendering run. 
     16 
     17        This run is used in the pathmap technique.  
     18        It creates a texture for a light source that stores the weights that should be used for each cluster of entry points. 
    1619*/ 
    1720class OgrePMWeightComputeRenderingRun : public OgreRenderingRun                                                                  
     
    2225                @brief Constructor. 
    2326 
    24                  
     27        @param name the name of the weight texture to be created 
     28                @param LightName the name of the light source to use 
    2529        */       
    2630        OgrePMWeightComputeRenderingRun(String name, String LightName); 
    2731        /** 
    28                 @brief returns the name of the camera depth texture 
     32                @brief returns the name of the weight texture 
    2933        */ 
    3034        String getPMWeightTetureName(){return weightTexture->getName();} 
     35        //not used 
    3136        float* getWeights(){return weights;} 
    3237         
    3338protected: 
    3439        /** 
    35                 @brief pointer to the player's viewport  
     40                @brief light view-projection matrix 
    3641        */ 
    3742        Matrix4 lightMatrix; 
     43        /** 
     44                @brief light view matrix 
     45        */ 
    3846        Matrix4 lightViewMatrix; 
    3947        /** 
     
    4250        String name; 
    4351        /** 
    44                 @brief a pointer to the scene depth texture that was created by this run 
     52                @brief a pointer to the weight texture that was created by this run 
    4553        */ 
    4654        Texture* weightTexture; 
     55        /** 
     56                @brief A pointer to a texture that stores weights for all the entry point. 
     57 
     58                This texture will be used to determine the weights of the clusters. 
     59        */ 
    4760        Texture* allWeightsTexture; 
    48          
     61        /** 
     62                @brief A pointer to the light source. 
     63        */ 
    4964        Light* light; 
    50  
     65        //not used 
    5166        float* weights; 
    52  
    5367        //inherited 
    5468        void updateFrame(unsigned long frameNum);        
    55          
     69        /** 
     70                @brief Creates the weight texture. 
     71 
     72                It also creates the texture storing all weights. @see allWeightsTexture 
     73        */ 
    5674        inline void createWeightMap(); 
    5775}; 
Note: See TracChangeset for help on using the changeset viewer.