google-vr

Is it possible to render an object on one screen only with google-vr?

梦想的初衷 提交于 2019-12-12 05:40:10
问题 Using google-vr and unity, I would like to display certain objects on one view/screen/eye only. So that object would be visible on one eye and not on the other. Is that possible, and if so, how? 回答1: Using Layers For your object, set its Layer to "Water" (as an example) Select "Main Camera Right" From Culling Mask drop-down, disable "Water" layer (now this camera won't see any objects on that layer) More info: https://docs.unity3d.com/Manual/Layers.html 来源: https://stackoverflow.com/questions

Disable back button in VrVideoView Cardboard-Mode in Android SDK

青春壹個敷衍的年華 提交于 2019-12-12 05:37:04
问题 I'm developing an Android app for a controlled environment in which the user should not be allowed to exit the VrVideoView's full screen cardboard mode. By entering the cardboard mode the SDK seems to present its own activity so I cannot simply override on onBackPressed. Is there a way to prevent this? 回答1: By poking around in the innards you can get your hands on the dialog (yes, it's a dialog) and disable the back button: vrView = (VrVideoView) findViewById(R.id.videoView); vrView

Running google-vr unity daydream app on google pixel

本小妞迷上赌 提交于 2019-12-12 04:45:41
问题 Im trying to run the sample app provided in the daydream page on the google pixel phone. 1) I chnaged the build settings to android. 2) Went to player settings enabled Virtual reality support and selected google daydream as the platform. 3) I changed the Minumum API to API level 24. 4) I added the folder containing my adb to the path variable in windows. 5) I also set the path of the android SDk. 6) I enabled USB debuggin on Pixel However when I run my app , I get the following errors: Device

GoogleVR library not supporting 64-bit requirement from playstore

雨燕双飞 提交于 2019-12-11 15:27:12
问题 I am using GoogleVR library to load panos in my app. Google VR Depencencies implementation 'com.google.vr:sdk-base:1.160.0' implementation 'com.google.vr:sdk-panowidget:1.170.0' and getting following .so files in my apk Now i am unable to upload a new apk on playstore, and getting following error message. This release is not compliant with the Google Play 64-bit requirement. The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 30. I also

Does GCSVideoView work with YouTube 360-degree live streaming?

落花浮王杯 提交于 2019-12-11 12:45:32
问题 I saw this announcement today about YouTube streaming 360 video, https://youtube.googleblog.com/2016/04/one-step-closer-to-reality-introducing.html Does GCSVideoView loadFromUrl: work? Code below modified from VideoWidget iOS sample doesn’t show 360 video... NSString *videoPath =@"https://www.youtube.com/watch?v=Db-uq08ydI4"; [_videoView loadFromUrl:[[NSURL alloc] initFileURLWithPath:videoPath]]; Excited to see this working! Thanks! 回答1: Before anything, check this question answer's I'm

Google Vr - Unable to load texture

大憨熊 提交于 2019-12-11 08:17:06
问题 Good morning, i downloaded the google vr script to try to embed in a webpage a 360 image. I wanted to try it but the examples and the index.html page does not work and i get those error messages after the script loading: page: index.html: Error: Unable to load scene: Required parameter setting. page: examples/pano/index.html anks Error: Render: unable to load texture from examples/pano/andes_512.jpg Does someone know how to solve that issue? Thanks 回答1: I had the same problem. You need to

Daydream Non-VR Mode in Unity 5.4.2f-GVR13 [duplicate]

柔情痞子 提交于 2019-12-10 22:15:21
问题 This question already has an answer here : Enable/Disable VR from code (1 answer) Closed 2 years ago . last week I tried to integrate my Unity project to Daydream, the integration went fine. Now I am trying to seperate the first scenes (which include login process so I need the android soft-keyboard) from the rest of the application - I want the application to open like any android-non-vr application and to switch to VR mode only after the first two scenes. I read in some answer by Unity

is it possible to remove the (i) info button and place some video controllers over 360 video Google VR?

别说谁变了你拦得住时间么 提交于 2019-12-10 11:44:14
问题 The title says it all! but to be more clear, please check this screenshot. This is a 360 video playback using the Google VR https://developers.google.com/vr/ios/ but I want to know if it is possible to remove this little (info) button? and instead overlay our own set of video controlers? 回答1: Google allow you to create a custom GVRView which doesn't have the (i) icon - but it involves creating your own OpenGL code for viewing the video. A hack working on v0.9.0 is to find an instance of

Load 360 degree video on youtube using VrVideoView (Google VR SDK)?

怎甘沉沦 提交于 2019-12-09 20:42:56
问题 I want to load a 360 degree video, which is on youtube, in an native android app using VrVideoView (Google VR SDK). Looking at the android api reference here, it doesn't seem to be supported, but it seems to be available for iOS version? Is there anyway to do this on android? Thanks 回答1: You can't play YouTube videos in custom video player because of YouTube content policy. Even if you get video stream URL, your application will be rejected from Google Play. The only thing you can do is to

How can I give some clickable points in VR panorama image view in Android?

被刻印的时光 ゝ 提交于 2019-12-09 07:39:47
问题 I insert a 360 degree image in VrPanoramaView then image is showing and rotating successfully but and in this library only one click event which is panoramaView.setEventListener(new VrPanoramaEventListener() . I want to give some points in that image. So I want to know how I can give some selected points in Google VR View in android ? 回答1: 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