Page 1 of 1

[SOLVED]Weird rending in Android 4.0.3

Posted: Thu Oct 10, 2013 9:34 am
by piperoman
I have created a Java project that create a ogre scene using JNI providing a SurfaceView in Java. I'm using ogre 1.9.0 version and OpenGL 2.0 ES RenderSystem in ARMv7.

My project is very simple, set background color red, and render an sphere. If I run the project in an Asus transformer 101 with Android version 3.4.1 Its working fine, check AsusScreenshot.png

But if I run the same project in an Samsung Galaxy Tab 2 10.1 WiFi P5110 with Android 4.2.2 CyanogenModm the render is weird, check SamsungScreenshoot.png

I have the same problem in a Nexus 4 with Android 4.1

Someone know what is going on?

Thank you for your time.

Re: Weird rending in Android 4.0.3

Posted: Thu Oct 10, 2013 10:56 am
by Wolfmanfx
Either you write the sphere shader by your own or you enable the glsl optimizer - i guess you are using RTSS and on samsung it do not work correctly without the optimizer. But i would write the shader by your own.

Re: [SOLVED]Weird rending in Android 4.0.3

Posted: Thu Oct 10, 2013 3:28 pm
by piperoman
In fact, the problem was that. Using my own simple shader solve the problem and show the texture correctly. Thanks!