google-cardboard

Making Cursor Mouse Always Enabled In Unity CardBoard Plugin

时光总嘲笑我的痴心妄想 提交于 2019-12-13 09:36:48
问题 i think the title is clear , i want to make the mouse Cursor which is set in GazeInpuModule to be always enabled and in center of the both Left And Right Cameras , can anyone help me ?! ive tried changing the GazeInputModule code to place the cursor in center , but got nothing ! 回答1: Here's what worked for me: Create a Cursor GameObject in the Head hierarchy Add EventSystem in the project hierarchy In the EventSystem Gaze Input Module component, ensure "Show Cursor" is selected. In

Failed to create IOSurface image (texture) with GVRSDK

雨燕双飞 提交于 2019-12-12 18:24:06
问题 I create a SKScene with SKVideoNode, then apply to a sphere geometry. Here is the key code: // Create a SKScene to play video NSString* filePath = [[NSBundle mainBundle] pathForResource:@"2222" ofType:@"mp4"]; NSURL* sourceMovieURL = [NSURL fileURLWithPath:filePath]; AVPlayer* player = [AVPlayer playerWithURL:sourceMovieURL]; SKVideoNode* videoNode = [SKVideoNode videoNodeWithAVPlayer:player]; //CGSize size = CGSizeMake(512, 512); CGSize size = [UIScreen mainScreen].bounds.size; videoNode

URL scheme for the Google Street View App (Not Google Maps)

烈酒焚心 提交于 2019-12-12 07:27:19
问题 I'm using Google Cardboard with the Street View App. I want to be able to create a link that sends users directly into the Street View App to view a specific location. Within the Street View App I can create a link from a location, if it's a featured location within the app, the link it generates works perfectly and looks something like this: http://www.google.com/maps/streetview/#us-highlights/faneuil-hall-boston If it's not a featured location, the URL it generates is different and opens in

How to create VR Video player using Google Cardboard SDK for Unity

a 夏天 提交于 2019-12-12 07:08:47
问题 I just downloaded Google Cardboard SDK for unity. I am fine and able to create VR project. Setup is fine and everything is working fine. I am noob at VR Apps. Just stepped in VR Apps. I am planing to create my own VR Enabled Video Player for android, Just like the default Google Cardboard Youtube player. Can any one suggest me a link or can guide me in developing this app. 回答1: Scott Driscoll's answer totally works. I had some initial problems getting the Easy Movie Texture Unity plug-in to

How to access the cardboard trigger on google Gvr( in code)? 1.6 version SDK

旧城冷巷雨未停 提交于 2019-12-12 04:14:29
问题 How to access the cardboard trigger on google Gvr( in code) ? In the earlier version it was GvrViewer.Instance.Triggered 回答1: I use Input.GetButtonDown("Fire 1") and it works for me on the latest SDK version (1.6) and latest Unity version (5.6) EDIT: Use Input.GetButtonDown("Fire1") if you follow the default naming conventions for input events supported by unity. Please note that there is no space character between "Fire" and "1". Otherwise, you might the error - "ArgumentException: Input

Prevent Google Cardboard Pairing / Startup Screen on iOS

坚强是说给别人听的谎言 提交于 2019-12-11 13:57:37
问题 When my google cardboard app starts up for the first time, it launches a Google page that says "Google Cardboard. Let's get you set up. Pair your phone with your viewer for the best experience." I'd like to control this experience to show my own initial screen before the google cardboard sdk launches. One reason for this is that I want people without cardboard to be able to immediately start experiencing the app in non-cardboard mode without having to go through the pairing process. I know I

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 cardboard for unity disables AA on android device

扶醉桌前 提交于 2019-12-11 11:52:31
问题 I'm developing simple VR app for android using google cardboard SDK for unity. I'm using unity 5(free), and latest version cardboard package for unity(0.4.9), i am testing on sony xperia z3 compact(lolipop) and on samsung galaxy note 3(kitkat) The issue i'm having is, that i can't turn on anti-aliasing, or rather google sdk package, seems to disable it. I dont mind a little jagged corners, but the thing is that those corners are flickering when they are far away enough. I tried moving

Google Cardboard - how to face the same way when changing scenes?

浪子不回头ぞ 提交于 2019-12-11 06:07:54
问题 I'm creating a VR game, where if a user looks at a button, a scene will change. The problem is that if I load a new scene using SceneManager , the direction that the user is facing resets, making it the new forward. For example, I have a quit button located behind the user. If they look at it, a new scene will load, but the new "forward" will be behind them, causing them to have to completely turn around in order for their body to face forward again. I looked online and came across this post

Google cardboard device orientation

时光毁灭记忆、已成空白 提交于 2019-12-11 02:34:23
问题 I'm wondering... is there any way to set the device orientation back to 'Auto Rotation'? I need a portrait rotation for my app main screen but once Cardboard SDK package is imported landscape mode seems to bypass everything in the project and there is no way to change it in any scene and I can't even get the orientation from Input.deviceOrientation (is always 'unknown'). So far my only idea is to use a second standard camera in ninety degree angle to get my dispay in portrait-mono mode and