Android problem
Posted: Wed Sep 12, 2012 2:57 pm
hi,everyone~
i run examples on Android with Opengl es 1.0,it looks very well~
but when i change it to Opengl es 2.0,it render no model at all.
here is the log:
09-12 17:09:32.257: I/log(16698): Irrlicht Engine version 1.7.0-beta
09-12 17:09:32.257: I/Irrlicht(16698): CIrrDeviceAndroid::CIrrDeviceAndroid
09-12 17:09:32.257: I/Irrlicht(16698): CIrrDeviceAndroid::createDriver
09-12 17:09:32.257: I/log(16698): OpenGL-ES2 initialized
09-12 17:09:32.257: I/Irrlicht(16698): OGLES2 initialized
09-12 17:09:32.257: I/log(16698): Using renderer: OpenGL ES 2.0
09-12 17:09:32.257: I/log(16698): Imagination Technologies
09-12 17:09:32.257: I/log(16698): GL_OES_rgb8_rgba8....
09-12 17:09:32.257: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2FixedPipeline.vsh
09-12 17:09:32.264: I/log(16698): Loading shader
09-12 17:09:33.202: I/log(16698): Loading shader
09-12 17:09:33.405: D/dalvikvm(2195): GC_EXPLICIT freed 184K, 46% free 3758K/6919K, external 0K/0K, paused 1150ms
09-12 17:09:33.452: I/log(16698): Shader loaded
09-12 17:09:33.452: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2Renderer2D.vsh
09-12 17:09:33.452: I/log(16698): Loading shader
09-12 17:09:33.460: I/log(16698): Loading shader
09-12 17:09:33.475: I/log(16698): Shader loaded
09-12 17:09:33.475: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2NormalMap.vsh
09-12 17:09:33.475: I/log(16698): Loading shader
09-12 17:09:33.522: I/log(16698): Loading shader
09-12 17:09:33.561: I/log(16698): p8** @X * @ @T 0□(@+ ( (T80 0
09-12 17:09:33.561: I/log(16698): Shader loaded
09-12 17:09:33.561: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2ParallaxMap.vsh
09-12 17:09:33.561: I/log(16698): Loading shader
09-12 17:09:33.639: I/log(16698): Loading shader
09-12 17:09:33.702: I/log(16698): Shader loaded
09-12 17:09:33.710: I/Irrlicht(16698): createDevice r=1717472 w=320 h=480
09-12 17:09:33.710: I/Irrlicht(16698): getVideoDriver r=1718008
09-12 17:09:33.710: I/Irrlicht(16698): resize w=480 h=756
09-12 17:09:33.710: I/Irrlicht(16698): getSceneManager r=1731728
09-12 17:09:33.710: I/Irrlicht(16698): getGUIEnvironment r=3642768
09-12 17:09:33.710: I/log(16698): GLSL shader program failed to link
09-12 17:09:33.710: I/log(16698): Link Error: Vertex shader is missing.
09-12 17:09:33.710: I/log(16698): Link Error: Fragment shader is missing.
09-12 17:09:33.710: I/log(16698): GLSL shader program failed to link
09-12 17:09:33.710: I/log(16698): Link Error: Vertex shader is missing.
09-12 17:09:33.710: I/log(16698): Link Error: Fragment shader is missing.
09-12 17:09:33.717: I/log(16698): Loaded texture
09-12 17:09:33.749: I/log(16698): Loaded texture
09-12 17:09:33.796: I/log(16698): Loaded texture
09-12 17:09:33.827: I/log(16698): Loaded texture
09-12 17:09:33.874: I/log(16698): Loaded texture
09-12 17:09:33.913: I/log(16698): Loaded texture
09-12 17:09:33.944: I/log(16698): Loaded texture
09-12 17:09:33.944: I/Irrlicht(16698): begin Scene
09-12 17:09:34.030: I/Irrlicht(16698): fps=1
i have no idea,why is it~can anybody help me?thanks~~
i run examples on Android with Opengl es 1.0,it looks very well~
but when i change it to Opengl es 2.0,it render no model at all.
here is the log:
09-12 17:09:32.257: I/log(16698): Irrlicht Engine version 1.7.0-beta
09-12 17:09:32.257: I/Irrlicht(16698): CIrrDeviceAndroid::CIrrDeviceAndroid
09-12 17:09:32.257: I/Irrlicht(16698): CIrrDeviceAndroid::createDriver
09-12 17:09:32.257: I/log(16698): OpenGL-ES2 initialized
09-12 17:09:32.257: I/Irrlicht(16698): OGLES2 initialized
09-12 17:09:32.257: I/log(16698): Using renderer: OpenGL ES 2.0
09-12 17:09:32.257: I/log(16698): Imagination Technologies
09-12 17:09:32.257: I/log(16698): GL_OES_rgb8_rgba8....
09-12 17:09:32.257: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2FixedPipeline.vsh
09-12 17:09:32.264: I/log(16698): Loading shader
09-12 17:09:33.202: I/log(16698): Loading shader
09-12 17:09:33.405: D/dalvikvm(2195): GC_EXPLICIT freed 184K, 46% free 3758K/6919K, external 0K/0K, paused 1150ms
09-12 17:09:33.452: I/log(16698): Shader loaded
09-12 17:09:33.452: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2Renderer2D.vsh
09-12 17:09:33.452: I/log(16698): Loading shader
09-12 17:09:33.460: I/log(16698): Loading shader
09-12 17:09:33.475: I/log(16698): Shader loaded
09-12 17:09:33.475: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2NormalMap.vsh
09-12 17:09:33.475: I/log(16698): Loading shader
09-12 17:09:33.522: I/log(16698): Loading shader
09-12 17:09:33.561: I/log(16698): p8** @X * @ @T 0□(@+ ( (T80 0
09-12 17:09:33.561: I/log(16698): Shader loaded
09-12 17:09:33.561: I/log(16698): load shader: /mnt/sdcard/Irrlicht/COGLES2ParallaxMap.vsh
09-12 17:09:33.561: I/log(16698): Loading shader
09-12 17:09:33.639: I/log(16698): Loading shader
09-12 17:09:33.702: I/log(16698): Shader loaded
09-12 17:09:33.710: I/Irrlicht(16698): createDevice r=1717472 w=320 h=480
09-12 17:09:33.710: I/Irrlicht(16698): getVideoDriver r=1718008
09-12 17:09:33.710: I/Irrlicht(16698): resize w=480 h=756
09-12 17:09:33.710: I/Irrlicht(16698): getSceneManager r=1731728
09-12 17:09:33.710: I/Irrlicht(16698): getGUIEnvironment r=3642768
09-12 17:09:33.710: I/log(16698): GLSL shader program failed to link
09-12 17:09:33.710: I/log(16698): Link Error: Vertex shader is missing.
09-12 17:09:33.710: I/log(16698): Link Error: Fragment shader is missing.
09-12 17:09:33.710: I/log(16698): GLSL shader program failed to link
09-12 17:09:33.710: I/log(16698): Link Error: Vertex shader is missing.
09-12 17:09:33.710: I/log(16698): Link Error: Fragment shader is missing.
09-12 17:09:33.717: I/log(16698): Loaded texture
09-12 17:09:33.749: I/log(16698): Loaded texture
09-12 17:09:33.796: I/log(16698): Loaded texture
09-12 17:09:33.827: I/log(16698): Loaded texture
09-12 17:09:33.874: I/log(16698): Loaded texture
09-12 17:09:33.913: I/log(16698): Loaded texture
09-12 17:09:33.944: I/log(16698): Loaded texture
09-12 17:09:33.944: I/Irrlicht(16698): begin Scene
09-12 17:09:34.030: I/Irrlicht(16698): fps=1
i have no idea,why is it~can anybody help me?thanks~~