feat(hero): 首屏全幅 3D 场景 Phase 0——三镜头分镜 + CC0 机柜 + R22/R26 判据
场景(ADR-0016): - hero-scene.tsx:three 0.187 全幅场景,三机位分镜(走廊 16s / 俯视阵列 13s / 柜排斜看 13s),镜头间压黑 420ms,一轮 43.26s;`reduced-motion` 定格、 `<1024px` 不挂载、离屏与切后台即停、WebGL 失败静默回落 E 案 - 资产:Grab3D《Server Rack》light(CC0 1.0,随包许可已落盘;14,851 面 / 954KB), 近景 16 台/排按 primitive 建 InstancedMesh 替换灰盒,灰盒保留为兜底 - 文案:hero-scenes.ts 单一真源 + 场景角标(切镜事件驱动、aria-hidden、未登记 id 不置空) 判据: - R22 第三态:零影像 → 视觉层登记制(载体白名单 / 出处 / 海报存在性 / 表过期 / 登记与扫描面一致),七向自证;登记 ≠ 整页通行证,未批准载体仍判红 - 新增 R26:首屏 3D 场景契约(周期 [20s,60s] / 必须有 prefers-reduced-motion / IntersectionObserver + visibilitychange / 禁 autoRotate),三向自证 + 突变验证 (ms 16000→46000 ⇒ 73260ms ⇒ 违规 1,还原后 0) 工程: - 视觉基线对场景区 mask(页脚先例同款理由);flag 关时零匹配,实测 5 passed / 0 重采 - 海报帧 20KB 纯画布(canvas.toDataURL + 抓图模式),兼作 LCP 与降级 - 修 WebGL 失败时为未捕获 rejection 的缺口(此前只有 import 在 try 里) 读数:对比度 6 相位取最坏 5.04:1(AA 通过);tsc / eslint / check:grammar / --selftest / jest 28 例全绿。性能:headless 走 SwiftShader,真机帧率待复测(ADR §14.5)。
This commit is contained in:
1 parent
75ab3bdc2c
commit
a571e0bebd
26 files changed
+2059
-57
No files matched your search
@@ -0,0 +1,14 @@
|
||||
CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
||||
|
||||
To the extent possible under law, Grab3D has waived all copyright and related or neighboring rights to the
|
||||
3D models, textures and images in this package. This work is published from: Germany.
|
||||
|
||||
https://creativecommons.org/publicdomain/zero/1.0/legalcode
|
||||
|
||||
Origin / AI disclosure
|
||||
----------------------
|
||||
Method: procedural (no AI-generated geometry or textures, AI-assisted code)
|
||||
Built procedurally with Blender scripts. The scripts were written with the help of an AI coding assistant. No
|
||||
generative AI model produced the geometry or textures directly.
|
||||
If your platform asks whether AI was used in the creation process, note that the generator scripts were
|
||||
written with an AI coding assistant.
|
||||
Binary file not shown.
Reference in new issue
Block a user