代码之家  ›  专栏  ›  技术社区  ›  Elad Katz

在帧中设置FOV=120在VR模式下不起作用?

  •  0
  • Elad Katz  · 技术社区  · 7 年前

    我将摄像机视场设置为120:

    <a-camera fov="120"></a-camera>
    

    它在常规模式下工作良好(正确显示120 fov),但当我在移动设备中进入vr模式时,它会返回到80。是虫子吗?

    see reproduction here

    aframe github issue page

    1 回复  |  直到 7 年前
        1
  •  1
  •   Diego Marcos    7 年前

    这不是虫子。这是预期的行为。在VR模式下,FOV和其他摄像机参数由WebVR/WebXR API提供。 They're specific to the headset characteristics (IPD, lenses properties...) 并且不能被覆盖。使用不同的参数时,立体渲染看起来不正确。