Changeset 174 for trunk/VUT/Ogre/include


Ignore:
Timestamp:
07/14/05 09:06:16 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/Ogre/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/include/OgreOcclusionQueriesQueryManager.h

    r173 r174  
    1515                on different hierarchy types, while reusing the implementation of the query methods. 
    1616    */ 
    17         OcclusionQueriesQueryManager(PlatformHierarchyInterface *hierarchyInterface,  
    18                                          Viewport *vp, 
    19                                                                  bool renderPatches, 
    20                                          bool useItemBufferForGeometry); 
     17        OcclusionQueriesQueryManager(PlatformHierarchyInterface *hierarchyInterface, Viewport *vp, 
     18                                                                 int queryModes, int itemBufferMode); 
    2119     
    2220    void ComputeCameraVisibility(const Camera &camera, 
     
    7068        void RemoveDuplicatePatches(InfoContainer<GtpVisibility::PatchInfo> *visiblePatches); 
    7169 
    72         bool mUseItemBuffer; 
     70        /** Returns the patches of the geometry of a given node.  
     71                @param node the node containing the patches 
     72                @param patchList the patches are returned in this list 
     73        */ 
     74        virtual void GetNodePatchList(GtpVisibility::HierarchyNode *node,        
     75                                                                  GtpVisibility::PatchList *patchList); 
     76 
     77        int mItemBufferMode; 
    7378}; 
    7479 
  • trunk/VUT/Ogre/include/OgreOctreeHierarchyInterface.h

    r158 r174  
    4848 
    4949        void GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 
    50                                         GtpVisibility::GeometryList *geometryList,  
    51                                         bool includeChildren); 
    52  
     50                                                        GtpVisibility::GeometryList *geometryList,  
     51                                                        bool includeChildren); 
     52         
    5353protected: 
    5454        /** Returns pointer to the bounding box of the node. 
  • trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h

    r156 r174  
    106106    bool IsBoundingBoxQuery(); 
    107107 
     108        GtpVisibility::OcclusionQuery *IssueOcclusionQuery(GtpVisibility::Patch *patch); 
    108109 
    109110protected: 
     
    111112        */ 
    112113        void RenderGeometry(GtpVisibility::Mesh *geom); 
     114 
     115        /** Renders a patch  
     116        */ 
     117        void RenderPatch(GtpVisibility::Patch *patch); 
    113118 
    114119        /** Materials for visualizing frustum and query culled nodes. 
  • trunk/VUT/Ogre/include/OgrePlatformQueryManager.h

    r173 r174  
    1818    */ 
    1919        PlatformQueryManager(PlatformHierarchyInterface *hierarchyInterface,  
    20                                  Viewport *vp, 
    21                                                  bool renderPatches); 
     20                                 Viewport *vp, int queryModes); 
    2221     
    2322    /**  
     
    4241        */ 
    4342        void SetViewport(Viewport *vp); 
    44          
     43 
    4544protected: 
    4645 
     
    5352 
    5453        Viewport *mViewport; 
     54         
    5555        bool mWasInitialised; 
    56         bool mRenderPatches; 
    5756}; 
    5857 
Note: See TracChangeset for help on using the changeset viewer.