Ignore:
Timestamp:
04/23/07 16:19:30 (18 years ago)
Author:
mattausch
Message:

implemented part of rendering estimation of wimmer et al. for view space / object space subdivision.
warning: not working with undersampling estimation + local visibility based subdivision.

Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/include/CoherentHierarchicalCullingManager.h

    r1492 r2332  
    3030 
    3131protected: 
     32 
    3233        /** Decides if node is considered to be visible depeding on the  
    3334                assumed visibility factor. 
     
    3637        bool DecideVisible(HierarchyNode *node) const; 
    3738 
    38  
    3939        /** Skip query for this node. 
    4040        */ 
    4141        void SkipQuery(HierarchyNode *node) const; 
     42 
     43        /** If this node is still valid for traversal in this frame. 
     44                It is possible that the parent was tested invisible before 
     45                so this node can be skipped. 
     46        */ 
     47        bool NodeInvalid(HierarchyNode *node) const; 
    4248 
    4349        /** number of steps the visibility is assumed to be valid. 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/include/HierarchyInterface.h

    r2306 r2332  
    159159        std::vector<HierarchyNode *> *GetVisibleNodes(); 
    160160 
    161         virtual void PullUpLastVisited(GtpVisibility::HierarchyNode *node, const int frameId) const = 0; 
    162         virtual void DetermineVisibilityRatio(GtpVisibility::HierarchyNode *node) const = 0; 
    163         virtual float GetNodeVisibilityRatio(GtpVisibility::HierarchyNode *node) const = 0; 
     161        virtual void PullUpLastVisited(HierarchyNode *node, const int frameId) const = 0; 
     162        virtual void DetermineVisibilityRatio(HierarchyNode *node) const = 0; 
     163        virtual float GetNodeVisibilityRatio(HierarchyNode *node) const = 0; 
     164 
     165        virtual HierarchyNode *GetParent(HierarchyNode *node) = 0; 
    164166 
    165167protected: 
Note: See TracChangeset for help on using the changeset viewer.