协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
threejs-webxr【开发与工程】WebXR integration for three.js: WebXRManager and XRManager on the renderer, session initialization patterns, VRButton and ARButton helpers, XRControllerModelFactory and hand model families, XREstimatedLight, XRPlanes, and related addon Webxr utilities. Use for immersive sessions and controller/hand tracking—not for standard desktop camera projection …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
ALWAYS use this skill when the user mentions:
navigator.xr, reference spaces, session requestAnimationFrame loop via rendererVRButton, ARButton, XRButton creation patterns from examplesIMPORTANT: webxr vs renderers vs camera
| Topic | Skill |
|---|---|
| Enable XR on renderer, sizing | threejs-renderers (basics) + threejs-webxr (session) |
| Desktop projection | threejs-camera |
Trigger phrases include:
renderer.xr.enabled = true patterns per docs; prefer setAnimationLoop for XR loops.XREstimatedLight for AR realism—combine with threejs-lights cautiously.See examples/workflow-xr-button.md.
| Docs section | Representative links |
|---|---|
| Renderer XR | https://threejs.org/docs/WebXRManager.html |
| Webxr addons | https://threejs.org/docs/VRButton.html |
| Webxr addons | https://threejs.org/docs/ARButton.html |
| Webxr addons | https://threejs.org/docs/XRControllerModelFactory.html |
WebXR entry points span Addons → Webxr and renderer WebXRManager in three.js docs. Browser and device capabilities vary—answers should cite the official example name and three.js version when possible.
When answering under this skill, prefer responses that:
WebXRManager, VRButton, ARButton, or controller factories as relevant.setAnimationLoop patterns with threejs-renderers for XR render loops.English: webxr, vr, ar, xr session, controller, hand tracking, three.js
中文: WebXR、VR、AR、VRButton、手柄、手部追踪、沉浸式、three.js