Scenario Blender Hair 标志

Scenario Blender Hair

组织
scenario-labs
scenario-blender-hair

适用于在 Blender 中使用毛发曲线梳理头发或毛皮,例如角色发型、动物毛皮、Geometry Nodes 中的程序化毛皮,或游戏中的毛发卡片和网格毛发。也涵盖 Essentials 毛发节点资产(Interpolate、Clump、Curl、Frizz、Noise、Trim)、密度蒙版、秃斑、分缝线、Cycles 或 EEVEE 中的发丝着色,以及梳理速度缓慢的问题。当毛发脚本在无界面模式下运行异常时也可使用,例如修改器输入未更新或曲线雕刻笔刷不起作用。

Add to TypingMind

概览

发布者scenario-labs
代码仓库skills
技能名称scenario-blender-hair
星标数
970
复刻数
114
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 scenario-labs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Scenario Blender Hair AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/blender/scenario-blender-hair
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/dcc/blender/scenario-blender-hair .claude/skills/scenario-blender-hair
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Scenario Blender Hair,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Scenario Blender Hair。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Scenario Blender Hair 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Hair and fur grooming (hair curves, Blender 5.2)

Expert grooming means a few evenly spaced guides that set direction and silhouette. Stacked, masked procedural layers add density, clumping, frizz, length variation and strays, judged in a lit render at full density and in pose. Write guides as data (no curve brush stroke can be scripted in 5.2.1) and make every look decision through the Essentials hair node-group assets. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-blender-expert (execution channel, review loop, 5.2 API changes).

Stance (the expert delta)

  • Guides get 2 points until every direction is right (Schmidbauer). More points make combing tangle and clip. Use 3 for short fur, 8 only for long hair. Bystedt resamples long human hair to 15 points before shaping.
  • Space guides evenly, and always mask Interpolate (Schmidbauer). Children spawn over the whole surface, and a child far from any guide "does whatever". Gaps turn into bald spots that grow under deformation.
  • Density is counted per square meter and must be huge. Radius drops with it (Thommes). Long fur uses 1,000,000/m² at about 0.2 mm radius. Work at a Viewport Amount of 4%.
  • Randomize per curve, not per point (Thommes). Give 80% of strands no frizz. Strays are 10% of curves with strong noise.
  • Trim with Replace Length off plus a Random Offset (Schmidbauer, Thommes). It is the cheapest realism gain. Mask it, or short-fur regions lose their guides and go bald.
  • Grow a human hairstyle on a separate hair cap split along the part (Bystedt): body topology stops mattering, interpolation stops crossing the part. The part still needs extra density and a lift.
  • Shape works the same way on every asset: 1 affects the tip only, 0 the whole strand, negative the roots. Use a negative Frizz Shape so curl and clump tips survive (Thommes, Bystedt).
  • Judge renders at full density, and in pose (Thommes, Schmidbauer). A harsh mesh deformation "looks ten times worse" in the hair.

Establish first

InputChangesDefault when the brief is silent
TargetCycles strands vs EEVEE or game cardsCycles strands (Principled Hair BSDF)
Subjecthuman hairstyle (hair cap, part) vs animal fur (body mesh, landmarks)follow the reference
Length classpoints per guide, clump and curl layersshort fur: 3 points, long: 8, long human: 15
Deformationanimated means Hair Dynamics (Animation) stays last, and you check in poseanimated
Budgetrender curves, card trianglessay the number: evaluated curves at full density
Referencesame subspecies, season, ideally the same individual (Schmidbauer)ask for it; draw landmarks and flow first

Finish topology and non-overlapping UVs before grooming (hair binds to UV space) and apply scale: density counts the mesh's local area (verified).

Workflow

