POV-Ray : Newsgroups : povray.general : POV Mosaic rewritten Server Time
23 Nov 2024 18:37:01 EST (-0500)
  POV Mosaic rewritten (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Ilya Razmanov
Subject: POV Mosaic rewritten
Date: 12 Jun 2024 05:20:31
Message: <6669685f$1@news.povray.org>
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

From: yesbird
Subject: Re: POV Mosaic rewritten
Date: 12 Jun 2024 09:03:43
Message: <66699caf$1@news.povray.org>
On 12/06/2024 12:20, Ilya Razmanov wrote:
> I would like to inform that POVRay mosaic collection of Python programs

Excellent !
I like the cylinders as basic form and different angles layout.
Looks like it's possible to implement fur this way.
--
YB


Post a reply to this message

From: Ilya Razmanov
Subject: 3/6 POVRay mosaic (was Re: POV Mosaic rewritten)
Date: 22 Jul 2024 07:33:29
Message: <669e4389@news.povray.org>
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'
409.png


 

From: Bald Eagle
Subject: Re: 3/6 POVRay mosaic (was Re: POV Mosaic rewritten)
Date: 23 Jul 2024 06:40:00
Message: <web.669f885d994b74491f9dae3025979125@news.povray.org>
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.

Keep up the good work!


- BE


Post a reply to this message

From: Ilya Razmanov
Subject: Re: 3/6 POVRay mosaic (was Re: POV Mosaic rewritten)
Date: 23 Jul 2024 10:14:48
Message: <669fbad8@news.povray.org>
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

From: Ilya Razmanov
Subject: Layered textures added to POV Mosaic
Date: 1 Nov 2024 15:44:21
Message: <67252f95$1@news.povray.org>
Greetings,

this is to inform you that I overcame my unwillingness to make output of 
my POV Mosaic programs

https://dnyarri.github.io/povzaika.html

too complex, and replaced previous short texture with fully blown 
texture{}, thus giving an ability to add layered textures to each little 
thingie. Currently output includes placeholder with completely 
transparent overlay, which can be easily redefined somewhere in the 
beginning of the scene file ("easily" means that I tried to dilute it 
with comments so you may find it among tons of other stuff you can 
"easily" redefine).

Also, as I presume this would be final release (I tend to presume it 
every time), currently PyPNG is included into repository and 
downloadable, as a result, all programs will work upon just double 
clicking after downloading and unzipping, assuming you have standard 
Python installation.

-- 
Ilyich the Toad
https://dnyarri.github.io/


Post a reply to this message

From: yesbird
Subject: Re: Layered textures added to POV Mosaic
Date: 2 Nov 2024 03:51:04
Message: <6725d9e8@news.povray.org>
On 01/11/2024 22:44, Ilya Razmanov wrote:
> Greetings,
> 
> this is to inform you that I overcame my unwillingness to make output of 
> my POV Mosaic programs

Looks very accurate and beautiful, mosaic is a favorite game of my
childhood. Didn't you think about irregular patterns,
like Antonio Gaudi did ? :)
--
YB


Post a reply to this message


Attachments:
Download 'gaudi.jpg' (351 KB)

Preview of image 'gaudi.jpg'
gaudi.jpg


 

From: Bald Eagle
Subject: Re: Layered textures added to POV Mosaic
Date: 4 Nov 2024 08:15:00
Message: <web.6728c7ae7fa2f3b46563700825979125@news.povray.org>
> On 01/11/2024 22:44, Ilya Razmanov wrote:

> > this is to inform you that I overcame my unwillingness to make output of
> > my POV Mosaic programs

Whoa, that is really cool!
I hope you can make some more renders with this method so we can see some
variations and better understand the capabilities.

Nice work


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Layered textures added to POV Mosaic
Date: 5 Nov 2024 05:18:10
Message: <6729f0e2$1@news.povray.org>
On 04.11.2024 16:10, Bald Eagle wrote:

> I hope you can make some more renders with this method so we can see some
> variations and better understand the capabilities.

Actually, I hope someone else will use it to generate more renders based 
on their own artistic impressions and expressions :-)

Incredibly all ancestor of all this, POVRay Mosaic plugin for Photoshop, 
which I made many years ago, was intended for simulating real technology 
of building things like ads from plastic spheres. That is, some people 
using this tech asked me if I can give them some fast preview mechanism, 
and surely my first though was of using POVRay (it was POVRay 3.0 at 
that time). Later on, I know some people used it for print output, 
redeclaring thingies from spheres to cylinders, for big headers in 
something like university newspaper.

So I hoped that this new, much more flexible incarnation of that old 
stuff, will give other people some tools for building something to 
impress others. I, on my hand, only tried to make tools flexible yet 
constructed reasonable enough to manage it. That's why I added so many 
built-in shapes and outer presets - with all this even beginners with 
minimal understanding of POVRay can easily switch things within wide 
range with minimal manual editing.

-- 
Ilyich the Toad
https://dnyarri.github.io/


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Layered textures added to POV Mosaic
Date: 5 Nov 2024 05:32:40
Message: <6729f448$1@news.povray.org>
On 02.11.2024 10:50, yesbird wrote:

> Didn't you think about irregular patterns

Hm. With minimal efforts irregular may be blobs... I must admit I have a 
couple of blob variations on this theme, not included into public repo - 
I tried them as possible voxels and, for a beginning, as an alternative 
to my img2mesh, but blobs appeared to be not exactly what I was looking 
for (although, I must admit, some variants gave funny special effects. I 
don't remember whether I sent this link here already:
https://dnyarri.github.io/sporadic/OHO.html
).

Giving blobs irregularity and using just the same things I did not like 
before for a new purpose may be interesting...

-- 
Ilyich the Toad
https://dnyarri.github.io/


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.