We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
When trying to run samples 2 and 3, I get the following error:
2021-05-27 16:38:48.698 17037-18105/com.google.ar.core.codelab.rawdepth E/AndroidRuntime: FATAL EXCEPTION: GLThread 12755 Process: com.google.ar.core.codelab.rawdepth, PID: 17037 java.lang.RuntimeException: Error creating shader. at com.google.ar.core.codelab.common.rendering.ShaderUtil.loadGLShader(ShaderUtil.java:53) at com.google.ar.core.codelab.common.rendering.DepthRenderer.createOnGlThread(DepthRenderer.java:67) at com.google.ar.core.codelab.rawdepth.RawDepthCodelabActivity.onSurfaceCreated(RawDepthCodelabActivity.java:208) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1559) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
Any idea how to solve it ?
Thanks.
The text was updated successfully, but these errors were encountered:
Did you manage to solve this?
Sorry, something went wrong.
I was able to solve this by changing the following lines in depth_point_cloud.vert from:
float kMinHeightMeters = -2.0f; float kMaxHeightMeters = 2.0f;
to:
float kMinHeightMeters = -2.0; float kMaxHeightMeters = 2.0;
Part google-ar#1
d85c16c
- set up the raw depth API
No branches or pull requests
Hi,
When trying to run samples 2 and 3, I get the following error:
Any idea how to solve it ?
Thanks.
The text was updated successfully, but these errors were encountered: