Changeset 1841 for GTP/trunk/Lib/Vis
- Timestamp:
- 12/02/06 00:15:15 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1830 r1841 2179 2179 for (cit = candidateContainer.begin(); cit != cit_end; ++ cit) 2180 2180 { 2181 BvhSubdivisionCandidate *sCandidate = dynamic_cast<BvhSubdivisionCandidate *>(*cit); 2182 2181 2183 // reevaluate priority 2182 EvalSubdivisionCandidate(* oSubdivisionCandidate);2183 tQueue.Push( *cit);2184 EvalSubdivisionCandidate(*sCandidate); 2185 tQueue.Push(sCandidate); 2184 2186 } 2185 2187 } … … 2193 2195 } 2194 2196 2195 cout << " !!size: " << GetStatistics().Leaves() << endl;2197 cout << "size of initial bv subdivision: " << GetStatistics().Leaves() << endl; 2196 2198 } 2197 2199 … … 2580 2582 ObjectContainer::const_iterator backObjectsStart = objects->begin(); 2581 2583 2582 2584 for (oit = objects->begin(); oit != (objects->end() - 1); ++ oit) 2583 2585 { 2584 2586 Intersectable *objS = *oit; … … 2630 2632 ); 2631 2633 2632 cout << "criteria met: " << terminationCriteriaMet << " " << (int)tData.mNode->mObjects.size() << " " << mInitialMinObjects << endl 2633 << AreaRatio(tData.mNode->mObjects.front(), tData.mNode->mObjects.back()) << " " << mInitialMaxAreaRatio << endl 2634 << tData.mNode->mObjects.back()->GetBox().SurfaceArea() << " " << mInitialMinArea << endl; 2634 cout << "criteria met: "<< terminationCriteriaMet << "\n" 2635 << "size: " << (int)tData.mNode->mObjects.size() << " max: " << mInitialMinObjects << endl 2636 << "ratio: " << AreaRatio(tData.mNode->mObjects.front(), tData.mNode->mObjects.back()) << " max: " << mInitialMaxAreaRatio << endl 2637 << "area: " << tData.mNode->mObjects.back()->GetBox().SurfaceArea() << " max: " << mInitialMinArea << endl << endl; 2635 2638 2636 2639 return terminationCriteriaMet; -
GTP/trunk/Lib/Vis/Preprocessing/src/QtGlRenderer/QtGlRenderer.cpp
r1387 r1841 1539 1539 1540 1540 /***********************************************************************/ 1541 /* QtGlDebuggerWidget implementation 1541 /* QtGlDebuggerWidget implementation */ 1542 1542 /***********************************************************************/ 1543 1543 -
GTP/trunk/Lib/Vis/Preprocessing/src/RssTree.cpp
r1832 r1841 2864 2864 2865 2865 // $$ 2866 sumWeights = leaf->mTotalRays;2866 sumWeights = (float)leaf->mTotalRays; 2867 2867 2868 2868 //$$ test 30.11. 2006 -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj
r1811 r1841 35 35 Name="VCLinkerTool" 36 36 AdditionalDependencies="xerces-c_2D.lib zdll.lib zziplibd.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib glew32.lib" 37 OutputFile="$(OutDir)/Preprocessor.exe "37 OutputFile="$(OutDir)/Preprocessor.exe2" 38 38 LinkIncremental="2" 39 39 AdditionalLibraryDirectories="..\include;..\src\GL;"..\lib\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib" … … 194 194 OptimizeForWindowsApplication="TRUE" 195 195 AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;"$(QTDIR)\include\QtOpenGl";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtCore";"$(QTDIR)\include"" 196 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL "196 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL;NO_QT" 197 197 RuntimeLibrary="2" 198 198 RuntimeTypeInfo="TRUE" … … 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/ViewCellsManager.cpp
r1832 r1841 5735 5735 } 5736 5736 5737 // export some view cell 5737 // export some view cells 5738 5738 int leafOut; 5739 5739 Environment::GetSingleton()->GetIntValue("ViewCells.Visualization.maxOutput", leafOut); -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r1832 r1841 37 37 #include "GlRenderer.h" 38 38 39 #if USE_QT39 //#if USE_QT 40 40 #include "QtPreprocessorThread.h" 41 41 #include "QtGlRenderer.h" 42 42 #include "QtGlViewer.h" 43 #endif43 //#endif 44 44 45 45 #define USE_EXE_PATH false
Note: See TracChangeset
for help on using the changeset viewer.