Ignore:
Timestamp:
07/02/07 04:12:36 (17 years ago)
Author:
szirmay
Message:
 
Location:
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include
Files:
4 edited

Legend:

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

    r2240 r2475  
    134134        */ 
    135135        Renderable* getRenderable(); 
     136 
     137        SceneNode* getParentSceneNode(); 
    136138         
    137139protected: 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreSharedRuns.h

    r2320 r2475  
    218218        void freeAllResources(); 
    219219 
     220        OgreRenderable* getRootRenderable() 
     221        { 
     222                if(!child1)//this is a root 
     223                { 
     224                        std::map<OgreRenderable*, bool>::iterator it = renderables.begin(); 
     225                        OgreRenderable* rend = (*it).first; 
     226                        return rend;  
     227                } 
     228                else 
     229                        return ((OgreSharedRuns*)getRoot())->getRootRenderable(); 
     230        } 
     231 
    220232protected: 
    221233        /** 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCausticReceiverRenderTechnique.h

    r2397 r2475  
    5454                                                        String casterCenterVariableName, 
    5555                                                        String attenuationVariableName, 
     56                                                        bool bindDistanceMap, 
    5657                                                        Pass* pass, 
    5758                                                        OgreRenderable* parentRenderable, 
     
    101102        String casterCenterVariableName; 
    102103        String attenuationVariableName; 
     104        bool bindDistanceMap; 
     105        bool bindAttenuation; 
    103106}; 
    104107 
     
    128131        String casterCenterVariableName; 
    129132        String attenuationVariableName; 
     133        bool bindDistanceMap; 
    130134}; 
    131135 
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreDepthShadowReceiverRenderTechnique.h

    r2397 r2475  
    7070                                                        int startTextureUnitID, 
    7171                                                        bool nearestLightsFromCamera, 
     72                                                        bool bindToVertexShader, 
    7273                                                        Pass* pass, 
    7374                                                        OgreRenderable* parentRenderable, 
     
    146147        int startTextureUnitID; 
    147148        bool nearestLightsFromCamera; 
     149        bool bindToVertexShader; 
    148150}; 
    149151 
     
    180182        int startTextureUnitID; 
    181183        bool nearestLightsFromCamera; 
     184        bool bindToVertexShader; 
    182185}; 
    183186 
Note: See TracChangeset for help on using the changeset viewer.