安卓 VR View : Converting mono 360 photo

标签 android google-cardboard virtual-reality

我有一张使用单个全景的单声道 360 照片,我需要一张使用两个堆叠全景的立体 360 照片。

我的问题:

有什么方法可以通过几行代码在我的应用程序中转换它吗?

这是一个描述问题的有用链接: https://developers.google.com/vr/concepts/vrview

例如:

这是我的: enter image description here

这就是我想要的: enter image description here

最佳答案

您只需在 ImageLoaderTask 类中执行此操作即可使用 2:1 图像:

 panoOptions = new Options();
 panoOptions.inputType = Options.TYPE_MONO;

代替:

panoOptions = new Options();
panoOptions.inputType = Options.TYPE_STEREO_OVER_UNDER;

关于安卓 VR View : Converting mono 360 photo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41283651/

相关文章:

android - 我需要得到我的 firebase 数据库的最后一个 child

android - Xamarin Android Player - 无法播放此视频

c# - 如何获得 google-cardboard 相机 FOV?

android - 如何使用 Processing for Android 在 Google Cardboard 设备中显示立体图像?

c# - 使用光线转换代替凝视指针

c# - Unity HTC VIVE 远距传送

java - 以 root 身份运行 native android 可执行文件?

android - [android 并排相机

c++ - Oculus Rift VR - 示例项目错​​误

android - 使用 AngularFire2 和 Firebase 3 时出现 Ionic 2 应用程序 CORS 错误