Skip to content

AI Driven 2D to 3D Sketching Application, utilizing OpenGL and C++ for backend logic, with a OpenAI Dall-E + Meshy pipeline for .obj gen.

License

Notifications You must be signed in to change notification settings

ryan-mangeno/Cogni-draw

Repository files navigation

Cogni-draw

AI-Driven 2D to 3D Sketching Application

Cogni-draw is an interactive prototype application that leverages AI techniques to convert 2D sketches into rudimentary 3D representations. By right-clicking and dragging over the framebuffer, users can capture their sketch to save them as PNG images to then be transformed into a 3D model, viewable in the model viewer dock.


Features

  • Region Capture: Right-click and drag to select a rectangular region of the framebuffer, which is then saved as a PNG image.
  • AI Export: ChatGPT api with 4o-mini and then dalle, working on segmentation api, might use meshy
  • Note: I can download a model directly from meshy's website and this works, I have the api script for meshy, but need to buy tokens to use it. The demo down below is a proof of concept for now.

Prerequisites

Demo I/O (stb save -> o4-mini vision -> dalle -> meshy(not included yet) -> OpenGL

demo

2025-05-02.21-39-00.mp4

Building

  1. Clone the repository:
    git clone https://github.com/anakin004/Cogni-draw.git
    cd Cogni-draw

About

AI Driven 2D to 3D Sketching Application, utilizing OpenGL and C++ for backend logic, with a OpenAI Dall-E + Meshy pipeline for .obj gen.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published