How to create a stereoscopic view of a photosphere image using the Google Cardboard SDK

The Cardboard Demo app has a nice feature where we can see existing photospheres. I want to create a similar application

I looked at the Cardboard SDK that Google provided. But they did not find an easy way to do this. I have to build from scratch literally, accepting all the sensory inputs and updating the framework accordingly, which is a very painful process.

I want to know

  • If there is an easy way to do this
  • If there is available source code for the Google Cardboard application that I can create on
+5
source share
3 answers

Use the Rajawali Framework with RajawaliVR or just use this example: https://github.com/ejeinc/RajawaliCardboardExample

+4
source
0
source

a. Install Unity Pro with the Android Pro plugins, configure the Cardboard SDK for Unity, install the Android Build tools and the SDK.

B. Skybox setup

  • Get a stereoscopic panoramic image. In Unity, import the image, change the texture type to Cubemap.
  • Select the display as cylindrical (long and long).
  • Create material, change the shader to Skybox / Cubemap.
  • Assign a texture to the material.
  • In the top panel of the Unity 5 Pro browser, select Window → Lighthing, drag and drop material into the Skybox property.
  • Combine these steps with the assets and game objects of Cardboard.

The whole tuning will just pull out your five minutes (except for tuning your tools: D). You can send an answer here .

0
source

All Articles