HairDeck:单张动漫角色图生成带弹簧骨骼的 3D 发型(清华/CMU/CUHK 开源)
清华大学、卡内基梅隆与香港中文大学的研究项目 HairDeck 可从单张角色插画生成独立发型卡片、UV 与弹簧骨骼链,支持 GLB 与动画就绪 VRM 导出。在 NVIDIA RTX A6000 上卡片几何生成约 1.33 秒;相对 CHARM 在研究者测试条件下点云基准约 33 倍加速、Chamfer 距离降低 44%、卡片朝向误差由 40.0° 降至 16.8°。
单图到可动画发型卡片的完整流水线有公开基准与 Docker 演示,便于对比传统手摆发卡与绑定的工时。
🎮 This open-source AI can turn a single anime character image into 3D hair that actually moves, complete with physics-ready bones.
Meet HairDeck, a new research project from Tsinghua University, Carnegie Mellon, and CUHK.
Instead of generating a static hairstyle mesh, HairDeck creates individual hair cards with UV coordinates and spring-bone chains, ready for animation in games and VTuber avatars.
And the geometry generation takes just 1.33 seconds on an NVIDIA RTX A6000.
🎨 What can HairDeck do?
▪️ Image-to-3D hair: Generate stylized hairstyles from a single character illustration.
▪️ Individual hair cards: Preserve separate curved ribbons rather than merging everything into one solid mesh.
▪️ Automatic rigging: Generate spring-bone chains that make hair bounce and sway when the character moves.
▪️ GLB export: Get actual 3D geometry with per-card UV coordinates.
▪️ VRM avatars: Attach generated hairstyles to a character and export an animation-ready VRM file.
▪️ Multiple variations: Generate up to four hairstyles from one reference.
🧠 How does it work?
The architecture uses two diffusion transformers.
- Hair generation: Each hair card is represented by a single token. A Set-DiT generates the entire collection simultaneously rather than building the hairstyle strand by strand.
- Animation generation: A second diffusion transformer predicts spring-bone chains, while geometric skinning attaches the cards to their bones.
The image pipeline also uses SAM 3, DINOv3, and BiRefNet for preprocessing and conditioning.
⚡ Performance
Compared with CHARM, an earlier stylized hair generation approach:
▪️ 33x faster: 33.7 → 1.01 seconds on the point-cloud benchmark
▪️ 44% lower Chamfer distance: More accurate reconstructed geometry
▪️ Card orientation error: 40.0° → 16.8°
For direct single-image generation, HairDeck takes 1.33 seconds, compared with 67.7 seconds for CHARM under the researchers' test conditions.
These timings measure card generation before final meshing and avatar export.
🖥️ Try it in your browser
Community developer @camenduru also released VRMHairMaker, a browser interface powered by HairDeck.
You can generate a hairstyle, place it on a VRM avatar, and preview live spring-bone physics with head turns, nods, jumps, and swaying motions.
The complete setup is also available through Docker for NVIDIA GPUs.
🔓 Open source
▪️ Code and checkpoints: Apache 2.0
▪️ Local inference: Linux, Python 3.12, NVIDIA CUDA
▪️ Online Hugging Face demo available
▪️ Third-party model weights require their respective licenses
⚠️ Current limitations
HairDeck is optimized for stylized VRoid-style hair, not realistic strand-based hairstyles.
It generates geometry and UVs, but not detailed hair textures. Hair colors are sampled from the reference image for visualization.
Very short hairstyles and unusual bone arrangements can also be challenging.
💡 Why this matters
Creating stylized 3D hair usually requires manually arranging hair cards, adjusting UVs, and rigging them for secondary motion.
HairDeck automates much of that process.
One reference image → 3D hair cards → Spring-bone physics → VRM avatar.
For indie game developers, VTuber creators, and character artists, that's a useful step toward faster character production.
🔗 Project: hyzcluster.github.io/HairDeck/
🔗 GitHub: github.com/hyz317/HairDeck
🔗 Demo: huggingface.co/spaces/hyz317/…
#3DGeneration #GameDev #VTuber #OpenSourceAI
来源:CuteGuy☣️ · x.com
