On 9/29/08, josch <[EMAIL PROTECTED]> wrote: > > somehow i was unable to post my message as long as the links were in > it - is this normal?? > i tried a lot of modifications - this one works > > here are the three example pictures in correct order: > just replace IMG by imageshack > > 32x32 image in a 32x32 TextureAtlas: > http://img60.IMG.us/img60/3980/screenshottestpyat4.png > > 32x32 texture in a 34x34 Texture atlas with your code snippet: > http://img155.IMG.us/img155/3340/screenshottestpy1ke4.png > > > 32x32 texture in a 33x33 Texture atlas with modified > > textureatlas.add(): > http://img508.IMG.us/img508/5309/screenshottestpy2cc6.png >
I can't see those images (domain doesn't seem to be hosted); but I'll believe what you say. Be aware that with a TextureAtlas of non-power-of-2 dimensions, you may have inadvertantly created a rectangular texture -- these do not support texture coordinate wrapping, so you would never see artifacts on the images so long as you only had one image in the atlas. If you've ruled out that possibility; then great! Using 1-pixel borders should work -- I believe I've tried this before and still had artefacts, but must have had some other problem. Not sure why you're getting black borders in my code but not yours; perhaps you could post a complete example I can reproduce. 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 -~----------~----~----~----~------~----~------~--~---
