如何在Android的VR全景图像视图中添加一些可点击的点? [英] How can I add some clickable points in VR panorama image view in Android?
问题描述
如果我在 VrPanoramaView
中插入360度图像,则该图像可以成功显示并旋转,但是在此库中只有一个单击事件,即 panoramaView.setEventListener(new VrPanoramaEventListener())
.我想在该图像中添加一些点.
If I insert a 360 degree image in VrPanoramaView
then the image is showing and rotating successfully but and in this library only one click event which is panoramaView.setEventListener(new VrPanoramaEventListener())
.
I want to add some points in that image.
所以我想知道如何在android的Google VR View中给出一些选定的点?
So I want to know how I can give some selected points in Google VR View in android?
推荐答案
不要使用panoview-只需使用gvrview并添加一个renderbox模块即可.使用transform类制作全景视图,然后只需添加所需的任何内容即可.我个人在图片上添加了图标.在safaribooksonline.com上查看一些虚拟现实书籍,对您有帮助.
Don't use panoview - just use gvrview and add a renderbox module. Use the transform class to make panoview, and then simply add anything you want. I personally add icons on the picture. Look at some of the virtual reality books at safaribooksonline.com and that will help you.
这篇关于如何在Android的VR全景图像视图中添加一些可点击的点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!