Search Unity

Changing FoV in Native Cardboard SDK

Discussion in 'AR/VR (XR) Discussion' started by homeros, Jun 21, 2017.

  1. homeros

    homeros

    Joined:
    Dec 23, 2009
    Posts:
    121
    I'm using only the native cardboard sdk with Unity 2017.1.0b9 and building my app for iOS. I used to change FoV when using google vr sdk by changing values in StereoController.

    But since I started using native sdk, there is no stereocontroller and changing FoV in camera component doesn't work. Is there any way to change FoV in native sdk?
     
  2. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,092
    not a 100% sure but isn't that what the Google VR profile is for?
    the FoV is normally fitted for the cardboard itself.
    look up Google VR Profile there should be a generator with advanced params that is about the FoV
     
  3. homeros

    homeros

    Joined:
    Dec 23, 2009
    Posts:
    121
    I'm not entirely sure either but I believe VR profile is for things like distance between lenses (or your eyes?) and their distance to your phone. I would like to change camera FOV dynamically in the game.
     
  4. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,092
    changing it dynamically is not possible as far as I know. This is because the VRSettings / VR SDK is locking the FoV value. (if anyone thinks I'm wrong please correct me)
     
    b4cksp4ce likes this.