By yakobom
on Mon, 09/09/2013 - 07:58
Hi,
I have an application based on ImageTargets, where I also add my textures to be drawn next to the target. This works perfectly on Samsung Galaxy S3 (Android 4.1.2). Now I have tested it on Galaxy 4 (adnroid 4.2.2), and it is not working well - all the textures, including the 3D pot are cut. It seems like they do not drawn in all of the area they should be drawn to - when I move the phone, the cut parts change. This is very weird, and I do not know what's the cause - do you have any idea? Have anyone encountered such a behavior?
Thanks,
yakobom
Textures cut on Samsung Galaxy S4
Hi, could you share a screenshot ? That would help understanding the issue a bit better.
Textures cut on Samsung Galaxy S4
Hi,
Textures cut on Samsung Galaxy S4
Thanks for the screenshots... indeed the visual effect is wierd;
this definitely looks like some OpenGL misbehaviour, perhaps due to some OpenGL settings being altered and not correctly restored at the end of your rendering batch, or maybe are you using some custom shaders ?
Textures cut on Samsung Galaxy S4
Yes, I also had a strong feeling it's something like that, but after several hours of searching, I asked for your help...
Textures cut on Samsung Galaxy S4
Since debugging OpenGL issues can be hard, my suggestion is to try starting from the samples (without any change) and gradually/ incrementally add/modify OpenGL code until you reach a point where you can identify the exact code that is triggering the issue on the S4.
Textures cut on Samsung Galaxy S4
Hi,
Textures cut on Samsung Galaxy S4
Thanks for sharing this.