On Fri, Nov 14, 2008 at 3:59 PM, Vaibhav. bhawsar
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> Since i cannot use GL_TRIANGLE_FAN or GL_POLYGON in
> pyglet.graphics.vertex_list, what would be a good mode to use to draw
> a circle? I am not sure what the winding might be to draw a circle if
> i used a GL_TRIANGLE_STRIP
>
> thanks!
>
>
>
> --
> Vaibhav Bhawsar
>


You can pass any openGL mode you want to vertex_list.draw (or
batch.add), so I don't understand why you can't use GL_POLYGON...

http://pyglet.org/doc/api/pyglet.graphics.vertexdomain.VertexList-class.html#draw

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to