Questions tagged [google-vr-sdk]

Questions regarding Google VR SDK, available platforms: Android, iOS, Unity or Unreal

Google VR SDKs, available platforms: Android, iOS, Unity or Unreal.

Google VR provides SDKs for many popular development environments. These SDKs provide native APIs for key VR features like user input, controller support, and rendering, which you can use to build new VR experiences on either Daydream or Cardboard.

Site: https://developers.google.com/vr/

Download: https://developers.google.com/vr/download/

API reference: https://developers.google.com/vr/reference/

Guide: https://developers.google.com/vr/develop/

100 questions
0
votes
0 answers

Google VR samples build fails with nullpointerexception

Just cloned the google-vr sdk, but I'm not able to built the samples. gradle --stacktrace fails with FAILURE: Build failed with an exception. What went wrong: java.lang.NullPointerException (no error message) Try: Run with --info or --debug…
0
votes
0 answers

How to get the axis of the head movement in unity mobile VR (GoogleVR)?

I have UI button that rotate an object in the scene when pressed with the MouseDown and stopes rotating when MouseUp. I am rotating the object using the following code: private float rotationSpeed = 205f; public void dragBrain(GameObject brain) { …
sourceplaze
  • 333
  • 3
  • 11
0
votes
0 answers

How to stream a video using google's vrVideoView

I am trying to stream a video using Google's vrVideoView on an Android app. This is the video I am currently trying to load as a test. Though, eventually I would like to load a video from a Google Drive URL. I am currently using the code from this…
0
votes
0 answers

how to change background color of google vr view fullscreen icon?

This is an image you see a full-screen icon window.addEventListener('load', onVrViewLoad); function onVrViewLoad() { var vrView = new VRView.Player('#vrview', { image:…
0
votes
0 answers

Develop GoogleVr Cardboard Unity 3D

Hey Guys can somebody suggest me a good source how to build a GoogleVr Cardboard App for Android. Most of the Tutorials that I saw on Youtube are old Tutorials and the old SDK GoogleVr (old) dosn't work any more Thanks in advice! ZZAim
0
votes
1 answer

Get context of foreground activity in Service

I have a service and I want to get context of topmost activity which is currently running on foreground. The service is in my own app and topmost activity is from another app (the activity is not from my app). Is it possible ? If yes, how? Edit : I…
0
votes
1 answer

Error with building Google VR SDK sample code

I'm a newbie for developing android program and I'm struggling to get the sample code "ndk-treasurehunt" running. I followed the instructions to build the project and ran into many errors. After modified the build.gradle file, I was able to make a…
Jim
  • 1
  • 1
0
votes
0 answers

How to import google vr sdk into my Android studio project

I want to import the Google VR SDK into my Android Project I have gvr-android-sdk-1.150.0 downloaded from github Can someone provide me with in depth steps if possible ?
0
votes
1 answer

Unity Google Cardboard reverts any camera changes made when built on Android

I am working with Google Cardboard through Unity on a virtual reality project in which the view slowly changes from stereoscopic VR (a slightly different image in each eye) to monoscopic VR (the same image in each eye). I can edit the cameras in the…
0
votes
1 answer

Main maintain 360 rotation while toggling between VR and Normal mode

I have developed a VR game using Unity and Google VR SDK for Android. I want the game to be playable without a VR headset too. How should I implement switching from VR to Normal mode and vice versa? I want to maintain 360 rotation while in Normal…
0
votes
1 answer

How to trigger "Fire2" button using bluetooth controller of Google Cardboard in Unity3d

I am trying to transform object into VR app using google cardboard sdk in Unity3d. I write a script and comparing input buttons on Update method. So my code is below. void Update () { if (Input.GetButtonDown("Fire1")) { …
0
votes
1 answer

Building custom Mixed Reality (Augmented Reality) setup in Unity

I'm tasked with developing an application, which would emulate augmented reality in a virtual reality application. We are using Google Cardboard (Google VR), and want to show the camera images (don't mind the actual camera setup, say I already have…
0
votes
1 answer

How to incorporate same functionalities of GVRViewerMain and GVRFPScanvas while using the current versions of GVR sdk

In the recent versions of GoogleVR sdk for unity, I have noticed there is no GVRviewermain (to split the view for left and right eye) and also no GVRFPScanvas (to record the FPS). Can anyone please tell me how to achieve the functionalities of these…
MSD Paul
  • 1,648
  • 3
  • 13
  • 31
0
votes
1 answer

Support for SBS left/right videos with Google VR SDK

I have some side-by-side left/right videos (in mp4 format) and my employer wants me to make an app that use the Google VR SDK to play videos for CardBoard users. Can the Google VR SDK play these videos (without anything to do my self for the…
0
votes
1 answer

opengl ray picking/tracing with cardboard (GVR)

For the demonstration, I made a small application that draws three squares of random size and random location. Drawing squares: private void renderObject(float[] modelViewProjection, FloatBuffer vertexCoordsBuf, int i) { …
Anton111111
  • 656
  • 1
  • 7
  • 23