reference-look-calibration — скилл для Claude Code: подгонка рендера
Скилл сравнивает превью продукта с исходным изображением по метрикам цвета, яркости и маски и правит материалы, свет и кадрирование в Blender.
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a claude-codeЧто делает reference-look-calibration
Скилл включается на финальном этапе, когда геометрия и UV уже зафиксированы. Он берёт референсные изображения, превью продукта и отчёты о совпадении, а затем считает измеримые метрики: IoU маски объекта и её границ, IoU маски по заданной полосе оттенков для свечения и акцентов, среднее и стандартное отклонение HSV и BGR под маской, яркость по p95 и среднему, среднюю насыщенность и дрейф оттенка. Всё это делает scripts/look_fit_report.py.
Правки идут строго по порядку: сначала кадрирование камеры и ортографический масштаб, потом темнота мира и фона, затем базовый материал по оттенку, значению и насыщенности, после — сила эмиссии и цвет свечения, кольцо ауры или HUD, и только в конце управление цветом, экспозиция и гамма. Такой порядок нужен потому, что подгонять свет до совпадения силуэта бессмысленно.
Работает скилл через MCP-сервер Blender: в списке инструментов есть вызовы кода, сводки по сцене и объектам, рендер вьюпорта в файл и поиск по документации API. Перед первым обращением к Blender нужно прочитать ../text-to-blender/references/mcp-backends.md и дальше держаться выбранного бэкенда до конца задачи. На вход подаются validation/multiview_fit_report*.json и превью продукта, на выходе — validation/look_fit_report.json, оверлеи и обновлённые настройки материалов, света и рендера.
Какие задачи решает
- сравнить превью продукта с референсом по измеримым метрикам
- понять, почему рендер вышел пересвеченным или недонасыщенным
- подогнать оттенок свечения и акцентов под исходное изображение
- выровнять границы силуэта через кадрирование камеры до правки цвета
- зафиксировать метрики до и после калибровки в отчёте
Примеры запросов агенту
- прогони look_fit_report.py и покажи, где превью расходится с референсом по яркости
- силуэт не совпадает — поправь ортографический масштаб камеры, цвет пока не трогай
- свечение ушло в другой оттенок, подгони эмиссию под референс
Как установить reference-look-calibration
1Через Skills CLI (Vercel)
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a claude-code2Вручную: положить файлы
~/.claude/skills/reference-look-calibration/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/reference-look-calibration/
1Через Skills CLI (Vercel)
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a codex2Вручную: положить файлы
.agents/skills/reference-look-calibration/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a cursor2Вручную: положить файлы
.cursor/skills/reference-look-calibration/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install RobLe3/cc-blender-skill reference-look-calibration2Вручную: положить файлы
.github/skills/reference-look-calibration/SKILL.md1Через Skills CLI (Vercel)
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a gemini-cli2Командой платформы
gemini skills install https://github.com/RobLe3/cc-blender-skill --path plugin/skills/reference-look-calibrationВручную: положить файлы
.devin/skills/reference-look-calibration/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора23
Похожие
Рядом в теме «Геймдев и 3D: Unity, Unreal, Godot, Blender»
Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →Вопросы о reference-look-calibration
Как установить reference-look-calibration в Claude?
Выполните npx skills add RobLe3/cc-blender-skill --skill reference-look-calibration -a claude-code. Скилл окажется в ~/.claude/skills/reference-look-calibration/SKILL.md.
Что делает reference-look-calibration?
Сравнивает рендер продукта с исходным изображением по метрикам цвета, яркости, насыщенности и маски, а потом правит материалы, свет, кадрирование камеры и управление цветом в Blender.
Когда скилл вообще стоит запускать?
Только после того, как геометрия и UV прошли проверку. Он не исправляет неправильную форму или развёртку, а прятать расхождения геометрии свечением и пересветом он не станет.
Исходный текст
SKILL.md · MIT
--- name: reference-look-calibration description: Calibrate Blender materials, lighting, camera crop, emission/glow, color management, and aura/HUD styling against supplied original/reference images using measurable color, brightness, saturation, bbox, and mask statistics. Use when a product must match the lighting/look of a source image or when audits say the product is too bright, desaturated, wrong hue, wrong glow, or wrong silhouette extent. allowed-tools: Read Bash Glob Grep mcp__blender__execute_blender_code mcp__blender__get_scene_info mcp__blender__get_object_info mcp__blender__get_objects_summary mcp__blender__get_object_detail_summary mcp__blender__render_viewport_to_path mcp__blender__search_api_docs mcp__blender_official__execute_blender_code mcp__blender_official__get_objects_summary mcp__blender_official__get_object_detail_summary mcp__blender_official__render_viewport_to_path mcp__blender_official__search_api_docs --- ## MCP backend Use when: Reference-based look-dev, lighting/material/color calibration, original-image visual matching, glow/aura/HUD matching, HSV/brightness/mask fit reports, final look pass after geometry and UV are locked. Before the first Blender call, read [../text-to-blender/references/mcp-backends.md](../text-to-blender/references/mcp-backends.md). Prefer official MCP for shared capabilities; preserve the selected backend for the whole task. Tool names in recipes are client/legacy examples: map them through that reference and its agent-host guide. # Reference Look Calibration This skill handles the final visual match after geometry and UVs are locked. It must not compensate for wrong shape, wrong UVs, or wrong camera framing. ## Inputs - accepted geometry / UV fit reports; - reference/original image(s); - product preview render(s); - optional mask overlays and multiview fit reports. ## Metrics Use `scripts/look_fit_report.py` to compare: - object/bright-mask IoU and bbox extent; - configured hue-band mask IoU for glow/accent assets; - mean/std HSV and BGR under object mask; - brightness p95 / mean; - saturation mean; - hue drift. ## Calibration order 1. Camera crop / orthographic scale — object extent must match before color tuning. 2. World/background darkness. 3. Base material hue/value/saturation. 4. Emission strength and glow color. 5. Aura/HUD ring color and thickness. 6. Color management / exposure / gamma. 7. Final render overlay and metrics. ## Hard rules - Do not tune lighting before geometry/UV fit gates pass. - Do not change accent/glow hue away from the source reference unless the user explicitly asks. - Do not hide mismatched geometry with bloom, fog, or overexposure. - Write look metrics before and after calibration. ## Handoff Consumes `validation/multiview_fit_report*.json` and product previews. Produces `validation/look_fit_report.json`, look overlays, and updated material/light/render settings.
© RobLe3 · MIT · RobLe3/cc-blender-skill