Changeset 2680


Ignore:
Timestamp:
05/15/08 18:46:13 (16 years ago)
Author:
mattausch
Message:

started working on dyn objects

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp

    r2610 r2680  
    151151                cout<<"Evaluating render error"<<endl; 
    152152                ComputeRenderError(); 
    153                 cout<<"Evaluating render error"<<endl; 
     153                cout<<"finished evaluating error"<<endl; 
    154154          } 
    155155        } 
  • GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp

    r2679 r2680  
    118118                                                      mDetectEmptyViewSpace); 
    119119 
    120         //mSnapErrorFrames = false; 
    121         mSnapErrorFrames = true; 
     120        mSnapErrorFrames = false; 
     121        //mSnapErrorFrames = true; 
     122 
    122123        mSnapPrefix = "snap/"; 
    123124        mUseForcedColors = false; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/GtpVisibility05.vcproj

    r2676 r2680  
    1717                <Configuration 
    1818                        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" 
    2222                        CharacterSet="2" 
    2323                        > 
     
    4040                                Name="VCCLCompilerTool" 
    4141                                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;&quot;..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\include&quot;;..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;&quot;$(CG_INC_PATH)&quot;" 
     43                                PreprocessorDefinitions="WIN32;DEBUG;_CONSOLE;USE_VERBOSE_PVS;USE_QT;GTP_INTERNAL;USE_CG" 
    4444                                MinimalRebuild="true" 
    4545                                BasicRuntimeChecks="3" 
     
    5959                        /> 
    6060                        <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" 
    6662                        /> 
    6763                        <Tool 
     
    6965                        /> 
    7066                        <Tool 
    71                                 Name="VCManifestTool" 
    72                         /> 
    73                         <Tool 
    7467                                Name="VCXDCMakeTool" 
    7568                        /> 
     
    7972                        <Tool 
    8073                                Name="VCFxCopTool" 
    81                         /> 
    82                         <Tool 
    83                                 Name="VCAppVerifierTool" 
    84                         /> 
    85                         <Tool 
    86                                 Name="VCWebDeploymentTool" 
    8774                        /> 
    8875                        <Tool 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r2678 r2680  
    10571057 
    10581058          string ktbFilename = internKdTree; 
    1059           int l = ktbFilename.length(); 
     1059          int l = (int)ktbFilename.length(); 
    10601060          ktbFilename[l-1] = 't'; 
    10611061          ktbFilename[l-2] = 'b'; 
     
    14711471         
    14721472  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        { 
    14801476           
    14811477          ViewCellPointsList *vcPoints = mViewCellsManager->GetViewCellPointsList(); 
     
    14911487 
    14921488                SimpleRayContainer::const_iterator rit = vp->second.begin(), rit_end = vp->second.end(); 
    1493  
    14941489                for (; rit!=rit_end; ++rit) 
    14951490                  viewPoints.push_back(*rit); 
     
    15011496          } 
    15021497 
    1503           cerr << "evaluating list of " << viewPoints.size() << " pts" << endl; 
     1498          cout << "evaluating list of " << viewPoints.size() << " pts" << endl; 
    15041499          renderer->EvalPvsStat(viewPoints); 
    15051500        } else 
    15061501        { 
     1502                cout << "evaluating random points" << endl; 
    15071503          renderer->EvalPvsStat(); 
    15081504        } 
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtInterface05.vcproj

    r2679 r2680  
    1818                <Configuration 
    1919                        Name="Debug|Win32" 
    20                         OutputDirectory="$(SolutionDir)$(ConfigurationName)" 
    21                         IntermediateDirectory="$(ConfigurationName)" 
     20                        OutputDirectory="$(SolutionDir)\Preprocessing\lib05\$(ConfigurationName)" 
     21                        IntermediateDirectory="$(SolutionDir)\Preprocessing\obj05\$(ConfigurationName)" 
    2222                        ConfigurationType="4" 
    2323                        CharacterSet="1" 
     
    4141                                Name="VCCLCompilerTool" 
    4242                                Optimization="0" 
    43                                 PreprocessorDefinitions="WIN32;_DEBUG;_LIB" 
     43                                AdditionalIncludeDirectories="..\src;..\..\src\;..\..\..\..\..\..\..\NonGTP\Zlib\include;&quot;$(QTDIR)\include\QtOpenGL&quot;;&quot;$(QTDIR)\include\Qt&quot;;&quot;$(QTDIR)\include\QtGui&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include&quot;;&quot;$(CG_INC_PATH)&quot;;&quot;..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\include&quot;" 
     44                                PreprocessorDefinitions="WIN32;_DEBUG;_LIB;GTP_INTERNAL;USE_QT;USE_VERBOSE_PVS;USE_CG" 
    4445                                MinimalRebuild="true" 
    4546                                BasicRuntimeChecks="3" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor05.vcproj

    r2677 r2680  
    1717                <Configuration 
    1818                        Name="Debug|Win32" 
    19                         OutputDirectory="..\bin\Debug" 
    20                         IntermediateDirectory="..\obj\Debug" 
     19                        OutputDirectory="..\bin\$(ConfigurationName)" 
     20                        IntermediateDirectory="..\obj05\$(ConfigurationName)" 
    2121                        ConfigurationType="1" 
    2222                        InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" 
     
    4141                                Name="VCCLCompilerTool" 
    4242                                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;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(QTDIR)\include\Qt&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include&quot;;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" 
    4545                                MinimalRebuild="true" 
    4646                                BasicRuntimeChecks="3" 
     
    6363                        <Tool 
    6464                                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" 
    6767                                LinkIncremental="2" 
    68                                 AdditionalLibraryDirectories="..\include;..\src\GL;&quot;..\lib\$(ConfigurationName)&quot;;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib" 
     68                                AdditionalLibraryDirectories="&quot;$(QTDIR)\lib&quot;;..\src\GL;&quot;..\lib05\$(ConfigurationName)&quot;;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;&quot;..\MultiLevelRayTracing\RTScene\$(ConfigurationName)&quot;;&quot;..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)&quot;;&quot;QtInterface\$(ConfigurationName)&quot;;&quot;..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\lib&quot;;&quot;$(CG_LIB_PATH)&quot;" 
    6969                                GenerateDebugInformation="true" 
    7070                                ProgramDatabaseFile="$(OutDir)/TestPreprocessor.pdb" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp

    r2679 r2680  
    235235        { 
    236236                cerr << "error: view cells could not be loaded" << endl; 
    237  
    238237                Cleanup(); 
    239238                exit(1); 
     
    261260                        cout << "successfully loaded " << viewCellPointsFile << endl; 
    262261                else 
    263                         cout << "error: file << " << viewCellPointsFile << " not found, generating random view points!" << endl; 
     262                        cerr << "error: file << " << viewCellPointsFile << " not found, generating random view points!" << endl; 
    264263        } 
    265264 
     
    293292        // create a qt application first (must be created before any opengl widget ...) 
    294293        QApplication *app = new QApplication(argc, NULL); 
    295  
    296         //Dummy dummy(1024, 1024); 
    297         //dummy.dummyBuffer(); 
    298294 
    299295        pt = new QtPreprocessorThread(preprocessor);     
     
    326322 
    327323                preprocessor->renderer = glbuf; 
    328                          
    329                 //glbuf->dummyBuffer(); 
    330324        } 
    331325 
Note: See TracChangeset for help on using the changeset viewer.