Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 894 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 894 Bytes

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