Commit Graph
30 Commits
Author SHA1 Message Date
ud18010andClaude Opus 4.8 c4c7ab0e23 ModelTranslator: extend seam angle sweep to 15deg for QR smooth meshes
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 20:30:03 +08:00
ud18010andClaude Opus 4.8 5fda5d6bef ModelTranslator: quad backend precollapse + fill-holes + keep-quads
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 15:00:46 +08:00
ud18010andClaude Opus 4.8 eb92ecacfa ModelTranslator: document reducer default divergence (CLI quad vs bl_decimate collapse)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:14:31 +08:00
ud18010andClaude Opus 4.8 0481f10b8c ModelTranslator: QR watertightness gate + quad default
根因(真机排查):QuadRemesher 引擎在激进减面下非确定性地从封闭流形
输入打出孔洞/非流形边(实测同一输入约 85% 次数破碎),即"破碎面"。

修复:QR 导回后比对输入拓扑,若比输入新增开边(孔洞)/非流形边即判破损、
弃用 QR 回退 collapse(topology_acceptable 纯策略+单测;_edge_defects 计数)。
顺带修复水密门在导入后拒绝时未恢复 obj 选中态,导致 collapse 回退时
export use_selection 选不到对象、只导出 4KB 空 FBX 的 bug。

含用户改动:--reducer 默认改为 quad(配合水密门,破碎自动回退,安全),
及其 CLI 默认值测试。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:10:45 +08:00
ud18010andClaude Opus 4.8 44060ac3cb ModelTranslator: polish QR backend (docstring, gitignore out_*, progress tests)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 17:32:42 +08:00
ud18010andClaude Opus 4.8 b8eb40f3e4 ModelTranslator: QR use ExactQuadCount, authoritative QR_ENGINE override
真机验证发现 ExactQuadCount=0 自适应在高细节硬表面模型上面数暴涨
(well1500 目标2500->11500 quads)并连带 seam 展开重叠爆炸;改用 exact=True
尊重目标数后 well1500 得 5940 面/591 UV岛(优于 collapse 745)。
find_qr_engine 改为权威覆盖:QR_ENGINE 无效即 None,不再静默自动发现,
使强制回退可测、覆盖契约成立。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 17:26:49 +08:00
ud18010andClaude Opus 4.8 687bc99aea ModelTranslator: harden QR fallback (cleanup-in-try, wait after kill, keep engine error)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 16:54:01 +08:00
ud18010andClaude Opus 4.8 be09397609 ModelTranslator: add QR quad remesh decimate backend with collapse fallback
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 16:46:54 +08:00
ud18010andClaude Opus 4.8 4f18c770c1 ModelTranslator: UVPM 弃用启发式(headless 随机崩引擎),只保留旋转15°
系统调试结论:UVPM heuristic 搜索在 headless 下随机崩溃引擎进程
(well1500 3/3、gargoyle 1/2),确定性差;旋转步进无辜。改为只用
rotation_step=15 稳定小提升(gargoyle 52.3→55.6%、well1500 +uvpm 稳定)。
移除 _uvpm_pack_once/重试与 UVPM_HEURISTIC_TIME。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 16:17:36 +08:00
ud18010andClaude Opus 4.8 d44a2fa997 ModelTranslator: _uvpm_repack 开启旋转(15°步进)+启发式搜索(10s上限)
探针确认属性名: rotation_enable/rotation_step/heuristic_enable/heuristic_search_time;
pack_op_type 保持 '0'。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 15:21:12 +08:00
ud18010andClaude Opus 4.8 7499358def ModelTranslator: 减面前 _clean_mesh 焊接重合点+去退化面
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 12:35:00 +08:00
ud18010andClaude Opus 4.8 97995306ac ModelTranslator: _do_unwrap 透传 overlap_tol,main 解析 argv 第5位
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 12:31:52 +08:00
ud18010andClaude Opus 4.8 b02877a2cf ModelTranslator: uv_gate_ok/pick_best_candidate 加 overlap_tol 参数
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 12:28:53 +08:00
ud18010andClaude Opus 4.8 1c9a7e1ed0 ModelTranslator: 终审 Minor——sidecar 用 finally 清理 + average_islands_scale 补捕 TypeError
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:54:25 +08:00
ud18010andClaude Opus 4.8 1b8656270d ModelTranslator: bl_decimate 抽取 UV 几何到 sidecar JSON
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:41:25 +08:00
ud18010andClaude Opus 4.8 8fe0a3f7ae ModelTranslator: _do_unwrap 文档诚实化 + smart 回退警告带指标(评审 Minor)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:35:43 +08:00
ud18010andClaude Opus 4.8 428a915b29 ModelTranslator: _do_unwrap 改角度扫描分级抢救,取过门且岛最少者
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:27:11 +08:00
ud18010andClaude Opus 4.8 9dc8854771 ModelTranslator: _unwrap_seam 注释润色(评审 Minor)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:24:30 +08:00
ud18010andClaude Opus 4.8 c23ab2508f ModelTranslator: _unwrap_seam 加松弛+纹素均衡,seam 角度参数化
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:19:06 +08:00
ud18010andClaude Opus 4.8 788122b271 ModelTranslator: 新增 pick_best_candidate——过门且岛数最少者择优
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 11:13:23 +08:00
ud18010 ba6f1127ea ModelTranslator: bl_decimate 删 none 展开模式——随 rizom 链退役 2026-07-20 14:23:27 +08:00
ud18010 d5b777b6b7 ModelTranslator: 展开路径接入 UVPM4 排布——保底+增强,失败回退内置 pack 2026-07-20 12:26:28 +08:00
ud18010 4e948ffc50 ModelTranslator: uvpm_mode_label——UVPM4 排布生效的 UV 模式标注 2026-07-20 12:20:58 +08:00
ud18010 24084a6675 ModelTranslator: 质量门抽纯函数 uv_gate_ok + 减面 none 模式(rizom 管线前置) 2026-07-17 16:23:14 +08:00
ud18010andClaude Opus 4.8 0ba883b8d0 ModelTranslator: UV 质量门拆分并校准——翻转 2% / 重叠 8%(well1500 seam 不再误回退)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 12:21:27 +08:00
ud18010andClaude Opus 4.8 4e27b9ae9b ModelTranslator: 减面 UV 改锐边 seam 展开(质量门回退 smart,--unwrap 可选)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 11:54:59 +08:00
ud18010 71416aa12a ModelTranslator: UV 岛数/翻转/利用率纯逻辑(TDD) 2026-07-16 11:51:45 +08:00
ud18010 cf237ffbf3 ModelTranslator: 审查修复——导出仅选中对象、常量通道日志、--tris 校验、超差警告 2026-07-16 11:05:19 +08:00
ud18010andClaude Opus 4.8 65b4c3fe8e ModelTranslator: FBX 减面工具 model_decimate(Decimate collapse + Smart UV 重展)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 10:39:16 +08:00
ud18010 8ede09f859 ModelTranslator: 减面 ratio/容差纯逻辑(TDD) 2026-07-16 10:36:01 +08:00