Summary: | one wrong triangle on the balls in foobillard | ||
---|---|---|---|
Product: | Mesa | Reporter: | almos <aaalmosss> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | trianglestrip.txt |
Description
almos
2012-01-13 08:42:10 UTC
If it happens with 3 different drivers, it's likely a core mesa issue. Created attachment 55654 [details]
trianglestrip.txt
I found the problematic triangle for detail=7. The ball geometry is created by building an icosahedron (same algorithm as in the red book), and subdividing its faces. detail=7 subdivides to 12 pieces along the edges. The resulting triangles are put into vertex arrays as triangle strips, and the whole thing is rendered into a display list (detail=7 is list 21 according to apitrace). The problematic triangle is the very first one on the 10th face. A dump of that face is attached (vertex coords, normal coords, texture coords). I applied some deformations to the faces one-by-one to find the bad one, and the wrong triangle was also wrong when the face was deformed.
Note that by default the highest detail allowed is 5 ('High' in the menu). 'Very High' (detail=7) cannot be enabled from the menu, unless 'balldetail=v' is given in ~/.foobillardrc, in which case detail=7 is set initially.
The wrong triangle in detail=4 is on a different face. Should I look it up?
I tried this with fglrx on my barts pro, and the balls are rendered correctly. On a geforce 8600m gs (nv86) with mesa 7.11 there is the one bright triangle. I can't reproduce this with current Mesa. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.