Oops, uh, I meant to use GL_POLYGON in the code. It's really late at night!
On Wednesday, 5 November 2014 03:25:24 UTC-5, Zim the Fox wrote: > > > On Friday, 31 October 2014 04:09:17 UTC-5, Adam wrote: > >> <Snip> >> > "However, because of the way the graphics API renders multiple primitives >> with shared state, GL_POLYGON, GL_LINE_LOOP and GL_TRIANGLE_FAN cannot >> be used — the results are undefined." >> >> There is a work around and an alternative on that page. >> > > I have been having a similiar problem but with GL_POLYGON. Perhaps you > could help? > > Things draw just fine with GL_LINES, but not with GL_POLYGON, as you can > see: http://i.imgur.com/HqpEa8G.png > > The relevant code seems very innocuous to me: > pyglet.graphics.draw(length, > GL_LINES, > ('v2f', frame_points), > ('c3B', (245, 132, 188)*length)) > > > Thank you for your help in advance! > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
