Changeset 2497 for GTP/trunk/Lib/Vis
- Timestamp:
- 07/03/07 01:39:48 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgrePlatformHierarchyInterface.cpp
r2455 r2497 106 106 solidBox->getRenderOperation(ro); 107 107 ro.srcRenderable = solidBox; 108 109 //std::stringstream d;110 //d << "vt2: " << ro.vertexData;111 //LogManager::getSingleton().logMessage(d.str());112 108 113 109 mRenderSystem->_render(ro); -
GTP/trunk/Lib/Vis/OnlineCullingCHC/scripts/terrainCulling.cfg
r2455 r2497 44 44 #QueryObjectsMode=EXACT 45 45 QueryObjectsMode=NODE 46 #QueryObjectsMode=APPROXIMATE ;46 #QueryObjectsMode=APPROXIMATE 47 47 48 48 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp
r2455 r2497 144 144 145 145 // if we assume node to be visible in this frame => skip query 146 const bool skipQuery = false;//wasVisible && mHierarchyInterface->HasGeometry(node); 146 const bool skipQuery = false; 147 //wasVisible && mHierarchyInterface->HasGeometry(node); 147 148 148 149 if (skipQuery) … … 171 172 const bool testGeometry = wasVisible && mHierarchyInterface->IsLeaf(node) && mTestGeometryForVisibleLeaves; 172 173 174 // previously invisible node 175 #if TODO 176 if (!mHierarchyInterface->IsNodeVisible(node)) 177 { 178 // batch queries so we can test invisible nodes 179 } 180 #endif 173 181 queryQueue.push(QueryPair(node, mHierarchyInterface-> 174 182 IssueNodeOcclusionQuery(node, testGeometry)));
Note: See TracChangeset
for help on using the changeset viewer.