On Tue, Dec 23, 2008 at 10:53 PM, Tristam MacDonald
<[email protected]> wrote:
> I am seeing a lot of filtering artefacts on animation frames, possibly from
> the edges of neighbouring frames. The weird thing is that the artefacts
> appear as black lines at the edges, but all frames of the animation use a
> white background.

The black background is a result of the initial texture atlas contents
being (0,0,0,0).

pyglet doesn't have a way to pad the images in an atlas with any
particular color, so you'll have to either use PIL for that, or
pre-bake your sprite sheets in an image editor instead of letting
pyglet place the sub-images.

Alex.

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