整理glTF相对URI、大小写和ZIP资源清单
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json


本课实际输入字段
| resource | relative_uri | zip_entry | required | identity |
|---|---|---|---|---|
| model | model.gltf | model.gltf | True | author source |
| buffer | mesh.bin | mesh.bin | True | author generated bytes |
| image | textures/basecolor.png | textures/basecolor.png | True | author texture |


检查大小写与编码
reference.csv:作者验收映射,不是目标API回包
| item | expected | identity |
|---|---|---|
| 相对路径 | 移动目录后仍解析 | author_acceptance_reference |
| 大小写 | basecolor.png精确一致 | author_acceptance_reference |
| 完整性 | 每个真实文件记录SHA/字节数 | author_acceptance_reference |
实际原生GLB读回
{
"measurements": {},
"files": [
{
"file": "author-control.glb",
"bytes": 67756,
"extensionsUsed": [],
"animations": 0
}
]
}应当保留的约束
| item | expected | identity |
|---|---|---|
| 相对路径 | 移动目录后仍解析 | author_acceptance_reference |
| 大小写 | basecolor.png精确一致 | author_acceptance_reference |
| 完整性 | 每个真实文件记录SHA/字节数 | author_acceptance_reference |
故意构造的错误样例
| case | bad_value | why_reject |
|---|---|---|
| 大小写 | textures/BaseColor.png | Linux可能404 |
| 绝对路径 | /Users/example/basecolor.png | 不可移植且泄漏路径 |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。