{
  "slug": "blender-game-optimization",
  "skill": "blender-game-optimization",
  "upstream": "EL4CTEO/blender-skills@71d031dab8bc6729504d11a78cbe91945401045f",
  "upstreamSha": "71d031dab8bc6729504d11a78cbe91945401045f",
  "date": "2026-11-03",
  "engine": "Blender 5.2.3 LTS",
  "env": [
    "Node v22.23.4",
    "Blender 5.2.3 LTS (linux x64), background mode, --factory-startup",
    "Python 3 test driver, stdlib only",
    "Workbench renderer for the screenshot"
  ],
  "trigger": "static",
  "passed": 35,
  "total": 35,
  "commands": [
    "(cd examples && env BLENDER={blender} python3 tests/run_tests.py)",
    "(cd examples && env BLENDER={blender} python3 tests/dense_to_budget.py)",
    "(cd examples && env BLENDER={blender} bash tests/run_all_and_shot.sh ../screenshot.png)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Optimize Blender assets for real-time engines - triangle/material/texture/bone budgets per platform (mobile, Roblox, web"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My Blender prop is too heavy for mobile, check it against a triangle budget\"",
      "pass": true,
      "detail": "rank 1/121, overlap 6"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Generate LOD1 to LOD3 for this mesh in Blender before export\"",
      "pass": true,
      "detail": "rank 1/121, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"How many draw calls and how much texture memory will this asset cost\"",
      "pass": true,
      "detail": "rank 1/121, overlap 6"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"This AI-generated asset is too heavy, decimate it to a 20k triangle budget before export\"",
      "pass": true,
      "detail": "rank 1/121, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write a GLSL dissolve shader\"",
      "pass": true,
      "detail": "rank 15/121, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Set up ENet multiplayer in Godot\"",
      "pass": true,
      "detail": "rank 29/121, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: mesh_stats reports the prop",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: draw calls follow material slots",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: texture VRAM matches the skill's table",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: mobile budget flags the prop",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: web budget",
      "pass": true,
      "detail": "prop over only on materials"
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: character detected from the armature",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: character web budget",
      "pass": true,
      "detail": "no bones item"
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: modifiers are evaluated before counting",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: LOD chain halves triangles",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: LODs are hidden, named, and keep materials and bounds",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: unapplied modifiers are baked into the LODs",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: custom ratios",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: missing object fails cleanly",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "mesh_stats.py and make_lods.py run as shipped: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: mesh_stats",
      "pass": true,
      "detail": "the generated rock has over 1M triangles and fails the web budget on tris"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: make_lods",
      "pass": true,
      "detail": "one ratio takes it to the 20k budget (over 98% of triangles removed)"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: shape kept",
      "pass": true,
      "detail": "bounds within 1% of the diagonal"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: shape kept",
      "pass": true,
      "detail": "mean surface distance under 0.2% of the diagonal"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: shape kept",
      "pass": true,
      "detail": "worst sampled point under 1.5% of the diagonal"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: still closed",
      "pass": true,
      "detail": "no open edges after decimation"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: failure caught",
      "pass": true,
      "detail": "an unwelded triangle soup decimated without --cleanup breaks (holes: open edges and the surface drifts over 1%)"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: fix",
      "pass": true,
      "detail": "--cleanup welds the soup first, then it lands in budget, keeps its shape and stays closed"
    },
    {
      "criterion": "runs",
      "name": "AI-style dense mesh: 1.3M-triangle generated rock to a 20k budget, and the triangle-soup failure: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "output",
      "name": "screenshot screenshot.png rendered",
      "pass": true
    },
    {
      "criterion": "output",
      "name": "self-check list has at least 3 items",
      "pass": true,
      "detail": "5 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "One job: getting Blender assets under a real-time budget (measure, clean, reduce, LODs, draw calls, texture memory). Export settings and QA are handed to blender-export-pipelines and blender-asset-qa, so no split or merge is needed."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1536 chars"
    }
  ]
}
