Skip to content

MarcoCiaramella/Voxelizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxelizer

Voxelizer is a tool written in python that convert pixel to voxel. It takes 6 images as input and produces a 3D model as a combination of this images. The output is a mesh in PLY format.

How to use

The input images must be a rapresentation of the 6 sides of a 3D model (front, back, top, bottom, right and left).

python voxelizer.py <img front> <img right> <img left> <img top> <img bottom> <img back> <ply output file>

The following example explains how to define the 6 images

Image example

  1. The images orientation must follows the x,y,z system as shown in the example.
  2. The black pixels in the image above must have full alpha value (full transparency).

And this is the output

Image output

Releases

No releases published

Packages

No packages published

Languages