Ignore:
Timestamp:
07/13/08 23:51:02 (16 years ago)
Author:
mattausch
Message:

research version: implemented temporal smoothing and color bleeding

File:
1 edited

Legend:

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

    r2809 r2834  
    149149        { 
    150150                glViewport(0, 0, texWidth, texHeight); 
     151                glPushAttrib(GL_VIEWPORT_BIT); 
    151152 
    152153                glClearColor(1, 1, 1, 1); 
     
    162163 
    163164                glMatrixMode(GL_PROJECTION); 
    164                 glLoadIdentity(); 
     165                glPushMatrix(); 
    165166 
    166167                glOrtho(-xlen, xlen, -ylen, ylen, 0.0f, mSceneBox.Size().z);  
    167168 
    168169                glMatrixMode(GL_MODELVIEW); 
     170                glPushMatrix(); 
    169171 
    170172                orthoCam->SetupCameraView(); 
     
    174176                //renderer->SetCamera(orthoCam); 
    175177                renderer->RenderScene(); 
     178 
     179                glPopMatrix(); 
     180                glPopMatrix(); 
     181 
     182                glPopAttrib(); 
    176183        } 
    177184        depthTexture->EndCapture(); 
Note: See TracChangeset for help on using the changeset viewer.