Thanks a lot for your reply I really appreciate it. Well the trick works, even if the bottom thin line sometimes appears again, very rare and barely visible for my purpose it's fine. Do you have an idea how to implement the other apparent solution adding a blank 1 pixel at the bottom? But don't want to bother you too much you've been already too kind to answer my initial question :)
On Thursday, July 9, 2015 at 11:00:49 PM UTC+2, [email protected] wrote: > > They seem to cover a number of approaches, the one suggested by SwiftCoder > for example I think would be like this: > > test_img = pyglet.resource.image('img.png').get_texture() > glTexParameteri(text_img.target, GL_TEXTURE_MAG_FILTER, GL_NEAREST) > glTexParameteri(text_img.target, GL_TEXTURE_MIN_FILTER, GL_NEAREST) > > self.test_sprite = pyglet.sprite.Sprite(img=test_img,x=300,y=400, > batch=self.main_batch) > > def update(self, dt): > self.test_sprite.rotation -= float(100 * dt) > > > > -- 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.
