![]() Jun 22, 2017 - MacBook; Daydream View headset; Daydream ready phone; Software. The Google VR SDK for Unity. From the Android Studio home screen Configure > SDK Manager. Turning a Unity scene into a 'VR app' is a matter of seconds, you just import the Unity plugin from one of the SDKs and drop the camera into the scene. You then build the app, start it on the phone and can walk around in your scene with a controller. Hi everyone, VR 360 video become more and more popular in the world than ever, all of us know about the vr 360 video. But what happen with people who want to watch virtual reality video? They have to connect to Youtube app! What about creating a VR video player app for android? With the experience of a android developers, I have to tell you that it is very easy and easy to get money from selling this app too. With this kind of app, people can watch vr 360 video right on their smartphone with no the Internet connection! Smoothier, lighter and cheaper! People are thirsty to experience new things from VR technology, some of my friend develop some very simple VR app but still get quite good income. So in this post, I will show you how to create VR Video player Android app with Google Cardboard SDK for Unity! Create VR Video player Android app with Google Cardboard SDK for Unity There are 3 steps for you to create VR video player android app with Google Cardboard SDK for Unity • Add a sphere with an equirectangular UV mapping and inward facing normals around the camera. • Purchase a plugin to play a movie on that sphere’s texture. I recommend Easy Movie Texture. • Use mp4s or ogg vorbis files that are compatible with the platform. This is phone and OS dependent. At first, Easy Movie Texture take me a lot of time before I can apply it, however, finally I get familiar with it and use it well. Hehe, and now do you know that now my app run very well on my Iphone? This is the result that I haven’r respect before! Easy Movie Texture Tutorial I don’t know if you work on Windows environment, but on Mac you can follow this short tutorial of how to use Easy Movie Texture Download the Easy Movie Texture plug-in from the Unity Asset Store • Open the Demo Sphere demo scene from Assets/EasyMovieTexture/Scene • Create a new (empty) Prefab to your project, and drag the Sphere GameObject from the Demo Sphere scene onto the Prefab. • Reopen your Cardboard scene and drag the new videosphere prefab into your hierarchy. • Open your source 360-video in Quicktime • File -> Export -> 720p • Change file extension from ‘.mov’ to ‘.mp4’ • Drag your new mp4 file into your projects Assets/Streaming Assets directory. Note: don’t import through the menu system, as this will force Unity to convert to OGG. • On the “Media Player Ctrl” script component of your videosphere GameObject, locate the “Str_File_Name” field and provide the FULL filename. Make sure to include the extension as part of the string, “mymovie.mp4”. Free resource that you will love Here are some useful resource I think that can help you a lot with VR technology: • • That’s all of tasks that I have did to make it works, hehe! One last note, you can only view the video on the phone, not in preview in the editor. It would be better if it didn’t work this way, but really once the initial issues of resolution and placement are resolved, I don’t really need to see the video every time I run the scene in the editor. Do you want to find out what are the and? Some tips for those building for Gear VR in Unity What should my “Build Settings” and “Player Settings” be? The first step in getting an app running properly on Gear VR is having the correct “Build Settings” and “Player Settings” for your Unity project. This bit isn’t too complicated, but when things stop working right, it really makes you question yourself and whether you’ve got them set up right! Here are how I’ve set up my own project for Gear VR: • Go to File > Build Settings • Choose “Android” for your platform (select it and then click “Switch Platform”) • Choose “ASTC” for “Texture Compression” (I’m not actually sure if this makes too much difference sometimes, but ) • Then click “Player Settings” to bring up those settings on the right. • In those settings, click the Android tab (it should already be selected if you’ve chosen “Android” as your build platform but good to check if you’re totally new at this) • The most important step is right here — Tick “Virtual Reality Supported”. This is especially important if you’ve been building for other platforms as it’s incredibly easy to miss. I’ve missed this checkbox a bunch of times when switching between Google Cardboard’s old SDK and Gear VR development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |