Re outlining quads:

OpenGL supports wireframe mode for polygons:

glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)

I don't know whether this works with sprites. You can readily find examples
of how to use this with polygons; one of them is in my pyweek entry
"Outlawn" (http://www.pyweek.org/e/Outlawn/).

Re Stuttering during movement:

This sounds like pyglet issue 314,
http://code.google.com/p/pyglet/issues/detail?id=314 (though I have no
personal knowledge of it). The conclusion was to continue to use rabbyt.

- Bruce Smith

On Fri, Jun 19, 2009 at 12:15 AM, Crystal <[email protected]>wrote:

>
> Hi, I'm just starting out with pyglet so please bear with me. Can
> anyone help with some questions?
>
> Outlining quads?
> Is there a way to turn something like wireframe mode? (I have a
> partially transparent sprite moving on-screen and I would like to see
> (to aid in developing) a box outline (representing the quad which my
> texture is mapped to) in addition to the texture of my sprite.)
>
> Stuttering during movement..
> When moving a sprite across the screen I noticed that it's pretty
> smooth and occasionally stutters. Is this something specific to
> pyglet? The same code using rabbyt is smooth as the sprite travels the
> entire length of the screen.
> ....
>

--~--~---------~--~----~------------~-------~--~----~
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