Commit Graph
32 Commits
Author SHA1 Message Date
ud18010andClaude Opus 4.8 eed388770b ModelTranslator: 高低模烘焙 Blender 主流程(NORMAL/AO + EMIT trick)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 10:47:24 +08:00
ud18010 7c3b86a995 ModelTranslator: 烘焙射线距离/命名/包围盒校验纯逻辑(TDD) 2026-07-16 10:44:33 +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
ud18010 da935926c7 ModelTranslator: 共享 Blender 运行器 mt_run.py 2026-07-16 10:32:55 +08:00
ud18010andClaude Opus 4.8 0b29b5edae ModelTranslator: 减面/烘焙工具实现计划
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 10:30:17 +08:00
ud18010andClaude Opus 4.8 ffde55bf9a ModelTranslator: 减面+高低模烘焙工具设计文档
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 10:23:13 +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
ud18010andClaude Opus 4.8 ea93b3b217 XShader: 运行时环境光仅在全局开启后覆盖 bakedGI,编辑器保留场景 SH
修复编辑器预览中 XPbr/XTex/XTerrain 比 URP Lit 亮的问题:
旧写法无条件把 bakedGI 覆盖成 SampleXRuntimeAmbient,未运行 Game.cs 时
退回硬编码的高强度三色环境光(sky≈1.45),远亮于场景真实环境光探针。
现改为 _XRuntimeAmbientEnabled 开启后才覆盖,运行时行为不变。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 20:27:08 +08:00
ud18010andClaude Opus 4.8 a405333bf7 ModelTranslator: 菜单集成计划勾选完成(Unity 手动验证通过)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 20:24:59 +08:00
ud18010andClaude Opus 4.8 dd28cf8176 ModelTranslator: 菜单脚本 .meta
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 19:57:14 +08:00
ud18010andClaude Opus 4.8 18b40d1f67 ModelTranslator: 菜单转换取消时用 taskkill 杀进程树,python -u 实时输出
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 19:55:20 +08:00
ud18010andClaude Opus 4.8 3a17c96220 ModelTranslator: Unity 菜单集成(XWorld/模型转换(XPbr))
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 19:47:20 +08:00
ud18010andClaude Opus 4.8 2ddcda6dc8 ModelTranslator: Unity 菜单集成设计文档
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 19:35:46 +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
ud18010 f742f40169 XPbr: remap sphere-map normal decode to signed range for ModelTranslator 2026-07-15 10:53:12 +08:00
ud18010andClaude Opus 4.8 005cc8f699 Add ModelTranslator implementation plan
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:50:05 +08:00
ud18010andClaude Opus 4.8 609788fe00 Add ModelTranslator tool design spec
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:43:01 +08:00
ud18010andClaude Opus 4.8 c29c6f5bac Add XPbr shader: base map (RGB albedo + A alpha/AO) + mix map (RG normal, B metallic, A roughness)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:23:46 +08:00
ud18010andClaude Opus 4.8 452e212d92 Add XPbr shader design spec
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:16:36 +08:00
ud18010andCursor a39ceebb97 Clean generated Client build artifacts
Keep nested HotUpdateGames bin and obj outputs out of source control so local builds do not dirty the repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 11:55:56 +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