#254 UT gl_ztrick bug

Rendering Error
closed
Ian Romanick
ATI OpenGL (71)
5
2003-07-01
2000-12-02
Brian Paul
No

UT avoids Z buffer clears with the following:

> if( ZTrickToggle )
> {
> ZTrickToggle = 0;
> glDepthRange( 0.0, 0.5 );
> ZTrickFunc = GL_LEQUAL;
> }
> else
> {
> ZTrickToggle = 1;
> glDepthRange( 1.0, 0.5 );
> ZTrickFunc = GL_GEQUAL;
> }
> glDepthFunc( (GLenum) ZTrickFunc );

It's reported that you need to set gl_ztrick = 0 to
get correct rendering. We should check that glDepthFunc
GL_GEQUAL and glDepthRange work correctly.

Discussion

  • Ian Romanick
    Ian Romanick
    2003-05-12

    • assigned_to: nobody --> idr
     
  • Ian Romanick
    Ian Romanick
    2003-07-01

    Logged In: YES
    user_id=423974

    I have tried to reproduce this with a patched version of
    glxgears. I seem to remember that this was tracked down to
    a problem in Mesa code a loooooong time ago. I'm going to
    close the bug.

     
  • Ian Romanick
    Ian Romanick
    2003-07-01

    • status: open --> closed