TaskHeadlessLive session
Curves object, surface binding, guides as data, snap, subdivide or resample, asset modifiers, inputs, masks, counts, renders, cardsyes (scripts/bx_hair.py)yes, same code in Object Mode
Enter Sculpt Curves, activate the 11 curve brushes, set brush settings, sculpt_curves.select_randomn/ayes (bx_gui.activate_brush("SCULPT_CURVES", "Comb"))
Comb, Add, Density, Grow/Shrink, Pull Tips strokesnono. sculpt_curves.brush_stroke has no exec, so bx_gui.stroke("SCULPT_CURVES", ...) returns PASS_THROUGH and changes nothing. Set the brush up and ask the user to stroke, or use the substitutes below.
  1. Prepare the surface. H.uv_report(surface): stacked UVs make curves ignore the rig, UDIMs are fine, an unmerged mirror seam needs UV Merge by Distance (Schmidbauer). Humans: a hair cap split into islands along the part. Animals: separate the mouth interior. Masks: vertex groups (fast) or textures (detail on low-poly meshes). GATE: overlap_faces == 0, scale applied, one mask per region.
  2. Plan flow and objects. Turn the draw-over into regions (vertex groups) with one flow direction each. Schmidbauer: one curves object per landmark (face, cheeks, ears, neck, body, tail, feet) for performance. Thommes: one object with masks. Bystedt: split front and back where combing one disturbs the other. GATE: written list of regions, flows, objects.
  3. Guides. hair = H.new_groom(surface), P, N = H.sample_roots(surface, spacing, mask=...), H.add_guides(hair, P, N, length, points=2, flow=..., flow_blend=...) (snaps, writes surface_uv_coordinate). Later: H.subdivide_guides or H.resample_guides(hair, 15). Brush substitutes: a direction field for Comb, droop for gravity, delete and re-add guides for Density and Add; Bystedt's "grow long, comb, shrink back" is long guides plus Trim. GATE: in H.groom_report, roots_off_surface and spacing_gaps_2x are 0 and length_outliers is 0. A guides-only render shows every direction right.
  4. Density. Add Set Hair Curve Profile first, then Interpolate Hair Curves with a Density Mask. Bystedt paints 50% gray and 100% at the part, then remaps. The 5.2 Interpolate also takes a Mask Texture image. GATE: H.count(hair) (full density) is within budget, root_area_fraction is well under 0.5, and a render shows no bald spots.
  5. Procedural layers, each masked, A/B-tested by toggling show_viewport and rendering.
    • Long fur (Thommes, preset H.FUR_STACK_LONG, applied with H.build_stack): Noise, Curl, strays, Frizz with negative shape, Clump, Clump 2, final Frizz (Cumulative off), Trim, Rotate.
    • Animal (Schmidbauer): Trim, Clump (cheeks, Tip Spread, Clump Offset), low Frizz, each with its own vertex group.
    • Human (Bystedt): Noise on guides (Cumulative off, Offset per Curve on), Roll at the tip only, then per population Interpolate, Profile, Clump on the groomed guides; wide and thin layers need different seeds.
    • Per-curve randomness: H.random_curve_mask(hair, "frizz_mask", 0.8) then input "attr:frizz_mask"; root-to-tip ramps: H.along_curve_attr. GATE: each layer earns its place in an A/B render.
  6. Part and hairline (human). Leave Part by Mesh Islands on (default): in the test, 21% of children near the part crossed it with islands off and 0% with islands on. For the lift, H.distance_weights(cap, "part_lift", "part", radius, "bump") feeds Displace Hair Curves (Surface Normal on, small distance, Shape near 0, Factor attr:part_lift). GATE: in a top view there is no scalp gap at the part and the crown is not flat.
  7. Shading and render. Use H.hair_material(name, "CYCLES", melanin=(root, tip)) or "EEVEE" with explicit colors, then H.setup_render(scene, engine, close_up). GATE: H.review([surface, hair], out, engine) passes references/critique.md.
  8. Deformation. Key 2 or 3 extreme poses and render each frame from the same camera. GATE: no bald spots or clipping in any pose.
  9. Games: cards. Run H.add_cards(hair, width, material=H.card_material(...)), then convert a copy with object.convert(target='MESH') and export glTF. Put a textured hair cap under the cards. GATE: triangles within budget, UVs in the half tile for cards, roots on the scalp.

