Closed deshan closed 7 years ago
Hi deshan, can you upload the logcat? It is probably failing to create a GL window but I need to check the logs to confirm.
Thanks for the reply.
This is the log
12-19 08:25:33.524: E/SimpleARAndroid(3494): Error in compiling fragment shader 12-19 08:25:33.524: A/SimpleARAndroid(3494): error in uniform: textureSampler 12-19 08:25:33.524: A/SimpleARAndroid(3494): Error in getting attribute: vertexPosition 12-19 08:25:33.534: A/SimpleARAndroid(3494): [FAIL GL] BackTexture::BackTexture 12-19 08:25:33.534: E/SimpleARAndroid(3494): GL_INVALID_VALUE: numeric argument out of range 12-19 08:25:33.544: E/SimpleARAndroid(3494): Error in compiling fragment shader 12-19 08:25:33.544: A/SimpleARAndroid(3494): Error in getting attribute: vertexPosition 12-19 08:25:33.544: A/SimpleARAndroid(3494): Error in getting attribute: vertexUV 12-19 08:25:33.544: A/SimpleARAndroid(3494): error in uniform: mvpMat 12-19 08:25:33.544: A/SimpleARAndroid(3494): error in uniform: textureSampler 12-19 08:25:33.544: A/SimpleARAndroid(3494): [FAIL GL] AssimpLoader::AssimpLoader 12-19 08:25:33.544: E/SimpleARAndroid(3494): GL_INVALID_VALUE: numeric argument out of range 12-19 08:25:34.184: A/SimpleARAndroid(3494): [FAIL GL] BackTexture::Render 12-19 08:25:34.184: E/SimpleARAndroid(3494): GL_INVALID_OPERATION: operation illegal in current state 12-19 08:25:34.194: A/SimpleARAndroid(3494): [FAIL GL] BackTexture::Render 12-19 08:25:34.194: E/SimpleARAndroid(3494): GL_INVALID_OPERATION: operation illegal in current state 12-19 08:25:34.204: A/SimpleARAndroid(3494): [FAIL GL] BackTexture::Render 12-19 08:25:34.204: E/SimpleARAndroid(3494): GL_INVALID_OPERATION: operation illegal in current state 12-19 08:25:34.214: A/SimpleARAndroid(3494): [FAIL GL] BackTexture::Render
Thanks for sending the log. This is only a portion of it and indicates that none of GLES operations are working correctly. Please upload the logs from the beginning so that we can check if a GLES instance was created correctly. Also let me know your device model.
Thanks below is the completely log on Samsung galaxy s6
12-21 08:34:02.269: W/ResourcesManager(16987): getTopLevelResources: /data/app/com.anandmuralidhar.simplearandroid-2/base.apk / 1.0 running in com.anandmuralidhar.simplearandroid rsrc of package com.anandmuralidhar.simplearandroid 12-21 08:34:02.269: I/InjectionManager(16987): Inside getClassLibPath
On Tue, Dec 20, 2016 at 9:22 AM Anand Muralidhar notifications@github.com wrote:
Thanks for sending the log. This is only a portion of it and indicates that none of GLES operations are working correctly. Please upload the logs from the beginning so that we can check if a GLES instance was created correctly. Also let me know your device model.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/anandmuralidhar24/SimpleARAndroid/issues/1#issuecomment-268147884, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVAi8m80H2UCMOugfjxELry8Me9sBoks5rJ1DvgaJpZM4LNuPM .
Thanks for sending the log. This issue was because the fragment shader was missing the precision
qualifier for float
. I've added it and it should work now. Please let me know if you see other issues.
Great Application works fine
Thanks for the project and nice tutorial!
When I run the project I see only a white screen. Any ideas?
Thanks