explaingit

gazprash/2d-to-3d-voxelizer

Analysis updated 2026-05-18

55GoAudience · developerComplexity · 3/5Setup · moderate

TLDR

A desktop tool that converts 2D pixel art sprites into 3D voxel models you can export and use in Blender, Unity, or Godot.

Mindmap

mindmap
  root((2D to 3D voxelizer))
    What it does
      Converts sprites to voxels
      Exports OBJ files
      Uses math not AI
    Modes
      Single
      Dual
      Quad
      Six sided
    Tech stack
      Go
      Wails
      Node js
    Use cases
      Game asset creation
      Pixel art to 3D
      Import into Blender

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Convert a pixel art character sprite into a 3D voxel model for a game.

USE CASE 2

Turn a multi sided sprite sheet into a full 360 degree 3D object.

USE CASE 3

Export voxel art as an OBJ file to import into Blender, Unity, or Godot.

What is it built with?

GoWailsNode.js

How does it compare?

gazprash/2d-to-3d-voxelizermitchellh/go-libuclrealrenatto/take-over
Stars555657
LanguageGoGoGo
Last pushed2019-03-08
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Building from source needs Go, Node.js, and on Linux, GTK3 and WebKit2GTK dev libraries.

In plain English

This project is a desktop tool that turns 2D pixel art into 3D voxel art. You feed it a sprite image or a sprite sheet showing several sides of a character or object, and it builds a 3D model out of it. The result can be saved as a .obj file, which is a common 3D format that works with Blender, Unity, Godot, and most other 3D or game engine software. The tool works with simple math, not AI models, to stretch a flat 2D image into a 3D voxel grid. This keeps the original art style intact, but the README is upfront that this approach has limits: it may not handle complicated pixel art with lots of varying depth very well. There are four generation modes depending on what kind of input you give it. Single mode builds a 3D shape from one image. Single Plus Repeated takes one sprite and wraps it around all four sides with an adjustable depth. Dual mode uses front and back images together. Quad mode builds a full, walk around 3D object from four images, one each for the left, front, right, and back of the subject, and there is also a six sided mode that adds top and bottom images for even more detail. The README also explains depth scaling, which controls how thick and rounded the generated voxels look, including a manual mode for fine tuning the top, middle, and bottom sections separately. The application is built with Wails, a framework for building desktop apps using Go on the backend and a web based frontend. Building it from source requires Go version 1.21 or newer and Node.js with npm, plus some system libraries on Linux. Ready made downloads are also available from the project's releases page for people who do not want to build it themselves. The author lists a couple of planned improvements, including separating the texture file output and adding a basic 3D editor directly inside the app.

Copy-paste prompts

Prompt 1
Help me set up Go and Node.js so I can build the 2d-to-3d-voxelizer app from source.
Prompt 2
Explain the difference between Single, Dual, and Quad modes in this 2D to 3D voxelizer tool.
Prompt 3
Help me lay out a 4 sided sprite sheet correctly for Quad mode in this voxelizer app.
Prompt 4
Walk me through installing the Wails CLI so I can run wails dev for this project.

Frequently asked questions

What is 2d-to-3d-voxelizer?

A desktop tool that converts 2D pixel art sprites into 3D voxel models you can export and use in Blender, Unity, or Godot.

What language is 2d-to-3d-voxelizer written in?

Mainly Go. The stack also includes Go, Wails, Node.js.

How hard is 2d-to-3d-voxelizer to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is 2d-to-3d-voxelizer for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.