[Mesa-dev] [Bug 44757] one wrong triangle on the balls in foobillard
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 16 16:16:27 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=44757
--- Comment #2 from almos <aaalmosss at gmail.com> 2012-01-16 16:16:27 PST ---
Created attachment 55654
--> https://bugs.freedesktop.org/attachment.cgi?id=55654
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?
--
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 mesa-dev
mailing list