将粗糙度放绿金属度放蓝,重载核对通道没有交换
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json


本课实际输入字段
| material | ao_r | roughness_g | metallic_b | color_space |
|---|---|---|---|---|
| ceramic | 255 | 190 | 0 | linear data |
| metal-ring | 255 | 55 | 255 | linear data |
| rubber-base | 220 | 245 | 0 | linear data |


打包RGB
reference.csv:作者验收映射,不是目标API回包
| item | expected | identity |
|---|---|---|
| ORM | R=AO,G=Roughness,B=Metallic | author_acceptance_reference |
| 金属圈 | B高,G低 | author_acceptance_reference |
| 橡胶底 | B为0,G高 | author_acceptance_reference |
实际原生GLB读回
{
"measurements": {
"orm": {
"R": "AO",
"G": "Roughness",
"B": "Metallic"
}
},
"files": [
{
"file": "author-control.glb",
"bytes": 68624,
"extensionsUsed": [],
"animations": 0
}
]
}应当保留的约束
| item | expected | identity |
|---|---|---|
| ORM | R=AO,G=Roughness,B=Metallic | author_acceptance_reference |
| 金属圈 | B高,G低 | author_acceptance_reference |
| 橡胶底 | B为0,G高 | author_acceptance_reference |
故意构造的错误样例
| case | bad_value | why_reject |
|---|---|---|
| 通道反 | G金属B粗糙 | 高光身份互换 |
| 伽马错 | ORM按sRGB读取 | 数值偏移 |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。