Ignore:
Timestamp:
01/10/07 10:12:51 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

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

    r1961 r1962  
    2929GlobalLinesRenderer *globalLinesRenderer = NULL; 
    3030 
     31//static int texWidth = 32; 
     32//static int texHeight = 32; 
    3133static int texWidth = 256; 
    3234static int texHeight = 256; 
     
    304306                for (oit = mPreprocessor->mObjects.begin(); oit != oit_end; ++ oit) 
    305307                { 
    306                         cout << (*oit)->GetId() << " "; 
     308                        //cout << (*oit)->GetId() << " "; 
    307309                        RenderObject(*oit); 
    308310                } 
     
    679681        }        
    680682 
    681 //      exporter->ExportRays(vssRays); 
     683        exporter->ExportRays(vssRays); 
    682684 
    683685        delete exporter; 
     
    829831        { 
    830832                // Peel another layer 
    831                 SwitchRenderTextures(); // switch pointer between rendertextures 
     833                // switch pointer between rendertextures 
     834                SwitchRenderTextures(); 
    832835 
    833836                mNewTexture->BeginCapture(); 
     
    853856                mNewTexture->EndCapture(); 
    854857 
     858                CLEAR_CONTAINER(rays); 
    855859                // process the buffers for following layer 
    856860                ProcessDepthBuffer(rays, true); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/depth_peeling2d.cg

    r1950 r1962  
    66   float zold = tex2D(depthTex, pos.xy / 256.0); 
    77 
    8    if(pos.z < (zold + 0.1)) 
     8   if(pos.z < (zold + 0.00001)) 
    99      discard; 
    1010   else; 
Note: See TracChangeset for help on using the changeset viewer.