On 13/06/14 14:56, Linux4Bene wrote:
> [...]
> 
> Or is there a pyglet example that shows how to do this?
> I'm only interested in doing this in a 2D setting.
> 

ah, and also take into account that pyglet.resource.image will try to
put your textures in an atlas to be more memory efficient. IIRC the
threshold is images smaller than 128x128. In your example looks like
you're getting your image into an atlas.

That's great and I love it, but I personally tend to forget that ;) and
sometimes it changes things when managing textures directly with opengl.
You can try adding atlas=False parameter to pyglet.resource.image and
see if it makes any difference.

But I still think that going with Sprites/Batches is one of the strong
points of Pyglet ;)

Regards,

Juan

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to