Sorry there should be 4 of those vertices..
On Oct 29, 10:02 pm, Drozzy <[EMAIL PROTECTED]> wrote:
> How would you use pyglets pyglet.graphics.draw to draw the following
> for example? (I include the whole on draw for completeness, but i am
> interested in glVertex3f() )
>
> @window.event
> def on_draw():
> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
> glLoadIdentity()
> glTranslatef(0.0, 0.0, 10.0)
>
> glBegin(GL_QUADS)
> glTexCoord2f(x,y);
> glVertex3f( p1, p2, p3);
> glEnd()
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---