Ignore:
Timestamp:
09/21/06 08:49:20 (18 years ago)
Author:
szirmay
Message:
 
Location:
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
Files:
3 added
5 edited

Legend:

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

    r1130 r1425  
    1515#include "OgreFireRenderTechnique.h" 
    1616#include "OgreHierarchicalParticleSystemTechnique.h" 
    17  
     17#include "OgreIllumVolumeRenderTechnique.h" 
     18#include "OgrePhaseTextureRenderingRun.h" 
    1819 
    1920 
     
    6970        unsigned int focusingMapSize; 
    7071        unsigned int shadowMapSize; 
     72        unsigned int phaseTextureSize; 
    7173        std::map<RenderingRunType,float> maxRads; 
    7274        /** 
     
    152154        void setMaxJoinRadius(RenderingRunType type, float rad){maxRads[type] = rad;} 
    153155        void setFocusingMapSize(unsigned int size){focusingMapSize = size;} 
     156        void setPhaseTextureSize(unsigned int size){phaseTextureSize = size;} 
    154157        void setShadowMapSize(unsigned int size){shadowMapSize = size;} 
    155158        /** 
     
    291294        */ 
    292295        void updatePerLightRun(String lightName, RenderingRunType runType, unsigned long frameNum); 
     296 
     297        void savePhaseTextureToFile(String filename); 
    293298 
    294299        bool frameStarted(const FrameEvent& evt) 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreRenderable.h

    r1055 r1425  
    6464                @see ElementaryRenderable::setRenderGroup() 
    6565        */       
    66         void  setRenderGroup (unsigned char groupID); 
     66        void setRenderGroup(unsigned char groupID); 
     67        /** 
     68                @brief Updates the given renderqueue for the wrapped renderable 
     69 
     70                @param rq pointer to the renderqueue to be updated 
     71        */       
     72        void updateRenderQueue(RenderQueue* rq); 
    6773        /**  
    6874                @brief Retrieves if the renderable is hided or shown. 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreRenderingRun.h

    r1351 r1425  
    117117                @param rq pointer to the filled Renderqueue instance to set material for 
    118118        */ 
    119         void setMaterialForRenderables(String& materialName, RenderQueue* rq); 
     119        void setMaterialForRenderables(String& materialName, RenderQueue* rq, bool solidsonly = false); 
    120120        /** 
    121121                @brief Sets the given material for each Renderable visible from a given camera. 
     
    132132                @param shadowcastersonly flag to search for only shadow casters 
    133133        */ 
    134         void setMaterialForVisibles(String& materialName, Camera* cam, bool shadowcastersonly = false); 
     134        void setMaterialForVisibles(String& materialName, Camera* cam, bool shadowcastersonly = false, bool solidsonly = false); 
    135135        /** 
    136136                @brief Restores previously stored materials. 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreSharedRuns.h

    r1055 r1425  
    141141                @param pointer to the RenderQueue to add the Renderables to 
    142142        */ 
    143         void addRenderablesToQueue(RenderQueue* rq); 
     143        void addRenderablesToQueue(RenderQueue* rq, bool checkVisible = true); 
    144144        /** 
    145145                @brief Calls notifyCamera() to all the Renderables connected to this node 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreHierarchicalParticleSystemTechnique.h

    r1330 r1425  
    4141        ~OgreHierarchicalParticleSystemTechnique(); 
    4242 
    43         //inherited 
    44         void update(unsigned long frameNum); 
    45          
     43                 
    4644protected: 
    4745         
     
    5856        //inherited 
    5957        RenderingRun* createChildPSysRenderingRun(); 
     58        RenderingRun* createLightVolumeRenderingRun(); 
    6059        virtual void impostorChanged(RenderingRun* run); 
     60        virtual void impostorUpdated(RenderingRun* run); 
    6161}; 
    6262 
Note: See TracChangeset for help on using the changeset viewer.