google-cardboard

Cardboard QR Scanning without Unity SDK

安稳与你 提交于 2019-12-11 01:57:47
问题 I've been trying to figure out how to scan and use the QR codes provided with Cardboard devices without needing to use the Unity API. I've already written SCN-VR for SceneKit based VR for iOS devices with Obj-c and I would want scanning QR codes to also work to make setting up profiles simpler. I've seen a QR code scan to goo.gl/pdNRON, which leads to a page on how to download the Google Cardboard app, but what HTTP service is the Google Cardboard app going to download the actual profile? 回答1

Render 3d Objects into Cameraview

一笑奈何 提交于 2019-12-10 17:49:02
问题 I tried to develop a mobile cardboard application, which renders 3d objects into a camera view (some kind of ar). I used this project and tried to render a simple cube in the camera: https://github.com/Sveder/CardboardPassthrough/ I didn't get it working, the background is always black or the app wrecked. I would be very grateful for any help or suggestions. Thanks Thats what i have Origin CardboardPassthrough here is the working code, with the cubes import android.content.Context; import

Linker error - CreateMainApp __EXPECTED_EXACTLY_ONE_VR_MAIN_APP_STATEMENT__ with Cardboard SDK

佐手、 提交于 2019-12-10 15:56:34
问题 I am developing a Google Cardboard app and build fine in iOS. But adding Soomla to the project causes linker error: Ld /Users/foundway/Library/Developer/Xcode/DerivedData/Unity-iPhone-grxtfxrygreysieuyeovxlhlmgxu/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/RealiteerCore normal armv7 cd /Users/foundway/GitHub/RealiteerCore/Build/RealiteerCoreIOS export IPHONEOS_DEPLOYMENT_TARGET=6.0 export PATH="/Applications/Xcode.app/Contents/Developer

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

Move camera around using touch event in CardBoard and Rajawali VR Android

爱⌒轻易说出口 提交于 2019-12-09 13:58:34
问题 Currently, I am working on VR application for android that using google CardBoard and Rajawali to play the 360 video. The sensor is working well, but I cannot use touch to drag the scene or camera around correctly. Is there any way to enable touch mode in this app? Any help is greatly appreciated! Thank you. 回答1: I've worked on the same thing, and this is what I used: First, take a look at Rajawali's ArcballCamera class. You can see there how touch events are handled to rotate the camera with

Determining exact eye view size

守給你的承諾、 提交于 2019-12-09 12:30:15
问题 In my Cardboard app for Android, I want to display an overlay in each eye that centers. Simply creating a LinearLayout with two centered views is fairly easy and works for most phones as the eyes are drawn to best fit: When that's not the case, getting something to center in each eye becomes a problem. It's most clearly illustrated when using a tablet: I'm trying to get the message "Buffering, 0%..." centered inside each eye view. The size of the render boxes for the eyes has a fixed

How to make a simple VR video player by Google CardBoard Android SDK

ぐ巨炮叔叔 提交于 2019-12-09 06:52:28
问题 Im following as what Mog suggest in the post: How to create VR Video player using Google Cardboard SDK for Unity Here's my code snippet 1. In the MainActivity's onSurfaceCreated() method , I initialise a texture and bind it to GL, and create a surface and a mediaplayer associated to them. in the onNewFrame() method, I update the texture as what Mog said in the post I saved my short video as small.mp4 in the raw folder, however , after I start my app the two sides are blank, and the video's

Open Photoshpere from SD card in android to view in Google Cardboard

让人想犯罪 __ 提交于 2019-12-08 07:27:20
问题 I'm developing an Android app where: I have a photosphere .jpg image file in the SD card and I need to open it in some view, where I can swipe and view the entire sphere in 360°. This also needs to be rendered for the Google Cardboard view. I'm totally clueless as to how to proceed with it as this is my first app for Cardboard and with Photospheres. Any help either with photospheres or with how to render any normal image for Google Cardboard would be highly appreciated. 回答1: You can use the

Parsing error when trying to play Cardboard SDK For Unity Demo First time

老子叫甜甜 提交于 2019-12-08 06:56:21
问题 I have followed the getting started steps here: https://developers.google.com/cardboard/unity/get-started But when I load the .apk file to my phone, I get a "There was a problem parsing the package" error. I tried searching online and I assume it means I have an issue somewhere in my AndroidManifest.xml file? Is there anything else I need to be aware of that the get-started guide didn't mention? 回答1: Found the solution! Open the Android manifest file inside YourProject/Assets/Plugins/Android