README.md

POVRay mosaic - Bitmap to 3D solid mosaic converter

Python utilities for conversion of bitmap image (in PNG format) to some sort of solid objects mosaic in POVRay format. Each source image pixel is converted to a 3D object, and objects are packed side by side, forming a grid following Euclidean tilings.

Example of 63zaika export rendering

Brief programs description

  • 63zaika - converts every single pixel into 3D object, by default a solid sphere. Spheres are packed into triangle/hexagone grid. Spheres may be easily replaced by other predefined objects, object positions and properties may be mapped to source image brightness and/or randomized, etc.
  • 44zaika - converts every single pixel into 3D object, by default a solid cube. Cubes are packed into square grid. Spheres may be easily replaced by other predefined objects, object positions and properties may be mapped to source image brightness and/or randomized, etc.
  • 36zaika - converts every single pixel into 3D object, by default a triangular prism. Prisms are packed into triangle grid.

Example of 44zaika export rendering

Dependencies: Tkinter, PyPNG

Usage: programs are equipped with minimal GUI for file selection. Exported scene contains enough basic stuff (globals, light, camera) to be rendered out of the box, and is well structured and commented for further editing.

Project website

Project mirrors:

github Dnyarri

gitflic Dnyarri

Описание

Python utilities for conversion of bitmap image to 3D objects mosaic in POVRay format.

Конвейеры
0 успешных
0 с ошибкой