[Bug 44757] New: one wrong triangle on the balls in foobillard

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 13 08:42:10 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44757

             Bug #: 44757
           Summary: one wrong triangle on the balls in foobillard
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: aaalmosss at gmail.com


The balls are rendered in two passes: the first one with the base image, and
the second one with a spheremap (the "shininess"). The second pass is wrong for
one triangle, it is too bright. It's always the same one, but the balls have
random rotation initially. I checked it with apitrace, and after the first pass
the framebuffer looks good, but not after the second pass (glCallList(21) draws
the ball).

It is not the same as bug 3267, because the spheremap is applied, but
incorrectly. There is a distance-based LOD of the balls, and not all detail
levels have this problem, just detail=4 and detail=7. You can set this
somewhere around the line "if( detail<0 ) detail=0;" ball.c.

The problem is reproducible on r300g, r600g, llvmpipe, but not on nvidia blob.
I couldn't find any obvious error in the application's code, but I'm not very
experienced in OpenGL.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list