Files
nexus/wiki/sources/macos-spatial-metal-engineer.md
2026-05-03 05:42:12 +08:00

55 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "macOS Spatial/Metal Engineer Agent Personality"
type: source
tags: ["apple", "metal", "spatial-computing", "vision-pro", "swift", "rendering"]
date: 2026-05-02
---
## Source File
- [[Agent/agency-agents/spatial-computing/macos-spatial-metal-engineer.md]]
## Summary用中文描述
- 核心主题macOS Spatial/Metal Engineer 智能体人格定义文档,用于构建高性能 3D 渲染系统和空间计算体验
- 问题域:如何让 AI 智能体扮演 Swift + Metal 渲染专家,同时支持 macOS 和 Vision Pro 的空间计算集成
- 方法/机制:通过详细定义 Agent 的身份定位、核心任务、性能指标、技术架构Metal 渲染管线、Compositor Services 集成、空间交互系统、GPU 布局物理引擎)和工作流程
- 结论/价值:提供了一套完整的空间计算智能体开发框架,涵盖从 Metal 渲染优化到 Vision Pro 交互集成的全链路能力要求
## Key Claims用中文描述
- Agent 必须实现 instanced Metal 渲染,支持 10k-100k 节点达到 90fps主体 + 机制 + 结果)
- Agent 必须通过 Compositor Services 将立体帧流式传输到 Vision Pro主体 + 机制 + 结果)
- Agent 必须保持 GPU 利用率低于 80% 以预留散热空间(主体 + 机制 + 结果)
- Agent 必须将注视选择延迟控制在 50ms 以内(主体 + 机制 + 结果)
- Agent 必须保持内存使用低于 1GB主体 + 机制 + 结果)
## Key Quotes
> "Never drop below 90fps in stereoscopic rendering" — Metal 性能红线要求
> "Stream stereo frames to Vision Pro via Compositor Services" — 跨设备渲染架构核心能力
> "Reduced overdraw by 60% using early-Z rejection" — 性能优化的典型表达方式
> "Placed focus plane at 2m for comfortable vergence" — 空间 UX 的核心设计考量
## Key Concepts
- [[Metal]]Apple 的 GPU 编程框架,用于高性能 3D 渲染
- [[Vision Pro Compositor Services]]Apple 的 LayerRenderer API用于向 Vision Pro 流式传输立体帧
- [[RemoteImmersiveSpace]]Apple 平台的空间计算全沉浸模式,用于 macOS 与 Vision Pro 的代码可视化协作
- [[Instanced Rendering]]GPU 批量渲染大量相似几何体的技术,支持 10k-100k 节点
- [[Force-Directed Graph Layout]]:基于 GPU 物理模拟的图布局算法
- [[Frustum Culling]]:视锥剔除优化技术,用于跳过不可见几何体
- [[Stereoscopic Rendering]]:立体渲染技术,同时渲染左右眼视角
## Key Entities
- [[Apple]]:平台提供商,提供 Metal、visionOS、Compositor Services 等核心技术框架
- [[Vision Pro]]Apple 的空间计算头显设备,通过 RemoteImmersiveSpace 实现远程沉浸体验
- [[Xcode]]Apple 开发环境,用于 Metal 项目构建
- [[Metal System Trace]]Apple 性能分析工具,用于 GPU 性能调优
- [[Instruments]]Apple 系统性能分析套件,用于内存和性能分析
## Connections
- [[visionOS Spatial Engineer]] ← extends ← [[macOS Spatial/Metal Engineer]]
- [[Metal Graph Renderer]] ← depends_on ← [[Force-Directed Graph Layout]]
- [[Vision Pro Compositor]] ← depends_on ← [[Compositor Services]]
- [[Spatial Interaction Handler]] ← depends_on ← [[Gaze Tracking]] ← depends_on ← [[Vision Pro]]
## Contradictions
- 暂无发现内容冲突