Ignore:
Timestamp:
05/28/08 04:02:18 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2721 r2723  
    5858static int sNextSamplesThreshold[] = {10000000, 50000000, 100000000, 250000000}; 
    5959//static int sNextSamplesThreshold[] = {100000000, 200000000}; 
    60 static int sNumReplays = 4; 
     60static int sNumReplays = 0;//4; 
    6161static int sCurrentSamplesThreshold = 0; 
    6262 
     
    353353                        //glReadBuffer(GL_FRONT); 
    354354 
    355                         cout << "here34" << endl; 
    356355                        ////////////// 
    357356                        //-- output error visualization 
     
    387386 
    388387                                // render pvs once 
    389                                 //RenderPvs(pvs); 
    390                                 RenderTrianglePvs(); 
     388                                RenderPvs(pvs); 
     389                                // hack for gvs vis 
     390                                //RenderTrianglePvs(); 
    391391 
    392392                                glFlush(); 
     
    13481348        AxisAlignedBox3 sceneBox = mViewCellsManager->GetViewSpaceBox(); 
    13491349         
    1350         float x = 1.0f; 
     1350        //float x = 1.0f; 
     1351        //float y = 20.0f; 
     1352        //float z = 80.0f; 
     1353 
     1354        float x = 20.0f; 
    13511355        float y = 20.0f; 
    1352         float z = 80.0f; 
     1356        float z = 20.0f; 
    13531357 
    13541358        AxisAlignedBox3 box(Vector3(0.5f * x, 0, -0.5f * z), Vector3(-0.5f * x, y, 0.5f * z)); 
     
    17411745 
    17421746        ComputeMaxValues(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxRcCost); 
    1743          
    1744         // matt: temp hack 
    1745         //maxRcCost = 5000.0f; 
    17461747        //cout << "maxRcCost: " << maxRcCost << endl; 
    17471748 
    1748         int i; 
     1749        // set the max render cost to fixed value 
     1750        //maxRcCost = 1000.0f; 
    17491751 
    17501752        // transparency  
     
    17621764                //glBlendFunc(GL_SRC_ALPHA, GL_ONE); 
    17631765 
    1764                 for (i = 0; i < viewcells.size(); ++ i)  
     1766                for (int i = 0; i < viewcells.size(); ++ i)  
    17651767                { 
    17661768                        ViewCell *vc = viewcells[i]; 
     
    17791781        if (mUseStandardColors) 
    17801782        { 
    1781                 for (i = 0; i < viewcells.size(); ++ i)  
     1783                for (int i = 0; i < viewcells.size(); ++ i)  
    17821784                { 
    17831785                        ViewCell *vc = viewcells[i]; 
Note: See TracChangeset for help on using the changeset viewer.