Changeset 85 for trunk/VUT/GtpVisibility
- Timestamp:
- 05/04/05 17:58:13 (20 years ago)
- Location:
- trunk/VUT/GtpVisibility
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/HierarchyInterface.h
r74 r85 118 118 DistanceQueue *mDistanceQueue; 119 119 HierarchyNode *mSceneRoot; 120 //HierarchyNode *mCurrentNode;120 HierarchyNode *mPreviousNode; 121 121 }; 122 122 } // namespace GtpVisibility -
trunk/VUT/GtpVisibility/src/CoherentHierarchicalCullingManager.cpp
r74 r85 1 1 #include "CoherentHierarchicalCullingManager.h" 2 //#include <windows.h> 2 3 3 4 namespace GtpVisibility { … … 6 7 void CoherentHierarchicalCullingManager::RenderScene() 7 8 { 9 mNumFrustumCulledNodes = mNumQueryCulledNodes = 0; 10 //OutputDebugString("Coherent Culling\n"); 11 8 12 QueryQueue queryQueue; 9 mNumFrustumCulledNodes = mNumQueryCulledNodes = 0; 10 13 11 14 //-- PART 1: process finished occlusion queries 12 15 while (!mHierarchyInterface->GetQueue()->empty() || !queryQueue.empty()) … … 31 34 mNumQueryCulledNodes ++; 32 35 } 33 } 36 } 34 37 35 38 //-- PART 2: hierarchical traversal -
trunk/VUT/GtpVisibility/src/FrustumCullingManager.cpp
r74 r85 1 1 #include "FrustumCullingManager.h" 2 3 #include <windows.h> 2 //#include <windows.h> 4 3 5 4 namespace GtpVisibility { … … 9 8 { 10 9 mNumFrustumCulledNodes = mNumQueryCulledNodes = 0; 11 10 //OutputDebugString("Frustum Culling\n"); 11 12 12 while (!mHierarchyInterface->GetQueue()->empty()) 13 13 { -
trunk/VUT/GtpVisibility/src/HierarchyInterface.cpp
r74 r85 8 8 HierarchyInterface::HierarchyInterface(): 9 9 mFrameId(0), mNumTraversedNodes(0), mNumRenderedNodes(0), 10 mSceneRoot(0), m CurrentTestIdx(0)10 mSceneRoot(0), mPreviousNode(0), mCurrentTestIdx(0) 11 11 { 12 12 mDistanceQueue = new DistanceQueue(GreaterDistance<HierarchyNode *>(this)); … … 26 26 { 27 27 mFrameId ++; 28 mCurrentTestIdx = 0; 28 29 mNumTraversedNodes = 0; 29 30 mNumRenderedNodes = 0; -
trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp
r74 r85 1 1 #include "StopAndWaitCullingManager.h" 2 //#include <windows.h> 2 3 3 4 namespace GtpVisibility { … … 7 8 { 8 9 mNumFrustumCulledNodes = mNumQueryCulledNodes = 0; 10 //OutputDebugString("Stop and Wait Culling\n"); 9 11 10 12 while (!mHierarchyInterface->GetQueue()->empty())
Note: See TracChangeset
for help on using the changeset viewer.