ARCore 应用程序版本中的灰线而不是相机馈送 [英] Gray lines instead of camera feed in ARCore app builds

查看:22
本文介绍了ARCore 应用程序版本中的灰线而不是相机馈送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我按照 Android 快速入门指南构建并运行Hello Sceneform"和Solar System"项目时https://developers.google.com/ar/develop/java/quickstart,我在手机(Galaxy S9)上看到的只有 这些移动的灰/黑线,顶部是移动的 ARCore 手/手机.

When I build and run the "Hello Sceneform" and "Solar System" projects that I downloaded while following the Android Quickstart https://developers.google.com/ar/develop/java/quickstart, all I see on my phone (a Galaxy S9) are these shifting gray/black lines, with the moving ARCore hand/phone on top.

我可以毫不费力地从商店下载和运行 ARCore 应用程序.S9 是我唯一可以测试的兼容 ARCore 的手机.我使用的是 Android Studio 3.2 预览版、Windows 10、ARCore 1.2 和 Android 8.0.0.

I can download and run ARCore apps from the store without a hitch. The S9 is the only ARCore-compatible phone I can test with. I'm using Android Studio 3.2 preview, Windows 10, ARCore 1.2, and Android 8.0.0.

当我尝试在任何模拟器设备上运行时,它在显示任何内容之前立即崩溃,这可能是因为我认为我的桌面 GPU 不支持 OpenGL ES 3.1,根据我运行adb logcat"时的输出| grep eglMakeCurrent".不过,现在我的目标只是让它在我的手机上运行.

When I try running on any emulator device, it immediately crashes before displaying anything, which is likely due to the fact that I don't think my desktop GPU supports OpenGL ES 3.1, based on the output when I run "adb logcat | grep eglMakeCurrent". Right now my goal is just to get it working on my phone, though.

推荐答案

Galaxy S9 的灰色条是一个错误(请参阅:https://github.com/google-ar/sceneform-android-sdk/issues/28).

The grey bars for the Galaxy S9 is a bug (see: https://github.com/google-ar/sceneform-android-sdk/issues/28).

截至 7 月 18 日,它仍然开放.

As of July 18th it is still open.

这篇关于ARCore 应用程序版本中的灰线而不是相机馈送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