Changeset 139 for trunk/VUT/Ogre/include


Ignore:
Timestamp:
06/20/05 08:13:57 (19 years ago)
Author:
mattausch
Message:

fixed bug with tight octree boxes
added more flexible renderqueue (can delete per flag)
reordered functions in visibility terrain scene manager

Location:
trunk/VUT/Ogre/include
Files:
3 edited

Legend:

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

    r130 r139  
    5353        */ 
    5454        void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL,  
    55                 bool leaveTransparentsInQueue = false); 
     55                int leavePassesInQueue = 0); 
    5656        /** Checks if the node is visible from the current view frustum. 
    5757                @param node the current node 
     
    162162 
    163163        bool mOnlyShadowCasters; 
    164         bool mLeaveTransparentsInQueue; 
     164        int mLeavePassesInQueue; 
    165165        bool mIsBoundingBoxQuery; 
    166166}; 
  • trunk/VUT/Ogre/include/OgreVisibilityOctreeSceneManager.h

    r130 r139  
    6767         
    6868        /** Prepares visualization of hierarchical culling. */ 
    69         void ShowVisualization(Camera *cam); 
     69        void PrepareVisualization(Camera *cam); 
    7070        OctreeHierarchyInterface *mHierarchyInterface; 
    7171        GtpVisibility::VisibilityManager *mVisibilityManager; 
  • trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h

    r133 r139  
    9090        /** Fills render queue so that a visualization can be rendered.  
    9191        */ 
    92         void ShowVisualization(Camera *cam); 
     92        void PrepareVisualization(Camera *cam); 
     93         
     94        void InitVisibilityCulling(Camera *cam); 
     95 
    9396 
    9497        OctreeHierarchyInterface *mHierarchyInterface; 
     
    9699 
    97100        bool mShowVisualization; 
    98         bool mSkipTransparents; 
    99101        bool mVisualizeCulledNodes; 
    100102 
     
    106108        bool mRenderItemBuffer; 
    107109        bool mEnableDepthWrite; 
     110        bool mSkipTransparents; 
    108111 
    109112        Pass *mDepthPass; 
     
    113116 
    114117        PlatformQueryManager *mQueryManager; 
     118 
     119        int mLeavePassesInQueue; 
     120        ShadowTechnique mSavedShadowTechnique; 
    115121}; 
    116122 
Note: See TracChangeset for help on using the changeset viewer.