Commit Graph
66 Commits
Author SHA1 Message Date
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
ud18010 da935926c7 ModelTranslator: 共享 Blender 运行器 mt_run.py 2026-07-16 10:32:55 +08:00
ud18010andClaude Opus 4.8 c682ab4ebe ModelTranslator: 修复 base 贴图双重 sRGB 编码变亮(well10k 内嵌贴图案例)
实测 blender 5.0:Image.pixels 对 8-bit 图返回原始字节值(不做色彩变换),
sRGB PNG 读出已是编码值,再 linear->sRGB 就双重 gamma(均值 0.33->0.60)。
现仅对线性来源编码:float 图(EXR)与 Principled 常量色。
端到端验证:well10k 重转后 base 与源贴图平均差 0.0013。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 20:54:21 +08:00
ud18010andClaude Opus 4.8 60c83a3765 ModelTranslator: base 贴图写 PNG 前做 linear->sRGB 编码
Blender Image.pixels 对 sRGB 贴图返回线性值,直接写 Non-Color PNG 会偏暗;
现按 Unity sRGB 导入预期编码 RGB,alpha(AO/透明)保持原值。附单元测试。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 20:28:33 +08:00
ud18010 253f03273d ModelTranslator: support pure-mesh FBX via naming-convention texture discovery and auto material 2026-07-15 16:39:00 +08:00
ud18010 78b250355b ModelTranslator: support external-texture FBX (disk AO fallback search, missing-texture graceful degradation) 2026-07-15 12:16:24 +08:00
ud18010 0b068dbaa0 ModelTranslator: dedupe sanitized material names, set alphaIsTransparency for alpha-test textures 2026-07-15 12:00:50 +08:00
ud18010 073ae48a61 ModelTranslator: README and gitignore 2026-07-15 11:51:05 +08:00
ud18010 c99cb40108 ModelTranslator: CLI runner with Unity asset generation 2026-07-15 11:42:46 +08:00
ud18010 09adcdd96d ModelTranslator: reuse unity_assets.safe_name in bl_convert, hoist stdlib imports 2026-07-15 11:27:44 +08:00
ud18010 afe17c39e7 ModelTranslator: Blender conversion pipeline (import, classify, pack, export) 2026-07-15 11:14:43 +08:00
ud18010 7934ef957a ModelTranslator: sphere-map normal encode with round-trip test 2026-07-15 11:06:16 +08:00
ud18010 e8b3425db4 ModelTranslator: document Unity template version, harden guid_for against unreadable meta 2026-07-15 11:04:13 +08:00
ud18010 7c46c061b1 ModelTranslator: Unity asset templates (texture/material/model meta) with GUID reuse 2026-07-15 10:58:33 +08:00
ud18010andCursor 7e35d8da31 Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 10:24:29 +08:00