Ignore:
Timestamp:
04/29/08 11:19:06 (16 years ago)
Author:
mattausch
Message:

debugging vp evaluation

File:
1 edited

Legend:

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

    r2662 r2663  
    435435        glClearColor(0.0f, 0.0f, 0.0f, 1.0f); 
    436436 
    437         OcclusionQuery::GenQueries(mOcclusionQueries, 10); 
     437        // create some occlusion queries 
     438        OcclusionQuery::GenQueries(mOcclusionQueries, 100); 
    438439 
    439440        SceneGraphInterior *interior = mSceneGraph->GetRoot(); 
     
    17341735float GlRenderer::GetPixelError(int &pvsSize) 
    17351736{ 
    1736   return -1.0f; 
     1737        return -1.0f; 
    17371738} 
    17381739 
     
    19511952 
    19521953                delete [] mData; 
     1954                mData = NULL; 
    19531955        } 
    19541956 
     
    19601962{ 
    19611963        glDeleteBuffersARB(1, &mVboId); 
    1962  
    1963 /* 
    1964         KdLeafContainer leaves; 
    1965         mKdTree->CollectLeaves(leaves); 
    1966  
    1967         KdLeafContainer::const_iterator kit, kit_end = leaves.end(); 
    1968  
    1969         for (kit = leaves.begin(); kit != kit_end; ++ kit) 
    1970         { 
    1971                 KdLeaf *leaf = *kit; 
    1972  
    1973                 if (leaf->mVboId == -1) 
    1974                 { 
    1975                         // delete old vbo 
    1976                         glDeleteBuffersARB(1, &leaf->mVboId); 
    1977                         leaf->mVboId = -1; 
    1978                 } 
    1979         } 
    1980 */ 
    1981 } 
    1982  
    1983  
    1984  
    1985 } 
     1964} 
     1965 
     1966 
     1967 
     1968} 
Note: See TracChangeset for help on using the changeset viewer.