Ignore:
Timestamp:
04/07/05 18:51:36 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/OcclusionCullingSceneManager/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/OcclusionCullingSceneManager/include/OgreOcclusionCullingSceneTraverser.h

    r39 r41  
    9393                void setNumSceneNodes(int num ); 
    9494 
     95                /** Sets the required number of occlusion queries. 
     96                @param num number occlusion queries 
     97                */ 
     98                void setNumQueries( int num ); 
     99 
    95100        protected: 
    96101                /** query mode (= without color) or RENDER_MODE */ 
     
    114119                /** Renders the scene with the coherent hierarchical algorithm and the query queye. */ 
    115120                void renderCoherentWithQueue( Camera *cam ); 
    116                 /** Issue a occlusion query for this node. */ 
    117                 HardwareOcclusionQuery *issueOcclusionQuery( SceneNode *node, bool wasVisible ); 
     121                /** Issue a occlusion query for this node.  
     122                @param box the axis aligned bounding box of the node 
     123                @wasVisible if the node was visible in previous frame 
     124                */ 
     125                HardwareOcclusionQuery *issueOcclusionQuery( AxisAlignedBox *box, bool wasVisible ); 
    118126                /** Pulls up the visibility from the child nodes. */ 
    119127                void pullUpVisibility( SceneNode *node ); 
     
    121129                void deleteQueries(); 
    122130                /** Renders bounding box of specified node. 
    123                 @param the scene node contained in the bounding box to be rendered 
    124                 */ 
    125                 void renderBoundingBox( SceneNode *node ); 
     131                @param box the bounding box of the scene node to be rendered */ 
     132                void renderBoundingBox( AxisAlignedBox *box ); 
    126133                /** Returns one half of the bounding box. 
    127                 @param the half of the bouding box 
     134                @param half the half index of the bouding box (0 or 1) 
    128135                */ 
    129136                SolidHalfBoundingBox *getSolidHalfBoundingBox( int half ); 
     
    147154                int mQueryMode; 
    148155 
     156                unsigned int mNumQueries; 
     157 
    149158                //--- statistics 
    150159                unsigned int mNumSceneNodes; 
  • trunk/VUT/OcclusionCullingSceneManager/include/OgreOcclusionCullingTerrainSceneManager.h

    r40 r41  
    5555 
    5656        protected: 
    57                 //OcclusionCullingTerrainSceneTraverser *mOcclusionCullingTerrainSceneTraverser; 
    58                 OcclusionCullingSceneTraverser *mOcclusionCullingTerrainSceneTraverser; 
     57                /** Recursively counts octree size (i.e., number of octree instances) 
     58                @param root current octree 
     59                */ 
     60                unsigned int countOctreeSize(Octree *root); 
     61 
     62                OcclusionCullingTerrainSceneTraverser *mOcclusionCullingTerrainSceneTraverser; 
     63                //OcclusionCullingSceneTraverser *mOcclusionCullingTerrainSceneTraverser; 
    5964        }; 
    6065 
  • trunk/VUT/OcclusionCullingSceneManager/include/OgreOcclusionCullingTerrainSceneTraverser.h

    r40 r41  
    5959                 
    6060                void pullUpVisibility( Octree *octree ); 
    61                 void traverseOctree( Camera *cam, Octree *octree ); 
    62                 void renderOctree( Camera *cam, Octree *octree ); 
     61                void traverseOctant(Camera *cam, Octree *octant ); 
     62                void renderOctant( Camera *cam, Octree *octant ); 
    6363 
    6464                OctreePriorityQueue *mDistanceQueue; 
Note: See TracChangeset for help on using the changeset viewer.