跳过主要内容
WEB
Skill免费

img2threejs

An Agent Skill that rebuilds the object or character in a reference image as a code-only, animation-ready Three.js model, checked pass by pass.

GitHub 星数
18,610
(GitHub 星数,统计于 2026-10-22)
许可证
Apache-2.0
最近提交
2026/10/21
作者
img2threejs
下载 ZIP

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Any detected agent
npx --yes img2threejs@latest install
npx --yes img2threejs@latest doctor

install links the skill into every agent it finds; doctor prints "managed" for each agent it is installed in. docs/INSTALL.md covers manual installs and other agents such as Cursor.

Optional plugin harness
npx --yes @img2threejs/img2@latest install --yes

Only needed for plugins such as character rigging (img2 add character --yes) or img2glb.

命令照搬项目 README。在本机运行前,请先看一眼仓库。

包含内容

  • A staged pipeline: blockout → structural → form → material → surface → lighting → interaction → optimization
  • A vision review after each pass and Python gates that block weak results
  • Separate tracks for objects and characters
  • Resumable state (forge/state.py and forge/next.py)

适合

  • Game props, vehicles and stylized characters for Three.js games without mesh files
  • Animation-ready models made from primitives and procedural shaders

不适合

  • Photogrammetry or exact mesh extraction: it rebuilds the object in code
  • Guaranteed likeness from one photo: the README reports per-region confidence and asks for more views

概述

img2threejs is a single agent skill with a narrow job: take a reference image and rebuild the subject as a procedural Three.js model. It does not use photogrammetry or downloaded art packs. The live gallery at img2threejs.io shows every result running as generated code in the browser.

The skill first turns the image into a spec, then builds the model in eight passes. Deterministic Python scripts handle validation and gating, so model tokens go only to visual review and code. The authors describe this as token-efficient image-to-3D. Characters go through a separate anatomy-aware track, and plugins add rigging, CS2 weapon skins or GLB export.

It pairs well with Three.js Game Skills: one pack builds the game, the other builds its hero models.

环境要求

  • Node.js 18+, Git and Python 3.10+
  • Claude Code, Codex, OpenCode or Hermes

相关主题

常见问题

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

相似 skills