Ignore:
Timestamp:
12/02/08 17:06:08 (16 years ago)
Author:
mattausch
Message:

debug version showing a visualization of the confidence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp

    r3199 r3204  
    292292 
    293293 
    294  
    295294DeferredRenderer::DeferredRenderer(int w, int h, PerspectiveCamera *cam): 
    296295mWidth(w), mHeight(h),  
     
    306305        //-- the flip-flop fbos 
    307306 
    308         const int dsw = w / 2; const int dsh = h / 2; 
     307        //const int dsw = w / 2; const int dsh = h / 2; 
     308        //const int dsw = 128; const int dsh = 96; 
     309        const int dsw = 16; const int dsh = 12; 
    309310        //const int dsw = w; const int dsh = h; 
    310311 
     
    325326 
    326327        mDownSampleFbo = new FrameBufferObject(dsw, dsh, FrameBufferObject::DEPTH_NONE); 
     328        // the downsampled color + depth buffer 
    327329        mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGBA_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 
    328 // downsample buffer for the normal texture 
    329 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST); 
     330        // downsample buffer for the normal texture 
     331        mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST); 
    330332 
    331333        for (int i = 0; i < 2; ++ i) 
Note: See TracChangeset for help on using the changeset viewer.