roble3/cc-blender-skill

reference-analysis-validator

Measure and validate supplied reference images, wireframes, texture atlases, and Blender renders before declaring a reconstruction 1:1.

Ver código-fonte

Como usar

  1. Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
  2. Consulte no original as ferramentas, credenciais e ambientes necessários.
  3. Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/roble3/cc-blender-skill --skill reference-analysis-validator

Antes de começar

  • A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
  • Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

MCP backend

Use when: Any 1:1 reference/model validation task involving masks, overlays, part counts, centroids, bounding boxes, SSIM/IoU, source manifests, or fail-before-export gates.

Before the first Blender call, read ../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 Analysis Validator

This skill converts “looks close” into measurable gates. For brand/logo/mascot work, do not model or export until a source manifest and validation thresholds exist.

Required outputs

Create these in the asset output folder:

  • reference_manifest.json — classified source files, expected parts, thresholds.
  • source_analysis/*.json — image metadata, masks/components/landmarks.
  • validation/front_overlay_reference.png — reference and render overlay.
  • validation/front_mask_validation.json — IoU/SSIM/bbox/centroid report.

Workflow

  1. Classify sources: front, side, back, top, texture atlas, decals, maps, lightmap, aura/context.
  2. Build/refresh reference_manifest.json with hard expected counts and view roles.
  3. Extract masks/components from each source using scripts/reference_manifest_compiler.py or existing analyzers.
  4. Render model from matching orthographic camera with reference planes hidden.
  5. Compare reference mask vs render mask using scripts/render_overlay_validator.py.
  6. Refuse final export if hard gates fail.

Modality rule

Compare like with like. A wireframe edge mask compared against a shaded beauty render gives misleadingly low IoU. For hard gates, render a flat silhouette/matte pass from Blender or compare reference edges to render edges. Use render_overlay_validator.py --reference-mode ... --render-mode ... when the source and render need different mask extraction modes.

Default validation gates

  • primary structural part count: exact.
  • front silhouette IoU: target >= 0.90 for rigid/logotype shapes; >= 0.82 acceptable for first mascot reconstruction pass.
  • bbox center drift: <= 12 px at 1024 px validation size.
  • bbox size drift: <= 3% of image dimension.
  • face/eye/smile landmark drift: <= 2% of image dimension when landmarks are defined.

Failure policy

If a repeated mismatch occurs, record the measured failure, then route to the missing specialty skill:

  • wrong silhouette → contour-to-mesh
  • wrong depth/side/back → orthographic-registration
  • wrong textures → atlas-uv-fitting
  • wrong whole workflow → mascot-logo-reconstruction

Read when needed

  • references/metrics-and-thresholds.md for metric definitions and recommended gates.

Sources distilled

Official/library docs to prefer while extending this skill:

  • OpenCV contour features: moments, area, perimeter, bounding rectangles.
  • OpenCV shape matching / Hu moments.
  • OpenCV homography and geometric transforms.
  • scikit-image SSIM for perceptual comparison.

Relacionados por tarefa

do mesmo repositório

Mais Skills

Todos os Skills
roble3
Comunidade

blender-modeling

Create and edit 3D meshes in Blender — primitives, hard-surface modeling, mesh operators, modifier stacks (Bevel, Subdivision, Boolean, Mirror, Array, Solidify), bmesh-level edits, retopology basics. Use whenever the user asks to "make/model/create/build a 3D object", "shape/sculpt this", "add a cube/sphere/cylinder/etc.", "extrude/inset/bevel this face", "add a modifier", or any geometry-creation request that isn't a wireframe trace. Make sure to use this skill even if the user does not say "mo

instalações
2
GitHub Stars
116
Atualizado
12 de out.
roble3
Comunidade

blender-cameras

Set up Blender cameras with cinematic intent — focal length, depth of field (f-stop / focus object), composition (rule of thirds, leading lines), animated cameras (orbit, dolly, push-in), tracking constraints. Use whenever the user asks to "set up the camera", "frame the shot", "make it look cinematic / hero / portrait / wide-angle / telephoto", "add depth of field", "orbit the camera", or any composition/framing request. Make sure to use this skill even if the user does not say "camera" — also

instalações
2
GitHub Stars
109
Atualizado
12 de out.
roble3
Comunidade

blender-lighting

Light Blender scenes professionally — three-point setups, HDRI environments, studio/cinematic/dramatic configurations, light groups, color temperature, soft vs hard shadows. Use whenever the user asks to "light the scene", "set up lighting", "make it look cinematic / dramatic / studio / outdoor / sunset", "add a key light", "use HDRI", or any lighting-related request. Make sure to use this skill even if the user does not say "light" — also covers "make it look professional", "studio shot", "mood

instalações
2
GitHub Stars
109
Atualizado
12 de out.
roble3
Comunidade

blender-pro-workflow

End-to-end production workflow guidance for Blender — the order to assemble scenes (block-out → camera → light → forms → materials → detail → render → composite → export), critique protocols, time budgets, and recovery patterns. Use whenever the user asks to "make a complete scene / hero shot / production-quality render", "what's the right order to do this", "set up a full pipeline", or has a multi-step request crossing modeling + lighting + materials + rendering. Make sure to use this skill for

instalações
2
GitHub Stars
109
Atualizado
12 de out.