- Timestamp:
- 05/15/08 18:46:13 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp
r2610 r2680 151 151 cout<<"Evaluating render error"<<endl; 152 152 ComputeRenderError(); 153 cout<<" Evaluating rendererror"<<endl;153 cout<<"finished evaluating error"<<endl; 154 154 } 155 155 } -
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2679 r2680 118 118 mDetectEmptyViewSpace); 119 119 120 //mSnapErrorFrames = false; 121 mSnapErrorFrames = true; 120 mSnapErrorFrames = false; 121 //mSnapErrorFrames = true; 122 122 123 mSnapPrefix = "snap/"; 123 124 mUseForcedColors = false; -
GTP/trunk/Lib/Vis/Preprocessing/src/GtpVisibility05.vcproj
r2676 r2680 17 17 <Configuration 18 18 Name="Debug|Win32" 19 OutputDirectory="$(SolutionDir) $(ConfigurationName)"20 IntermediateDirectory="$( ConfigurationName)"21 ConfigurationType=" 1"19 OutputDirectory="$(SolutionDir)\Preprocessing\lib05\$(ConfigurationName)" 20 IntermediateDirectory="$(SolutionDir)\Preprocessing\obj05\$(ConfigurationName)" 21 ConfigurationType="4" 22 22 CharacterSet="2" 23 23 > … … 40 40 Name="VCCLCompilerTool" 41 41 Optimization="0" 42 AdditionalIncludeDirectories="..\ include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;Timer"43 PreprocessorDefinitions="WIN32;DEBUG;_CONSOLE; NO_QT;USE_VERBOSE_PVS"42 AdditionalIncludeDirectories="..\src;Timer;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\include";..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;"$(CG_INC_PATH)"" 43 PreprocessorDefinitions="WIN32;DEBUG;_CONSOLE;USE_VERBOSE_PVS;USE_QT;GTP_INTERNAL;USE_CG" 44 44 MinimalRebuild="true" 45 45 BasicRuntimeChecks="3" … … 59 59 /> 60 60 <Tool 61 Name="VCLinkerTool" 62 AdditionalDependencies="xerces-c_2.lib glew32.lib zdll.lib zziplib.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib" 63 AdditionalLibraryDirectories="..\src\GL;..\lib\debug;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib" 64 GenerateDebugInformation="true" 65 TargetMachine="1" 61 Name="VCLibrarianTool" 66 62 /> 67 63 <Tool … … 69 65 /> 70 66 <Tool 71 Name="VCManifestTool"72 />73 <Tool74 67 Name="VCXDCMakeTool" 75 68 /> … … 79 72 <Tool 80 73 Name="VCFxCopTool" 81 />82 <Tool83 Name="VCAppVerifierTool"84 />85 <Tool86 Name="VCWebDeploymentTool"87 74 /> 88 75 <Tool -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r2678 r2680 1057 1057 1058 1058 string ktbFilename = internKdTree; 1059 int l = ktbFilename.length();1059 int l = (int)ktbFilename.length(); 1060 1060 ktbFilename[l-1] = 't'; 1061 1061 ktbFilename[l-2] = 'b'; … … 1471 1471 1472 1472 if (renderer && renderer->mPvsStatFrames) { 1473 // emit EvalPvsStat(); 1474 // QMutex mutex; 1475 // mutex.lock(); 1476 // renderer->mRenderingFinished.wait(&mutex); 1477 // mutex.unlock(); 1478 1479 if (!mViewCellsManager->GetViewCellPointsList()->empty()) { 1473 1474 if (!mViewCellsManager->GetViewCellPointsList()->empty()) 1475 { 1480 1476 1481 1477 ViewCellPointsList *vcPoints = mViewCellsManager->GetViewCellPointsList(); … … 1491 1487 1492 1488 SimpleRayContainer::const_iterator rit = vp->second.begin(), rit_end = vp->second.end(); 1493 1494 1489 for (; rit!=rit_end; ++rit) 1495 1490 viewPoints.push_back(*rit); … … 1501 1496 } 1502 1497 1503 c err<< "evaluating list of " << viewPoints.size() << " pts" << endl;1498 cout << "evaluating list of " << viewPoints.size() << " pts" << endl; 1504 1499 renderer->EvalPvsStat(viewPoints); 1505 1500 } else 1506 1501 { 1502 cout << "evaluating random points" << endl; 1507 1503 renderer->EvalPvsStat(); 1508 1504 } -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtInterface05.vcproj
r2679 r2680 18 18 <Configuration 19 19 Name="Debug|Win32" 20 OutputDirectory="$(SolutionDir) $(ConfigurationName)"21 IntermediateDirectory="$( ConfigurationName)"20 OutputDirectory="$(SolutionDir)\Preprocessing\lib05\$(ConfigurationName)" 21 IntermediateDirectory="$(SolutionDir)\Preprocessing\obj05\$(ConfigurationName)" 22 22 ConfigurationType="4" 23 23 CharacterSet="1" … … 41 41 Name="VCCLCompilerTool" 42 42 Optimization="0" 43 PreprocessorDefinitions="WIN32;_DEBUG;_LIB" 43 AdditionalIncludeDirectories="..\src;..\..\src\;..\..\..\..\..\..\..\NonGTP\Zlib\include;"$(QTDIR)\include\QtOpenGL";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtGui";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";"$(CG_INC_PATH)";"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\include"" 44 PreprocessorDefinitions="WIN32;_DEBUG;_LIB;GTP_INTERNAL;USE_QT;USE_VERBOSE_PVS;USE_CG" 44 45 MinimalRebuild="true" 45 46 BasicRuntimeChecks="3" -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor05.vcproj
r2677 r2680 17 17 <Configuration 18 18 Name="Debug|Win32" 19 OutputDirectory="..\bin\ Debug"20 IntermediateDirectory="..\obj \Debug"19 OutputDirectory="..\bin\$(ConfigurationName)" 20 IntermediateDirectory="..\obj05\$(ConfigurationName)" 21 21 ConfigurationType="1" 22 22 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" … … 41 41 Name="VCCLCompilerTool" 42 42 Optimization="0" 43 AdditionalIncludeDirectories="..\ include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\src\sparsehash\src\"44 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE; NO_QT"43 AdditionalIncludeDirectories="..\src;..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;"$(QTDIR)\include\QtOpenGl";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";QtInterface;..\src\sparsehash\src\;..\src\ootl\src\include\ootl;..\src\ootl\src\include\ootl\sandbox;$(NOINHERIT)" 44 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;GTP_INTERNAL;USE_QT;USE_CG;USE_VERBOSE_PVS" 45 45 MinimalRebuild="true" 46 46 BasicRuntimeChecks="3" … … 63 63 <Tool 64 64 Name="VCLinkerTool" 65 AdditionalDependencies="xerces-c_2D.lib zdll.lib zziplibd.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib glew32.lib"66 OutputFile=" $(OutDir)/Preprocessor.exe"65 AdditionalDependencies="xerces-c_2D.lib zdll.lib zziplibd.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib glew32.lib zziplib.lib RTScene.lib RTWorld.lib cg.lib cgGL.lib QtInterface05.lib QtGuid4.lib QtOpenGLd4.lib QtCored4.lib qtmain.lib Preprocessor05.lib" 66 OutputFile="../bin/$(ConfigurationName)/Preprocessor.exe" 67 67 LinkIncremental="2" 68 AdditionalLibraryDirectories=" ..\include;..\src\GL;"..\lib\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib"68 AdditionalLibraryDirectories=""$(QTDIR)\lib";..\src\GL;"..\lib05\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;"..\MultiLevelRayTracing\RTScene\$(ConfigurationName)";"..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)";"QtInterface\$(ConfigurationName)";"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\lib";"$(CG_LIB_PATH)"" 69 69 GenerateDebugInformation="true" 70 70 ProgramDatabaseFile="$(OutDir)/TestPreprocessor.pdb" -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2679 r2680 235 235 { 236 236 cerr << "error: view cells could not be loaded" << endl; 237 238 237 Cleanup(); 239 238 exit(1); … … 261 260 cout << "successfully loaded " << viewCellPointsFile << endl; 262 261 else 263 c out<< "error: file << " << viewCellPointsFile << " not found, generating random view points!" << endl;262 cerr << "error: file << " << viewCellPointsFile << " not found, generating random view points!" << endl; 264 263 } 265 264 … … 293 292 // create a qt application first (must be created before any opengl widget ...) 294 293 QApplication *app = new QApplication(argc, NULL); 295 296 //Dummy dummy(1024, 1024);297 //dummy.dummyBuffer();298 294 299 295 pt = new QtPreprocessorThread(preprocessor); … … 326 322 327 323 preprocessor->renderer = glbuf; 328 329 //glbuf->dummyBuffer();330 324 } 331 325
Note: See TracChangeset
for help on using the changeset viewer.