技能 编程开发 VR/AR开发原则

VR/AR开发原则

v20261014
vr-ar
虚拟现实和增强现实开发指南,涵盖平台选择、舒适度、性能、交互、空间设计及反模式。适用于设计沉浸式移动、空间交互、舒适度设置,或在目标头显上测量帧时间。
获取技能
80 次下载
概览

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 FPSMeet the selected headset refresh rate consistently
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

Historical hardware examples

Panel resolution is not the recommended render-target resolution. Verify supported refresh modes, runtime scaling and device support before setting a budget.

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

Frame Budget

  • VR requires consistent frame times
  • Dropped frames can produce judder; reprojection does not remove the need for stable timing
  • 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

  • Calibrate engine world scale against real meters; engine unit conventions differ
  • 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
Miss the selected refresh budgetProfile frame timing on the target headset
Use tiny UI textLarge, readable text
Ignore arm lengthScale to player reach

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

When to Use

Use when designing immersive locomotion, spatial interaction and comfort settings, or measuring frame times on a target headset.

Example

User request:

Use @vr-ar for this task: VR/AR development principles.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Verification

Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.

信息
分类 编程开发
名称 vr-ar
版本 v20261014
大小 3.56KB
更新时间 2026-10-16
语言