Logo Scenario Blender Hair

Scenario Blender Hair

Tổ chức
scenario-labs
scenario-blender-hair

Dùng khi tạo kiểu tóc hoặc lông trong Blender bằng hair curves, chẳng hạn tóc cho nhân vật, lông động vật, lông procedural trong geometry nodes, hoặc hair cards và tóc dạng lưới cho game. Cũng bao gồm các asset node tóc Essentials (Interpolate, Clump, Curl, Frizz, Noise, Trim), mặt nạ mật độ, vùng hói, đường ngôi, đổ bóng từng sợi trong Cycles hoặc EEVEE và các kiểu tóc chậm. Dùng cả khi script xử lý tóc gặp trục trặc ở chế độ headless, chẳng hạn đầu vào modifier cũ hoặc cọ điêu khắc đường cong không hoạt động.

Add to TypingMind

Tổng quan

Nhà phát hànhscenario-labs
Kho mãskills
Tên kỹ năngscenario-blender-hair
Sao
970
Bản fork
114
Tệp đi kèm
5
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được scenario-labs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Scenario Blender Hair trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/blender/scenario-blender-hair
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Scenario Blender Hair trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Scenario Blender Hair ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Scenario Blender Hair với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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/.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Scenario Blender Hair làm được gì?

Dùng khi tạo kiểu tóc hoặc lông trong Blender bằng hair curves, chẳng hạn tóc cho nhân vật, lông động vật, lông procedural trong geometry nodes, hoặc hair cards và tóc dạng lưới cho game. Cũng bao gồm các asset node tóc Essentials (Interpolate, Clump, Curl, Frizz, Noise, Trim), mặt nạ mật độ, vùng hói, đường ngôi, đổ bóng từng sợi trong Cycles hoặc EEVEE và các kiểu tóc chậm. Dùng cả khi script xử lý tóc gặp trục trặc ở chế độ headless, chẳng hạn đầu vào modifier cũ hoặc cọ điêu khắc đường cong không hoạt động.

Vì sao nên dùng Scenario Blender Hair trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Scenario Blender Hair là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Scenario Blender Hair trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/scenario-labs/skills/tree/main/skills/dcc/blender/scenario-blender-hair. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Scenario Blender Hair?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Scenario Blender Hair với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Scenario Blender Hair với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Scenario Blender Hair có miễn phí không?

Có. Kỹ năng này được scenario-labs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