Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Google Cardboard and stereoscopic panorama

Discussion in 'AR/VR (XR) Discussion' started by S_P_S, Aug 18, 2016.

  1. S_P_S

    S_P_S

    Joined:
    Feb 25, 2015
    Posts:
    91
    Hello!

    I want to build a basic stereoscopic panorama viewer for the google cardboard. I did that before with an older Cardboard Unity Plugin but now I want to use the current one.

    Has anyone experience with the current Cardboard integration?
    I dropped the "GvrViewerMain" Prefab in the scene, made two spheres, one displays the left image, the other sphere the right image. Each of the cameras render one sphere.
    But it looks strange and blurry, as if the two panoramas doesn't match. I tried it with the left and right camera at position 0,0,0 and also with the pre defined x offset of 0.032.
    I actually don't know that I am doing wrong, maybe someone can help.

    best regards
     
  2. Nuitari

    Nuitari

    Joined:
    Oct 24, 2013
    Posts:
    25
    Have you found a solution? I'm using Unity 5.4 with Google VR SDK for Cardboard, EasyMovieTexture plugin to play the video, and have the same problem with the panoramas that don't match and seem slightly off.

    I've tried centering the two spheres on the left and right cameras (and following the positions of the cameras, which move when the user looks around) instead of having them both at 0,0,0 but that didn't help.

    The videos seem to be slightly out of sync. I'm using one 2048x2048 video, but two materials with different tiling offsets. Maybe they don't load at the exact same time.

     
    Last edited: Aug 22, 2016
  3. Nuitari

    Nuitari

    Joined:
    Oct 24, 2013
    Posts:
    25