fix: keep styled numeric fields editable and preserve theme LUT QA fixtures
这个提交包含在:
1 父节点
dde98c8836
当前提交
c8d92077e5
5 个文件已更改
+39
-4
没有与搜索条件相匹配的文件
@@ -10,8 +10,12 @@
|
||||
- [正式安装记录](verification/Delivery.json)
|
||||
- [FCP 实际验收记录](verification/Host.json)
|
||||
|
||||
交付版为 1.0.0(2),源码标签 `v1.0.0-build2-20261031`。已完成 Developer ID 签名、公证、票据、唯一正式路径安装,以及 FCP 参数保存重开和 ProRes 导出验证。界面采用大鱼布局,系统吸管和文件选择替代原版的 Viewer 吸管、缩略图浏览库;主题切换未复刻。
|
||||
主题与 LUT 浏览库版本为 1.1.0(6),源码标签 `v1.1.0-theme-lut-20261031`。灰、蓝、紫、绿、橙五套主题采用原版完整配色和分组样式,切换后跨实例记忆。风格 LUT 左侧网格按钮打开缩略图浏览器,右侧文件夹按钮打开 `~/Movies/大鱼调色LUT/look LUTs`。可导入文件或目录,按目录与名称过滤,单击应用,缩略图大小与目录会保存。
|
||||
|
||||
缩略图使用当前素材先经过输入 LUT 的画面;没有源帧时显示本产品生成的色卡。显示方向与宿主图像原点一致,自动分析保留自己的原始数据。浏览器优先采用 FxPlug 宿主窗口,不能使用时回退为锚定弹出面板。品牌保留大鱼,吸管仍为系统取色器。
|
||||
|
||||
`大鱼调色/Plugin` 保存模型、AppKit 检查器、IOSurface/Metal 渲染与 CPU 查表;`tools/kernels` 保存可重建的 GPU 数学文本;`template` 是 FCP 效果入口。正式构建不读取 LumiGrade 应用。Compositor 数学表的 MIT 许可随资源保留。
|
||||
|
||||
选择自有 LUT 后,预设记录其绝对路径;跨机器搬移时同时保留 LUT 文件并重新选择。LUT 导出只保存逐像素颜色,不包含纹理、清晰度或逐画面分析。
|
||||
|
||||
`tools/create_lut_host_fixture.py` 可重建独立 FCP 验收 XML 和四个合成测试 LUT;它只写产品缓存,不会向用户库自动导入。LUT 核心检查见 `verification/LUTLibrary.json`,原版主题与浏览行为证据见 `research/ThemeLUT-analysis.md`。
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Recreate the authored LUT/browser QA inputs without touching the user library."""
|
||||
from pathlib import Path
|
||||
import runpy
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
root = Path(__file__).resolve().parent.parent
|
||||
runpy.run_path(str(root / 'tools/create_host_fixture.py'))
|
||||
qa = Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa')
|
||||
source = qa / 'LUT浏览库验收素材'
|
||||
styles = {'暖色/暖调.cube': (1.12, 1, .85), '暖色/柔和.cube': (.92, .96, 1.04),
|
||||
'冷色/冷调.cube': (.82, 1.01, 1.16), '冷色/中性.cube': (1, 1, 1)}
|
||||
for name, gain in styles.items():
|
||||
path = source / name
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
lines = ['TITLE "Dayu Synthetic QA"', 'LUT_3D_SIZE 2',
|
||||
'DOMAIN_MIN 0 0 0', 'DOMAIN_MAX 1 1 1']
|
||||
for b in (0, 1):
|
||||
for g in (0, 1):
|
||||
for r in (0, 1):
|
||||
lines.append(f'{r*gain[0]:.8f} {g*gain[1]:.8f} {b*gain[2]:.8f}')
|
||||
path.write_text('\n'.join(lines) + '\n')
|
||||
tree = ET.parse(qa / '大鱼调色_正式版验收.fcpxml')
|
||||
document = tree.getroot()
|
||||
document.find('.//event').set('name', '大鱼调色_主题LUT验收')
|
||||
document.find('.//project').set('name', '大鱼调色_主题与LUT浏览库验收')
|
||||
ET.indent(document)
|
||||
output = qa / '大鱼调色_主题与LUT浏览库验收.fcpxml'
|
||||
output.write_text('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE fcpxml>\n'
|
||||
+ ET.tostring(document, encoding='unicode') + '\n')
|
||||
print(output)
|
||||
@@ -556,7 +556,7 @@ static NSImage *DYWheelImage(void) {
|
||||
NSTextField *field=[[[NSTextField alloc] initWithFrame:NSZeroRect] autorelease];field.cell=[[[DYNumberFieldCell alloc]initTextCell:@"0"]autorelease];
|
||||
field.font=[NSFont monospacedDigitSystemFontOfSize:11 weight:NSFontWeightMedium];
|
||||
field.textColor=DYInk(); field.backgroundColor=DYThemeColor(@"field");
|
||||
field.bezeled=NO;field.bordered=NO;field.drawsBackground=NO;
|
||||
field.bezeled=NO;field.bordered=NO;field.drawsBackground=NO;field.editable=YES;field.selectable=YES;
|
||||
field.alignment=NSTextAlignmentCenter; field.target=self; field.action=@selector(scalarChanged:);
|
||||
field.tag=[pid integerValue]; field.accessibilityLabel=[d[@"title"] stringByAppendingString:@"数值"];
|
||||
[row addSubview:field]; record[@"field"]=field;
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>5</string>
|
||||
<string>6</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string></string>
|
||||
<key>PlugInKit</key>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>5</string>
|
||||
<string>6</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
在新工单中引用
屏蔽一个用户