【问题标题】:My A-Frame scene doesn't render in Rift / Rift S / Quest Link when entering VR in Chrome在 Chrome 中进入 VR 时,我的 A-Frame 场景无法在 Rift / Rift S / Quest Link 中渲染
【发布时间】:2019-12-16 13:18:09
【问题描述】:

我正在使用 A-Frame 1.0.0 并且 my basic scene 在使用 Oculus 头戴设备时无法在 Chrome m79 中呈现:Rift、Rift S 或 Quest(通过链接)。

<a-scene>
  <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
  <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
  <a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
  <a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
  <a-sky color="#ECECEC"></a-sky>
</a-scene>

我点击进入 VR 按钮,但我无法在耳机中看到我的内容。控制台没有错误

【问题讨论】:

    标签: aframe


    【解决方案1】:

    确保执行以下操作:

    1. 确保您通过 https 提供您的内容,因为它是由新的 WebXR 标准强制执行的。
    2. 在 chrome://flags 中禁用 XR device sandboxing
    3. 如果上述方法不起作用。在某些配备 NVidia 卡的笔记本电脑中,Chrome 可能会默认使用集成显卡。在 NVIDIA Control Panel -> Manage 3D Settings -> Program Settings 中找到 Chrome,然后在 Select the preferred graphics processor for this program 下拉列表中选择 High-performance NVIDIA processor。请注意,此选项可能会导致 Chrome 消耗更多电量。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-23
      相关资源
      最近更新 更多