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.
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
- The images orientation must follows the x,y,z system as shown in the example.
- The black pixels in the image above must have full alpha value (full transparency).
And this is the output