View in English

  • Apple 开发者
    • 入门汇总

    探索“入门汇总”

    • 概览
    • 学习
    • Apple Developer Program

    及时了解最新动态

    • 最新动态
    • 开发者你好
    • 平台

    探索“平台”

    • Apple 平台
    • iOS
    • iPadOS
    • macOS
    • Apple tvOS
    • visionOS
    • watchOS
    • App Store

    精选

    • 设计
    • 分发
    • 游戏
    • 配件
    • 网页
    • Home
    • CarPlay 车载
    • 技术

    探索“技术”

    • 概览
    • Xcode
    • Swift
    • SwiftUI

    精选

    • 辅助功能
    • App Intents
    • Apple 智能
    • 游戏
    • 机器学习与 AI
    • 安全性
    • Xcode Cloud
    • 社区

    探索“社区”

    • 概览
    • “与 Apple 会面交流”活动
    • 社区主导的活动
    • 开发者论坛
    • 开源

    精选

    • WWDC
    • Swift Student Challenge
    • 开发者故事
    • App Store 大奖
    • Apple 设计大奖
    • Apple Developer Centers
    • 文档

    探索“文档”

    • 文档库
    • 技术概述
    • 示例代码
    • 《人机界面指南》
    • 视频

    发布说明

    • 精选更新
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • Apple tvOS
    • Xcode
    • 下载

    探索“下载”

    • 所有下载
    • 操作系统
    • 应用程序
    • 设计资源

    精选

    • Xcode
    • TestFlight
    • 字体
    • SF Symbols
    • Icon Composer
    • 支持

    探索“支持”

    • 概览
    • 帮助指南
    • 开发者论坛
    • “反馈助理”
    • 联系我们

    精选

    • 《开发者账户帮助》
    • 《App 审核指南》
    • 《App Store Connect 帮助》
    • 即将实行的要求
    • 协议和准则
    • 系统状态
  • 快速链接

    • 活动
    • 新闻
    • 论坛
    • 示例代码
    • 视频
 

视频

打开菜单 关闭菜单
  • 专题
  • 所有视频
  • 关于

