diff --git a/README.md b/README.md index 66dcd3e..27cf375 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ - [主题与 LUT 库的 FCP 验收](verification/HostThemeLUT.json) - [早期调色链的 FCP 验收](verification/Host.json) -当前版本为 1.1.2(11),源码标签 `v1.1.2-group-fold-20261031`。所有调色分组统一为展开即启用、折叠即停用;新建实例与全部还原只展开基础调节。折叠保留参数和 LUT 路径,重新展开继续使用;打开已保存的调色时按各组实际启用状态展开。基础调节同时控制其光影、白平衡与颜色子组。 +当前版本为 1.1.3(12),源码标签 `v1.1.3-async-lut-20261101`。所有调色分组统一为展开即启用、折叠即停用;新建实例与全部还原只展开基础调节。折叠保留参数和 LUT 路径,重新展开继续使用;打开已保存的调色时按各组实际启用状态展开。基础调节同时控制其光影、白平衡与颜色子组。 程序图标与 FCP 缩略图采用统一的光谱鱼。两张原始生成图及提示词保存在 `design/`;运行 `python3 tools/build_brand_assets.py` 使用 macOS 工具导出 ICNS、640×360 与 240×135 的效果预览。 @@ -31,3 +31,5 @@ `tools/create_lut_host_fixture.py` 可重建独立 FCP 验收 XML 和四个合成测试 LUT;它只写产品缓存,不会向用户库自动导入。LUT 核心检查见 `verification/LUTLibrary.json`,主题与浏览库实现说明见 `research/ThemeLUT-analysis.md`。 `tools/create_group_fold_host_fixture.py` 可创建独立的合成验收时间线,用于检查新实例仅基础调节默认启用、分组展开/折叠与数值保留。风格 LUT 总组停用会旁路全部五层;停用的输入或风格 LUT 不加载其文件。 + +LUT 文件夹扫描、逐项校验/复制和选择文件后的解析均在后台执行;导入期间可继续搜索、滚动和选择,刷新按钮临时变为“取消”。失败或取消会移除本次新复制的文件并保留既有库。目录与缩略图只为可见范围创建控件,预览逐项出现;快速切换时仅应用最后一次选择。24个65级合成LUT与3,025项库的响应测试见 [LUTResponsiveness.json](verification/LUTResponsiveness.json)。 diff --git a/tools/create_async_lut_host_fixture.py b/tools/create_async_lut_host_fixture.py new file mode 100644 index 0000000..046ea4b --- /dev/null +++ b/tools/create_async_lut_host_fixture.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 +"""Create synthetic large LUTs for formal FCP responsiveness acceptance only.""" +from pathlib import Path +import hashlib,json + +root=Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/LUT后台加载验收') +root.mkdir(parents=True,exist_ok=True) +manifest=root/'manifest.json' +if any(root.iterdir()) and not manifest.exists(): + raise RuntimeError('Refusing to replace an unrecognized fixture directory') +entries=[] +for i in range(24): + r,b=(1.12,.85) if i==22 else (.88,1.10) if i==23 else (1,1) + name=('暖调' if i==22 else '冷调' if i==23 else '中性')+f'-{i:02d}.cube' + path=root/name + if not path.exists(): + header='TITLE "Dayu authored asynchronous LUT fixture"\nLUT_3D_SIZE 65\n' + with path.open('w') as file: + file.write(header) + for z in range(65): + for y in range(65): + for x in range(65): + file.write(f'{x/64*r:.7f} {y/64:.7f} {z/64*b:.7f}\n') + entries.append({'path':str(path),'sha256':hashlib.sha256(path.read_bytes()).hexdigest()}) +manifest.write_text(json.dumps({'authoredSyntheticFixture':True,'cubeDimension':65,'files':entries},ensure_ascii=False,indent=2)+'\n') +print(json.dumps({'folder':str(root),'files':len(entries)},ensure_ascii=False))