Changeset 41 for trunk/VUT/OcclusionCullingSceneManager/include/OgreOcclusionCullingSceneTraverser.h
- Timestamp:
- 04/07/05 18:51:36 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/OcclusionCullingSceneManager/include/OgreOcclusionCullingSceneTraverser.h
r39 r41 93 93 void setNumSceneNodes(int num ); 94 94 95 /** Sets the required number of occlusion queries. 96 @param num number occlusion queries 97 */ 98 void setNumQueries( int num ); 99 95 100 protected: 96 101 /** query mode (= without color) or RENDER_MODE */ … … 114 119 /** Renders the scene with the coherent hierarchical algorithm and the query queye. */ 115 120 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 ); 118 126 /** Pulls up the visibility from the child nodes. */ 119 127 void pullUpVisibility( SceneNode *node ); … … 121 129 void deleteQueries(); 122 130 /** 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 ); 126 133 /** Returns one half of the bounding box. 127 @param the half of the bouding box134 @param half the half index of the bouding box (0 or 1) 128 135 */ 129 136 SolidHalfBoundingBox *getSolidHalfBoundingBox( int half ); … … 147 154 int mQueryMode; 148 155 156 unsigned int mNumQueries; 157 149 158 //--- statistics 150 159 unsigned int mNumSceneNodes;
Note: See TracChangeset
for help on using the changeset viewer.