Imagination PowerVR SDK Blog

bug in OpenGL ES emulator


#1

I am using the OpenGL ES 1.1 emulator to test a game I’m developing.
I have a texture atlas with several images packed together in the same texture. Each image is drawn as a quad. When I draw the quads without any rotation everythings fine, however if I rotate any quad it will render an extra pixel from the image below it. This looks like a bug in the emulator. I haven’t tested yet on a real device.


#2

This sounds like a common problem with texture sampling and texture atlases:





http://www.gamedev.net/community/forums/topic.asp?topic_id=432615





Obviously the suggestion to clamp is wrong in that thread, but further down there is a solution. If you still have problems then we can try and help you further.


#3

Oh, that works!
Thanks for your help Gordon Smile