Ignore:
Timestamp:
04/07/05 18:51:36 (20 years ago)
Author:
mattausch
Message:
 
File:
1 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; 
Note: See TracChangeset for help on using the changeset viewer.