Numbers

ItemValueRelative to, source
Guide points2 while placing, 3 short fur, 8 long hairSchmidbauer [00:20:24], [00:21:34]
Long human hairresample to 15 pointsBystedt [00:08:38]
Add brush lengthabout 0.01 m for fur (default 0.3 m)Schmidbauer [00:17:59]
Density, human layer5,000 per m² per clump populationBystedt [00:17:28]
Density, long fur1,000,000/m², radius 0.2 mm, viewport 4%Thommes [00:09:02], [00:16:44]
Density mappart 1.0, base 0.5, bald 0; ramp black stop just above 0.5Bystedt [00:22:04], [00:23:46]
Wide clumpsShape about 0.3, reduced Factor, groomed guidesBystedt [00:19:47]
CurlRadius 2 cm, Curl Start 1, Random Offset 0.5, Guide Distance 1 cm, Guide Mask 0.2Thommes [00:12:04], [00:14:18]
Sub-clumpsGuide Distance 1 mm, Mask 0.1; layer 2: 4 mm, 0.25, Clump Offset 5 mmThommes [00:16:12], [00:31:01]
Frizz2 mm, negative Shape; final: -0.2, Cumulative off, on 20% of curvesThommes [00:15:04], [00:32:08], [00:26:03]
Strays10% of curves, Noise distance 5 mmThommes [00:30:28]
Trim, RotateReplace Length off, Random Offset 5 mm; Rotate random 5°Thommes [00:22:20]
Card subdivision1 per 20 cm of card lengthBystedt g_ZIOafq4QU [00:05:08]
Card and tube profilearc: 1 segment flat, 3 preferred; tube: flat spiral, resolution 6, 1 turn, height 0Matsumoto [00:19:54], [00:22:40]
Card UV widthcards use half the tile of tubesMatsumoto [00:31:27]
Coverage sanitydensity × π × radius²: 0.13 for Thommes' fur[added] check

Quality gates

In code:

python
import sys; sys.path.append("<skills>/scenario-blender-hair/scripts"); import bx_hair as H
print(H.uv_report(surface))                 # overlap_faces == 0
rep = H.groom_report(hair); print(H.verdict(rep))   # [] or a list of fixes
print(H.count(hair))                        # full-density curves and points vs budget
print(H.card_stats(hair))                   # cards: tris, UV range

groom_report checks attachment UVs, roots on the surface, spacing gaps, length dents (over 50% off neighbors), Hair Dynamics last, Trim Replace Length, unmasked Frizz or Noise, missing Density Mask, radius vs density, Strand display, and a Cycles hair shader under EEVEE.

Visually: H.review(objs, out, engine, views=("front", "threequarter", "top")) renders a lit full-density sheet with Thommes' rig (warm top fill, side key, cool rim, dark bluish world). Score it with references/critique.md: bald spots, part coverage, clumps, strays, length variation, tips, root-to-tip color, highlights.

Common mistakes

MistakeWhat it looks likeFix
Guides at the brush default of 8 points while blockingtangles, clipping, fights while combing2 points, raise later (Schmidbauer)
Interpolate without a Density Maskhair in the mouth or eyes, drifting children far from guidesvertex-group mask; separate the mouth interior
Uneven guide spacingbald spots, worse in posesample_roots spacing; check spacing_gaps_2x
High density at default radiusa solid mass or "a mess"Profile first, about 0.2 mm at 1M/m² (Thommes)
Trim at defaultsevery strand becomes 1 m longReplace Length off (Thommes)
Positive Frizz on curls or clumpscurl tips destroyed, fuzzy clump tipsnegative Shape, Cumulative Offset off on the final Frizz
Duplicated layer with the same seedwide and thin clumps stack identicallychange seed and frequency (Bystedt)
Straight tips"bad CG hair"Roll Hair Curves at the tip only (Bystedt)
Surface edited after groomingfloating or sunken rootssnap_to_surface(hair, "DEFORM"), or NEAREST after topology changes
Judging at 4% viewport densityuniform clumps and equal lengths unnoticedrender at full density
Principled Hair BSDF in EEVEEdark and flat (measured 0.09 vs 0.26 center luminance)Principled BSDF with explicit colors
Scripting a Comb strokenothing happens, PASS_THROUGHwrite positions, or hand the stroke to the user

