Ignore:
Timestamp:
04/28/08 02:10:37 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/GtpVisibility05.vcproj

    r2659 r2660  
    115115                        <Tool 
    116116                                Name="VCCLCompilerTool" 
    117                                 AdditionalIncludeDirectories="..\src;Timer;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;&quot;$(CG_INC_PATH)&quot;" 
     117                                AdditionalIncludeDirectories="..\src;Timer;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;&quot;..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\include&quot;;..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;&quot;$(CG_INC_PATH)&quot;" 
    118118                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;USE_VERBOSE_PVS;USE_QT;GTP_INTERNAL;USE_CG" 
    119119                                RuntimeLibrary="2" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r2659 r2660  
    630630bool Preprocessor::PrepareViewCells() 
    631631{ 
     632#if 0 
    632633        // load the view cells assigning the found objects to the pvss 
    633 #if 0 
    634634        cerr << "loading binary view cells" << endl; 
    635635        ViewCellsManager *dummyViewCellsManager =  
     
    668668                const bool finalizeViewCells = true; 
    669669                cout << "loading view cells from " << buf << endl; 
    670 cout<<"here965"<<endl; 
     670                 
    671671                mViewCellsManager = ViewCellsManager::LoadViewCells(buf,  
    672672                                                                                                                        pvsObjects, 
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp

    r2648 r2660  
    437437        { 
    438438#if USE_TRANSFORMED_MESH_INSTANCE_HACK 
    439                 //cerr << "here45\n****"<<endl; 
    440439                RenderIntersectable(*dit); 
    441440#else 
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtInterface05.vcproj

    r2659 r2660  
    104104                                Name="VCCLCompilerTool" 
    105105                                WholeProgramOptimization="true" 
    106                                 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;" 
     106                                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-x86-windows-vc_8_0\include&quot;" 
    107107                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GTP_INTERNAL;USE_QT;USE_VERBOSE_PVS;USE_CG" 
    108108                                RuntimeLibrary="2" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp

    r2635 r2660  
    156156#endif 
    157157   
     158#if REMOVE_TEMP 
    158159  _SortRays(rays, 
    159160                        0, 
     
    162163                        b 
    163164                        ); 
     165#endif 
    164166} 
    165167                                         
     
    169171                                         const int r, 
    170172                                         const int depth, 
    171                                          float box[12]) 
     173                                         float *box) 
    172174{ 
    173175  // pick-up a pivot 
    174   int axis; 
     176  int axis = 0; 
    175177   
    176178  float maxDiff = -1.0f; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h

    r2629 r2660  
    187187                 const int r, 
    188188                 const int depth, 
    189                  float box[12]); 
     189                 float *box); 
    190190 
    191191  void _SortRays2(SimpleRayContainer &rays, 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor05.vcproj

    r2659 r2660  
    129129                                EnableFiberSafeOptimizations="false" 
    130130                                WholeProgramOptimization="true" 
    131                                 AdditionalIncludeDirectories="..\src;..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;&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)" 
     131                                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;&quot;..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\include&quot;;$(NOINHERIT)" 
    132132                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL;USE_QT;USE_CG;USE_VERBOSE_PVS" 
    133133                                StringPooling="true" 
     
    156156                                OutputFile="../bin/$(ConfigurationName)/Preprocessor.exe" 
    157157                                LinkIncremental="1" 
    158                                 AdditionalLibraryDirectories="&quot;$(QTDIR)\lib&quot;;..\src\GL;&quot;..\lib05\$(ConfigurationName)&quot;;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;&quot;..\MultiLevelRayTracing\RTScene\$(ConfigurationName)&quot;;&quot;..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)&quot;;&quot;QtInterface\$(ConfigurationName)&quot;;&quot;$(CG_LIB_PATH)&quot;" 
     158                                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-x86-windows-vc_8_0\lib&quot;;&quot;$(CG_LIB_PATH)&quot;" 
    159159                                GenerateDebugInformation="true" 
    160160                                SubSystem="1" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r2659 r2660  
    806806        ViewCellsParser parser; 
    807807        ViewCellsManager *vm = NULL; 
    808 cout<<"780088"<<endl; 
     808 
    809809        const long startTime = GetTime(); 
    810810        const bool success = parser.ParseViewCellsFile(filename,  
     
    24352435        if (addSamplesToPvs)  
    24362436        { 
    2437                 //if (obj->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE)cout << "here12 " << endl; 
    2438  
    24392437                hasAbsContribution = viewCell->GetPvs().AddSampleDirtyCheck(obj, ray.mPdf); 
    24402438                //hasAbsContribution = viewCell->GetPvs().AddSample(obj,ray.mPdf); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp

    r2659 r2660  
    457457void ViewCellsParseHandlers::startElement(const XMLCh* const name, 
    458458                                                                                  AttributeList& attributes) 
    459 {cout<<"here9978"<<endl; 
     459{ 
    460460        StrX lname(name); 
    461461        string element(lname.LocalForm()); 
     
    598598 
    599599void ViewCellsParseHandlers::StartViewSpaceHierarchy(AttributeList& attributes) 
    600 {cout<<"78"<<endl; 
     600{ 
    601601        int len = attributes.getLength(); 
    602602 
     
    643643 
    644644void ViewCellsParseHandlers::StartObjectSpaceHierarchy(AttributeList& attributes) 
    645 {cout<<"here45"<<endl; 
     645{ 
    646646        const int len = attributes.getLength(); 
    647647        Vector3 bmin, bmax; 
     
    14421442        parser->setDocumentHandler(&handler); 
    14431443        parser->setErrorHandler(&handler); 
    1444 cout<<"1178"<<endl; 
     1444 
    14451445        unsigned long duration; 
    14461446        int errorCount = 0; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp

    r2659 r2660  
    220220                exit(1); 
    221221        } 
    222  
     222         
    223223        // export objects as obj 
    224224        if (preprocessor->mExportObj) 
     
    244244                } 
    245245        } 
    246          
     246 
    247247        // parse view cells related options 
    248248        if (!preprocessor->PrepareViewCells()) 
     
    276276        } 
    277277 
     278 
    278279        bool useHwGlobalLines; 
    279280        Environment::GetSingleton()->GetBoolValue("Preprocessor.useHwGlobalLines", 
     
    298299        bool evalPixelError; 
    299300        Environment::GetSingleton()->GetBoolValue("Preprocessor.evaluatePixelError", evalPixelError); 
    300 return 0; 
     301 
     302 
    301303#ifdef USE_QT 
    302304 
     
    305307        pt = new QtPreprocessorThread(preprocessor);     
    306308         
    307         //      if (preprocessor->mUseGlRenderer && (importRandomViewCells || frames)) 
    308  
    309309        if (evalPixelError && (importRandomViewCells || frames)) 
    310310        { 
     
    384384                if (evaluatePixelError) 
    385385                { 
    386                 cout << "evaluating pixel error" << endl; 
    387                 preprocessor->ComputeRenderError(); 
     386                        cout << "evaluating pixel error" << endl; 
     387                        preprocessor->ComputeRenderError(); 
    388388                }*/ 
    389389 
Note: See TracChangeset for help on using the changeset viewer.