On Mon, Mar 10, 2008 at 11:51 AM, selsine <[EMAIL PROTECTED]> wrote:
>
>  On Mar 9, 5:35 pm, "Alex Holkner" <[EMAIL PROTECTED]> wrote:
>  >
>  > Sounds like the texture's missing, which suggests to me that it was
>  > loaded into the wrong context.  Make sure you only load images (and
>  > get .texture / call get_texture) after setting up the GTK context.
>
>  That was my problem, thanks a lot Alex. I was loading the images using
>  PyGlet before the GL Context was really setup. Once I moved it after
>  the context was ready I was able to display my image.
>
>  I did notice that I was unable to get sprites to draw using the
>  pyglet.sprite.Sprite.draw() method. I was also unable to get sprites
>  to draw using the batch method. In oder to get images to display I had
>  to use the image blit() function.
>
>  Thinking that this maybe be an issue with the PyGlet 1.1 code I tried
>  using sprites and the batch draw examples found here:
>  http://www.pyglet.org/doc/1.1/api/pyglet.sprite-module.html just to
>  test and I found that both examples currently do not work on my
>  computer with the latest version of PyGlet.
>
>  I'm not sure if this is a known issue with the current version or not,
>  so I thought I would mention it here. I did notice that if I tried to
>  use the sprite or batch draw, and then use the blit() method that the
>  image gets drawn by the blit but it appears to be washed out.

That's an unreported bug, and so unique (so far) to your setup.  I
would assume that none of the text or sprite examples in SVN head work
(i.e., most of them).  Please open an issue, including the output of
`python -m pyglet.info` (requires Python2.5 and SVN head).

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