मुख्य सामग्री पर जाएँ
Skillpedia
इमेज और आइकन20k · #10388

img2threejs

यह क्या करती है

यह स्किल AI को किसी वस्तु या किरदार की संदर्भ छवि से एनिमेशन-योग्य 3D दृश्य बनाने देती है, जो कोड से बना हो। यह उन लोगों के लिए है जो तैयार 3D asset डाउनलोड किए बिना चित्र से मेल खाता 3D मॉडल चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास किसी वस्तु की फ़ोटो या चित्र हो और आप उसका वेब के लिए 3D मॉडल चाहते हों।
  • ✓जब आप संदर्भ छवि पर आधारित stylized 3D किरदार चाहते हों।
  • ✓जब आपको जाँचना हो कि 3D मॉडल संदर्भ से कितना मेल खाता है और अंतर कैसे ठीक करें।

Skill का लिंक

https://github.com/img2threejs/img2threejs/blob/main/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/img2threejs/img2threejs/blob/main/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस कुर्सी की फ़ोटो से एक 3D मॉडल बनाइए जिसे मैं Three.js वेब पेज में दिखा सकूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI चरणों में काम करता है: पहले आकार का कोड लिखता है, फिर अपने render की संदर्भ चित्र से तुलना करता है, और मॉडल को तब तक सुधारता है जब तक वह काफ़ी मेल न खा जाए।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

img2threejs — Image to procedural Three.js

Rebuild the object visible in a reference image as a code-only procedural Three.js model, gated by a staged sculpting pipeline and an AI-vision self-correction loop. This is reconstruction-by-code, not photogrammetry, mesh extraction, or downloaded art packs. That promise governs how the model is built — it says nothing about which file formats it can subsequently be exported to; an explicitly-selected emission target (--target <kind>) is a terminal, whole-artifact transform of the already-built model, verified to its own stated limit, never a second way to build one.

Agent-agnostic: works under Hermes, Claude Code, Codex, or OpenCode. Wherever this doc says "agent vision" or "agent browser tool", use whatever the host provides — native image reading, a browser MCP (playwright/chrome-devtools), the project preview, or a user-supplied screenshot.

This file is the always-loaded router: it holds the order of operations and every hard rule as one line. The full contract behind each rule lives in the grimoire/ or docs/ file that rule names — read the named file at the moment you reach that stage, not before.

Canonical shared checkout

Keep one checkout of this repository and let every host enter it through a symlink, so the hosts execute the same code instead of drifting apart. npx --yes img2threejs@latest install does this for the hosts it detects (hermes, claude, codex, opencode); it refuses (exit 2) to replace a link it does not manage, so a hand-made link is never silently swapped for a release copy. Hermes reads skills per profile: also link ~/.hermes/profiles/<profile>/skills/img2threejs (the installer writes only ~/.hermes/skills/). Install, manual symlinks, and troubleshooting: docs/INSTALL.md.

When To Use

The user attaches/points to an object image and wants a procedural Three.js model, a reconstruction/animation/destruction plan, a sculpt spec, or code. Also for material studies, action-ready props, game objects, botanical/mechanical parts, and stylized reconstructions.

Profile preflight (once per run, before forge/next.py)

Domain knowledge (CS2 skins, animated characters, emission targets) lives in plugins, not in this checkout. Pick the profile from the subject, then confirm this environment can start it:

python3 forge/state.py init --help | grep -- --profile   # profiles available here
  • generic / character are built in: no harness, no plugin, nothing else to check.
  • A missing domain profile (e.g. cs2) is a setup gap: never downgrade to generic silently. Installing it edits the user's machine, so give them the commands in docs/INSTALL.md §3, get their go-ahead, re-check, and continue.
  • Installed but not listed (wrong $IMG2_HOME), or a Hermes plugin link: docs/PLUGINS.md.
  • Then read what the profile's own steps name, at the moment you reach them: the plugin's SKILL.md and contracts govern that domain.

Core Promise

Sculpt from a photo, in order — never one-shot a mesh:

  1. Run python3 forge/next.py --state .img2threejs/state.json [<spec>] first, at every start, resume, and before every correction iteration. It reports the ordered checklist, exact next command, evidence status, and bounded correction-loop status; it never replaces the spec/pass gates. Obey a hard stop; never continue from memory.
  2. Validate the image is a suitable 3D target (grimoire/intake/validation_rubric.md).
  3. Assess object class + complexity, then write a qualityContract before any code.
  4. Spec it: component hierarchy, materials, lighting, pivots, sockets, action anchors.
  5. Build pass-by-pass from blockout → structure → form → material → lighting → interaction → optimization.
  6. Verify each pass with a screenshot compared against the reference; fail a pass if an identity-defining feature is wrong even when the global score looks fine.

State explicitly when output is approximate/stylized/low-poly. A single image cannot reveal hidden sides or guarantee exact geometry — say so instead of faking confidence.

Mandatory Local State Gate

Conversation context is disposable; .img2threejs/state.json is the local checklist authority. Initialize once per reconstruction, then gate every step through it:

python3 forge/state.py init --state .img2threejs/stat
अक्सर पूछे जाने वाले सवाल

क्या यह वस्तु को स्कैन या कॉपी करती है?

नहीं। स्किल केवल कोड से पुनर्निर्माण बताती है, photogrammetry या mesh निकालना नहीं।

क्या यह फ़ाइलें एक्सपोर्ट करती है?

स्किल चुने हुए लक्ष्य के लिए मॉडल बनने के बाद अन्य फ़ॉर्मेट में वैकल्पिक एक्सपोर्ट का ज़िक्र करती है।

मुझे क्या देना होगा?

एक संदर्भ छवि। जाँच के दौरान AI अपना render देखने के लिए browser टूल इस्तेमाल कर सकता है।

जानकारी

लेखक का मूल विवरण

Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.

repo: img2threejs/img2threejs

लोकप्रियता

GitHub स्टार
20k
रैंकिंग में स्थान
#10388
लाइसेंस
Apache-2.0
अपडेट की गई
28/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

मिलती-जुलती skills