Blender 5.2 notes

  • Empty Hair and Quick Fur add a pinned Hair Dynamics modifier (Mode Animation or Physics (Experimental)). It replaces the old Surface Deform and moves roots with the deforming surface (shape keys and armature verified). Keep it last.
  • Interpolate has no Surface or UV Map inputs; it reads the curves object's surface. Newer inputs are Part by Mesh Islands, Follow Surface Normal, Mask Texture and Resting Surface (on). With Resting Surface on, Thommes' "Mask modifier on the surface" patch preview has no effect. Use a patch vertex group as the Density Mask instead, or turn Resting Surface off while previewing.
  • Modifier inputs are set with md.properties.inputs.<id>.value or .type = 'ATTRIBUTE'. Headless, evaluation stays stale until obj.update_tag(). H.set_inputs resolves UI names and tags for you. Background evaluation applies Viewport Amount, so use H.count(full=True).
  • Brushes are assets: Snake Hook is Pull Tips, Selection Paint is Select; Add defaults to 8 points, 0.3 m; settings in brush.curves_sculpt_settings.
  • Factory render.hair_type is STRAND: use STRIP with hair_subdiv >= 1. Cycles shapes: RIBBONS, THICK, THICK_LINEAR. "Curves Info" is ShaderNodeHairInfo; Principled Hair offers Chiang and Huang. Hair Curves Noise writes resolution 12, which curves render with since 5.0.
  • Cards: Curve to Mesh has a Scale input (4.5), and Arc Resolution counts points. EEVEE alpha uses surface_render_method = 'DITHERED'. Keep the GeometrySet alive when reading obj.evaluated_geometry().mesh.
  • Quick Fur density scales with object size (MEDIUM on a 10 cm sphere: 80,220/m², 12 points per guide).

References

  • references/expert-notes.md: load for judgment calls, per expert with timestamps (human hairstyle, animal fur, procedural fur, cards, mesh hair).
  • references/procedures.md: load before writing code. It has full tested procedures P1 to P8 with raw bpy equivalents of the bx_hair calls.
  • references/critique.md: load when reviewing a render or report, as the scoring rubric.
  • references/sources.md: load to cite or re-watch a source, with the best timestamps.
  • scripts/bx_hair.py: the toolkit (tested on 5.2.1). Tests are in tests/code/blender-hair/.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Scenario Blender Hair AI 技能有什么作用?

适用于在 Blender 中使用毛发曲线梳理头发或毛皮,例如角色发型、动物毛皮、Geometry Nodes 中的程序化毛皮,或游戏中的毛发卡片和网格毛发。也涵盖 Essentials 毛发节点资产(Interpolate、Clump、Curl、Frizz、Noise、Trim)、密度蒙版、秃斑、分缝线、Cycles 或 EEVEE 中的发丝着色,以及梳理速度缓慢的问题。当毛发脚本在无界面模式下运行异常时也可使用,例如修改器输入未更新或曲线雕刻笔刷不起作用。

为什么在 TypingMind 中使用 Scenario Blender Hair?

因为您只需安装一次,就能搭配任何模型使用。Scenario Blender Hair 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Scenario Blender Hair?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scenario-labs/skills/tree/main/skills/dcc/blender/scenario-blender-hair。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Scenario Blender Hair?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Scenario Blender Hair 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Scenario Blender Hair 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Scenario Blender Hair AI 技能免费吗?

是的。scenario-labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