界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

vr-ar

vr-ar

【开发与工程】VR/AR development principles. Comfort, interaction, performance requirements.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: vr-ar description: VR/AR development principles. Comfort, interaction, performance requirements. allowed-tools: Read, Write, Edit, Glob, Grep

VR/AR Development

Immersive experience principles.


1. Platform Selection

VR Platforms

PlatformUse Case
QuestStandalone, wireless
PCVRHigh fidelity
PSVRConsole market
WebXRBrowser-based

AR Platforms

PlatformUse Case
ARKitiOS devices
ARCoreAndroid devices
WebXRBrowser AR
HoloLensEnterprise

2. Comfort Principles

Motion Sickness Prevention

CauseSolution
LocomotionTeleport, snap turn
Low FPSMaintain 90 FPS
Camera shakeAvoid or minimize
Rapid accelerationGradual movement

Comfort Settings

  • Vignette during movement
  • Snap vs smooth turning
  • Seated vs standing modes
  • Height calibration

3. Performance Requirements

Target Metrics

PlatformFPSResolution
Quest 272-901832x1920
Quest 390-1202064x2208
PCVR902160x2160+
PSVR290-1202000x2040

Frame Budget

  • VR requires consistent frame times
  • Single dropped frame = visible judder
  • 90 FPS = 11.11ms budget

4. Interaction Principles

Controller Interaction

TypeUse
Point + clickUI, distant objects
GrabManipulation
GestureMagic, special actions
PhysicalThrowing, swinging

Hand Tracking

  • More immersive but less precise
  • Good for: social, casual
  • Challenging for: action, precision

5. Spatial Design

World Scale

  • 1 unit = 1 meter (critical)
  • Objects must feel right size
  • Test with real measurements

Depth Cues

CueImportance
StereoPrimary depth
Motion parallaxSecondary
ShadowsGrounding
OcclusionLayering

6. Anti-Patterns

❌ Don't✅ Do
Move camera without playerPlayer controls camera
Drop below 90 FPSMaintain frame rate
Use tiny UI textLarge, readable text
Ignore arm lengthScale to player reach

Remember: Comfort is not optional. Sick players don't play.

我的收藏