Changeset 2717 for GTP


Ignore:
Timestamp:
05/27/08 16:38:18 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/run_demo_vienna

    r2715 r2717  
    88 
    99 
    10 #SCENE=../data/vienna/vienna_cropped.obj 
     10SCENE=../data/vienna/vienna_cropped.obj 
    1111#SCENE=../data/vienna/city_full.obj 
    1212#SCENE=../data/vienna/city_full_hp.obj 
    13 SCENE=../data/vienna/vienna_rep.obj 
     13#SCENE=../data/vienna/vienna_rep.obj 
    1414 
    1515VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 
  • GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.cpp

    r2705 r2717  
    484484        mGvsStats.mBorderSamples += castRays; 
    485485 
    486         //CLEAR_CONTAINER(invalidSamples); 
    487          
    488         //cout << "here3 cast rays: " << castRays << endl; 
     486         
    489487        return castRays; 
    490488} 
     
    12011199        app << "#TotalSamples\n" << mTotalSamples << endl; 
    12021200 
     1201        app << "#AvgPvs: " << mPvsCost / mViewCells << endl; 
    12031202        app << "#TotalTrianglePvs\n" << mTotalTrianglePvs << endl; 
    12041203         
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp

    r2716 r2717  
    241241 
    242242        // use shading 
    243         if (1)//mSnapErrorFrames) 
     243        if (mSnapErrorFrames) 
    244244        { 
    245245                glEnable(GL_NORMALIZE); 
     
    275275 
    276276                glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE); 
    277                 //glEnable(GL_COLOR_MATERIAL); 
     277                glEnable(GL_COLOR_MATERIAL); 
    278278 
    279279                GLfloat lmodel_ambient[] = {0.3f, 0.3f, 0.3f, 1.0f}; 
Note: See TracChangeset for help on using the changeset viewer.