
Added Nov 15, 2026
img2obj
A Codex plugin that turns an object image into a code-only procedural Three.js model, for developers building 3D on the web.
- Ecosystem
- Codex
- Skill category
- Media
- Creator / organization
- vinhhien112(GitHub vinhhien112)
More images
Screenshot from the project's website. All rights belong to the original creator. Contact us if you would like it removed.
What it is
img2obj is a Codex plugin published by vinhhien112. It helps you analyze an object image, plan its structure, generate procedural Three.js geometry in code, and review the result against the original reference. It does not convert pixels directly into a finished mesh. The output is an approximation built from code. Load the repository as a local plugin in Codex, attach an object image, and ask. AI handles source cleanup, planning views and visual review. The README says AI vision review is required for visual acceptance, and the local scripts only organize evidence without judging similarity themselves.
Highlights:
- Generates Three.js geometry entirely in code, with no downloaded meshes or art packs.
- The workflow runs through image analysis, structure planning, geometry generation and review against the original.
- The README says one image cannot reveal hidden sides or exact dimensions.
- The result is a procedural approximation, not a scanned or extracted mesh.
How to use:
- First run `git clone https://github.com/vinhhien112/img2obj.git`, then `cd img2obj`.
- Next run `python3 scripts/sculpt.py --help` to see the script options.
- Finally load the repository as a local plugin in Codex, attach an object image and ask.
Who it's for:
Developers who want a usable Three.js 3D object from a single reference image.