【问题标题】:Xcode does not support USDZ file formatXcode 不支持 USDZ 文件格式
【发布时间】:2019-05-25 02:46:50
【问题描述】:

我无法在 Xcode 中查看 USDZ 文件。我在 AR Quick Look Gallery 中下载了苹果提供的一些模型,但是当我无法在 Xcode 中查看时(图 1)。 此外,我无法在 Xcode 中将 usdz 文件转换为 ARScene(图 2)。 When I try to view the USDZ file on Xcode When I try to convert the USDZ file in Xcode project

【问题讨论】:

  • 您对本声明有疑问吗?
  • 是的,我仍在寻找将我的 USDZ 文件转换为场景文件 (.scn) 的方法,以便在我的 AR 应用中使用它。

标签: xcode augmented-reality arkit usdz


【解决方案1】:

看来问题出在我的操作系统版本上。将我的 mac 更新到 Mojave 后,我可以预览 USDZ 文件,还可以在 Xcode 10 中将它们转换为 SceneView。

【讨论】:

    【解决方案2】:

    为了在 RealityKit 或 SceneKit 的 Scene graph 中使用全新的 USDZ 文件格式,并通过 usdzconvertxcrun 命令使用命令行工具的转换,您需要Xcode 11 或更高版本用于 RealityKit,或 Xcode 10 或更高版本用于 SceneKit,当然,Swift 5 将安装在 MacOS Catalina 或macOS Mojave。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-11-21
    • 2016-10-03
    • 2018-08-18
    • 2010-11-22
    • 2013-11-25
    • 1970-01-01
    • 2018-12-15
    相关资源
    最近更新 更多