Changeset 1733 for GTP/trunk/Lib/Vis
- Timestamp:
- 11/09/06 13:57:27 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1732 r1733 1852 1852 { 1853 1853 candidate->Mail(); 1854 candidate->SetDirty(true); 1854 1855 dirtyList.push_back(candidate); 1855 1856 } -
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1732 r1733 267 267 splitQueue.Pop(); 268 268 269 // split was not reevaluated before => do it now 270 if (splitCandidate->IsDirty()) 271 splitCandidate->EvalCandidate(); 272 269 273 return splitCandidate; 270 274 } … … 471 475 { 472 476 // decide upon next split type 473 if (viewSpaceQueue.Top()->IsDirty())474 viewSpaceQueue.Top()->EvalCandidate();475 476 if (objectSpaceQueue.Top()->IsDirty())477 objectSpaceQueue.Top()->EvalCandidate();478 479 477 const float vspPriority = viewSpaceQueue.Top() ? viewSpaceQueue.Top()->GetPriority() : -1e20f; 480 478 const float ospPriority = objectSpaceQueue.Top() ? objectSpaceQueue.Top()->GetPriority() : -1e20f; … … 976 974 while (!splitQueue.Empty()) 977 975 { 978 // reevaluate current candidate979 if (splitQueue.Top()->IsDirty())980 splitQueue.Top()->EvalCandidate();981 982 976 const float priority = splitQueue.Top()->GetPriority(); 983 977 const float threshold = oldCandidate ? oldCandidate->GetPriority() : 1e20f; -
GTP/trunk/Lib/Vis/Preprocessing/src/SubdivisionCandidate.h
r1727 r1733 98 98 } 99 99 100 inline void SetDirty(const bool dirty) 101 { 102 mDirty = dirty; 103 } 104 100 105 ////////// 101 106 //-- mailing stuff … … 122 127 123 128 void *mEvaluationHack; 129 124 130 protected: 125 131 -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj
r1723 r1733 206 206 Name="VCLinkerTool" 207 207 AdditionalDependencies="xerces-c_2.lib glew32.lib zdll.lib zziplib.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib RTScene.lib RTWorld.lib QtCore4.lib qtmain.lib QtOpenGL4.lib Qt3Support4.lib QtTest4.lib QtGui4.lib QtGlRenderer.lib" 208 OutputFile="../bin/release/Preprocessor .exe"208 OutputFile="../bin/release/Preprocessor2.exe" 209 209 LinkIncremental="1" 210 210 AdditionalLibraryDirectories="..\src\GL;..\lib\release;..\..\Preprocessing\lib\release;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;..\MultiLevelRayTracing\RTScene\Release;..\MultiLevelRayTracing\RTWorld\Release;"$(QTDIR)\lib";.\QtGlRenderer\Release" -
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r1732 r1733 2994 2994 { 2995 2995 candidate->Mail(); 2996 candidate->SetDirty(true); 2996 2997 dirtyList.push_back(candidate); 2997 2998 }
Note: See TracChangeset
for help on using the changeset viewer.