|
|
Greeting,
I would like to inform that POVRay mosaic collection of Python programs
https://github.com/Dnyarri/POVmosaic
was completely rewritten, hopefully providing more flexibility and
simplicity for end users.
POVRay mosaic is a set of programs, which read every pixel of source
image and convert it into a 3D object, colored after source pixel,
together with neighbour objects, thus creating something like 3D-mosaic.
Object properties (location, size, rotation) can be made dependent
(mapped) on source pixel brightness.
Several old programs were converted to just two: 3zaika and 4zaika,
packing objects into triangle and square grids correspondingly. Main
idea of rewriting was compressing all variables, introduced into initial
versions, into compact set of #define objects, vectors and stuff. For
example, default output of 3zaika is a union of tightly packed spheres,
but you can turn it into perfectly packed hexagonal prisms by changing
"#declare thingie = thingie_1" to "#declare thingie = thingie_4" in the
"Selecting variants" section of exported POV files. Similarly you can
switch predefined finishes and transfer functions. Surely, you can write
your own - easiest way is patching scene with preset.inc files (some
examples are provided). Some rendering examples are provided at
https://dnyarri.github.io/
in corresponding sections. Help file, describing options in presumably
human-compatible form, is included.
Hopefully you'll find it funny enough to start boring your friends with
mosaic pictures.
Suggestions on extending are quite welcome.
--
Ilyich the Toad
https://dnyarri.github.io/
Post a reply to this message
|
|
|
|
Today I want to offer my full support and endorsement for... sorry,
couldn't resist.
Last missing part was added to POVRay mosaic: the one for triangular 3/6
pattern:
https://dnyarri.github.io/pov36zaika.html
IMHO it's the least promising part of the collection, but may be it's
just because I personally can't imagine such a variability of patterns
as it is possible with the others.
Speaking of the others, other programs in this pack got some
improvements, and some more presets are added, including supposedly
funny ones (example of new 44zaika preset "44_puzzle.inc" rendering
attached).
--
Ilyich the Toad
https://dnyarri.github.io/
Post a reply to this message
Attachments:
Download '409.png' (180 KB)
Preview of image '409.png'
|
|
|
|
On 23.07.2024 13:39, Bald Eagle wrote:
> Ilya Razmanov <ily### [at] gmailcom> wrote:
>
> I like this one a lot.
> It would look even cooler with a bit of a border to the pieces.
If "this one" you are referring to is "puzzle", "thingie" element
already ends with "scale 0.99" to get some narrow gaps between thingies.
Just check the corresponding preset and you'll see that it's merely a
cube with 4 cylinders, 2 "plus" and 2 "minus" (holes). Cylinders are
even somewhat linked to easily reposition pin and hole in pair. It was a
small illustration of that thingies may go out of the grid box, in case
we push holes opposite to where we pull pins.
I believe if you duplicate it, rescale sligtly wider yet shorter, add
separate color and make a union, color of child outline object will
override overall color of thingie. Well, at least that's what happened
with dice in "44_dice.inc" preset at the bottom of
https://dnyarri.github.io/pov4zaika.html
- spherical marks in it have they own color.
--
Ilyich the Toad
https://dnyarri.github.io/
Post a reply to this message
|
|