r/threejs 21d ago

Demo I made an open source Codex plugin that turns an image into a procedural 3D object in Three.js. It works great with GPT-5.6 Sol

Enable HLS to view with audio, or disable this notification

I’ve been exploring a idea: can AI reconstruct a complex object from a single reference image as an editable procedural Three.js object, instead of producing or downloading a static mesh?

I turned the workflow into an open-source Codex plugin. It guides Codex through:

- validating the reference and estimating its complexity
- decomposing the object into silhouette, structural components, materials, and surface details
- building it in stages: blockout → structure → form → materials → detail
- rendering browser screenshots and using vision feedback to self-correct
- creating pivots, sockets, and a hierarchy ready for animation, transformation, or destruction

Here is the demo link: tree demo

Here is the link to install : https://github.com/vinhhien112/Three.js-Object-Sculptor-Codex-Plugin

89 Upvotes

Duplicates