更多视频

  • 简介
  • 概要
  • 代码
  • 探索 USDKit 以及 OpenUSD 的新进展

    深入了解 Apple 平台上通用场景描述 (USD) 支持的最新进展,包括基于 Swift 的 USDKit、新的空间预览 API,以及增强的空间网页功能。探索如何利用 OpenUSD 标准的最新更新,添加对辅助功能、高斯泼溅点和压缩几何的支持。我们还将逐步介绍 Mac“预览”中扩展的 USD 编辑和渲染工具,演示如何在你的 App 中充分利用这些功能。

    章节

    • 0:07 - Introduction
    • 0:53 - OpenUSD: Industry Foundation and New Standards
    • 2:51 - Gaussian Splats and Particle Fields
    • 3:47 - Introducing USDKit
    • 4:06 - 3D Editing in Preview and New Renderers
    • 5:42 - Spatial Preview: Live Collaboration Between Mac and Vision Pro
    • 6:25 - USD on the Web: The Safari Model Tag
    • 6:57 - USDKit: Key Concepts and Swift API Walkthrough
    • 10:05 - Accessibility Metadata in USD
    • 11:19 - Asset Compression: Mesh and Texture
    • 12:36 - Integration Paths: USDKit, SwiftUSD, and OpenUSD
    • 13:24 - Next steps

    资源

      • 高清视频
      • 标清视频

    相关视频

    WWDC26

    • 探索 Spatial Preview 框架
  • 搜索此视频…
    • 8:12 - Opening a USD Stage

      import USDKit
      
      // Create a new empty in-memory stage
      
      let stage = USDStage()
      
      // Open a stage from a file on disk
      
      let url = URL(fileURLWithPath: "/ALab/entry.usda")
      let stage = try USDStage.open(url)
    • 8:44 - Traversing the Stage Hierarchy

      // Traverse all prims looking for the oscilloscope
      for prim in stage.descendants {
          if prim.name == "scope" {
              // There it is! 🔬
          }
      }
      
      // It wasn't there — define a new Xform prim for it
      
      let scope = stage.definePrim(at: "/World/scope", type: “Xform"))
                                   
      // Add a file reference to the prim
      
      try scope.references.add(“/ALab/assets/scope.usda”)
    • 9:36 - Moving a Prim with a Transform Operation

      // Creates xformOp:translate and updates xformOpOrder automatically
      
      scope.addTransformOperation(type: .translate)
      scope["xformOp:translate", as: USDValue.Vec3d.self] = [2.5, 0.0, -1.0]
    • 10:42 - Applying Accessibility Metadata

      // Apply the multi-apply AccessibilityAPI schema with instance name "default"
      
      try scope.applyAPISchema("AccessibilityAPI", instanceName:"default")
      
      // Create the label and description attributes
      
      scope.makeAttribute(named: "accessibility:default:label", as: .string)
      scope.makeAttribute(named: "accessibility:default:description", as: .string)
      
      // Set their values
      
      scope["accessibility:default:label", as: String.self] = "Oscilloscope"
      scope["accessibility:default:description", as: String.self] = 
          "Vintage signal analyzer with a 3D wireframe display, topped by a color bar test monitor"
    • 12:05 - Exporting with Mesh and Texture Compression

      let output = URL(fileURLWithPath: "/ALab/alab_compressed.usdz")
      
      // Export the stage as a USDZ package
      
      try stage.exportPackage(
          to: output,
          options: [
              .preferSmallTextureFiles(quality: .standard),   // compress textures
              .preferSmallMeshFiles                           // compress mesh geometry
          ]
      )
    • 0:07 - Introduction
    • Frames USD as the backbone of Apple's spatial experiences and outlines the topics covered: foundational USD updates, the new USDKit framework, and how they enable rich 3D experiences across Apple platforms.

    • 0:53 - OpenUSD: Industry Foundation and New Standards
    • Apple's evolving role in the OpenUSD ecosystem: updates to OpenUSD, MaterialX, and OpenVDB across all platforms; Apple's membership in the Academy Software Foundation and Alliance for OpenUSD; and the release of the first formal USD core specification.

    • 2:51 - Gaussian Splats and Particle Fields
    • Introduces a new USD primitive type — Particle Fields — co-developed with NVIDIA, Adobe, and Pixar through the Alliance for OpenUSD, enabling Gaussian Splats to be represented natively in USD and composited alongside traditional 3D data.

    • 3:47 - Introducing USDKit
    • A high-level overview of USDKit, the new first-party Swift framework that brings USD support to Apple apps with built-in RealityKit and Spatial Preview integration, designed to be approachable for both USD veterans and Swift developers new to 3D.

    • 4:06 - 3D Editing in Preview and New Renderers
    • Preview on Mac gains essential 3D editing capabilities: direct scene manipulation, property and lighting editing, hierarchy browsing, and asset conversion — all backed by a choice of three renderers: RealityKit, Storm, and a new high-fidelity Raytracer. All three support OpenPBR materials.

    • 5:42 - Spatial Preview: Live Collaboration Between Mac and Vision Pro
    • The new Spatial Preview framework on macOS 27 creates a live link between Preview on Mac and Quick Look on Vision Pro, enabling real-time spatial review and SharePlay collaboration. Developers can integrate the same workflow into their own Mac apps.

    • 6:25 - USD on the Web: The Safari Model Tag
    • Safari's new Model tag brings interactive 3D USD content to web pages on macOS and iOS, with full spatial breakout on visionOS — making USD as native to the web as images and video.

    • 6:57 - USDKit: Key Concepts and Swift API Walkthrough
    • A walkthrough of core USD concepts — Layers, Composition, Stages, Prims, Schemas, Attributes, and Metadata — followed by a practical Swift code example: opening a stage, traversing the hierarchy, adding a referenced asset via composition, and repositioning it with transform operations.

    • 10:05 - Accessibility Metadata in USD
    • Apple has driven standardization of accessibility metadata directly in USD, defining how assistive labels and descriptions are authored on 3D objects. The API is supported in Blender and Maya, and the USDKit walkthrough shows how to apply the AccessibilityAPI schema and set label and description attributes.

    • 11:19 - Asset Compression: Mesh and Texture
    • Introduces state-of-the-art mesh compression (up to 90% reduction) developed with the Alliance for Open Media, combined with existing AVIF texture compression — achieving 7× smaller assets on average. Demonstrated via USDKit's exportPackage API, Preview's UI, and the usdcrush command-line tool.

    • 12:36 - Integration Paths: USDKit, SwiftUSD, and OpenUSD
    • Outlines the three integration paths: USDKit for Apple platform app developers; SwiftUSD via Swift Package Manager for advanced or open-source Swift workflows; and OpenUSD as an embeddable C++ framework for cross-platform codebases. All share the same USD foundation, ensuring file interoperability.

    • 13:24 - Next steps
    • Recap of the session's key announcements — 3D editing in Preview, Spatial Preview collaboration, the Safari Model tag, and USDKit — with pointers to related sessions on Spatial Preview, USD on the web, RealityKit and Reality Composer Pro.

Developer Footer

  • 视频
  • WWDC26
  • 探索 USDKit 以及 OpenUSD 的新进展
  • 打开菜单 关闭菜单
    • iOS
    • iPadOS
    • macOS
    • Apple tvOS
    • visionOS
    • watchOS
    打开菜单 关闭菜单
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    打开菜单 关闭菜单
    • 辅助功能
    • 配件
    • Apple 智能
    • App 扩展
    • App Store
    • 音频与视频 (英文)
    • 增强现实
    • 设计
    • 分发
    • 教育
    • 字体 (英文)
    • 游戏
    • 健康与健身
    • App 内购买项目
    • 本地化
    • 地图与位置
    • 机器学习与 AI
    • 开源资源 (英文)
    • 安全性
    • Safari 浏览器与网页 (英文)
    打开菜单 关闭菜单
    • 完整文档 (英文)
    • 部分主题文档 (简体中文)
    • 教程
    • 下载
    • 论坛 (英文)
    • 视频
    打开菜单 关闭菜单
    • 支持文档
    • 联系我们
    • 错误报告
    • 系统状态 (英文)
    打开菜单 关闭菜单
    • Apple 开发者
    • App Store Connect
    • 证书、标识符和描述文件 (英文)
    • 反馈助理
    打开菜单 关闭菜单
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program (英文)
    • Mini Apps Partner Program
    • News Partner Program (英文)
    • Video Partner Program (英文)
    • 安全赏金计划 (英文)
    • Security Research Device Program (英文)
    打开菜单 关闭菜单
    • 与 Apple 会面交流
    • Apple Developer Center
    • App Store 大奖 (英文)
    • Apple 设计大奖
    • Apple Developer Academies (英文)
    • WWDC
    阅读最近新闻。
    获取 Apple Developer App。
    版权所有 © 2026 Apple Inc. 保留所有权利。
    使用条款 隐私政策 协议和准则