Ignore:
Timestamp:
01/23/07 04:39:45 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2020 r2023  
    175175 
    176176        InitTiming(); 
     177        Debug.open("debug.log"); 
     178 
    177179#if 0 
    178         Debug.open("debug.log"); 
    179  
    180180        cout<<"Allocating 1.5GB..."<<endl; 
    181181 
     
    192192        } 
    193193#endif 
     194         
    194195        Environment::GetSingleton()->Parse(argc, argv, USE_EXE_PATH); 
    195196        MeshKdTree::ParseEnvironment(); 
     
    205206                exit(1); 
    206207        } 
     208 
    207209 
    208210        Environment::GetSingleton()->GetStringValue("Scene.filename", buff); 
     
    283285        } 
    284286 
    285         const string viewCellsFile = ReplaceSuffix(filename, ".obj", ".vc"); 
    286         const int numViewCells = 2; 
    287         const int numViewPoints = 2; 
     287        string viewCellsFile = ReplaceSuffix(filename, ".obj", ".vc"); 
     288        viewCellsFile = ReplaceSuffix(filename, ".dat", ".vc"); 
     289 
     290        const int numViewCells = 5; 
     291        const int numViewPoints = 20; 
    288292 
    289293        bool useHwGlobalLines; 
     
    361365                Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", frames); 
    362366                 
    363                 if (frames)  
     367                if (1)//frames)  
    364368                { 
    365369                        // NOTE: render texture should be power of 2 and square 
     
    373377                } 
    374378 
    375         /*      vector<ViewCellPoints *> myViewCells; 
     379                vector<ViewCellPoints *> myViewCells; 
    376380 
    377381                preprocessor->mViewCellsManager->GenerateRandomViewCells(myViewCells, numViewCells, numViewPoints); 
     
    381385                //preprocessor->mViewCellsManager->ImportRandomViewCells(viewCellsFile, myViewCells); 
    382386                CLEAR_CONTAINER(myViewCells); 
    383 */ 
     387 
     388                //preprocessor->renderer->EvalPvsStat(); 
     389 
    384390                qApp->exec(); 
    385391#endif 
Note: See TracChangeset for help on using the changeset viewer.