POV-Ray : Newsgroups : povray.general : Converting image pixels into POV-Ray spheres Server Time
21 Jul 2024 13:17:17 EDT (-0400)
  Converting image pixels into POV-Ray spheres (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ilya Razmanov
Subject: Blobs (UPD: Converting image pixels into POV-Ray spheres)
Date: 6 Feb 2024 01:39:36
Message: <65c1d428@news.povray.org>
Greeting,

one more subproject at
https://github.com/Dnyarri/POVmosaic
released, namely blob one. Corresponding programs convert input image 
into sphere blob. Mostly based on Sphere Mosaic project but, since blob 
components have different argument number than spheres, replacing 
spheres with blob spheres cannot be done easily with text editor and 
required separate program.

Example image attached, all the Python stuff from the project available 
at Release page
https://github.com/Dnyarri/POVmosaic/releases/tag/2024.02.06
attached as well.

Now it's time to deal with more complex objects... (beware)

Ilyich the Toad


Post a reply to this message


Attachments:
Download 'blob3.png' (736 KB) Download 'primitivemosaic.2024.02.06.zip' (44 KB)

Preview of image 'blob3.png'
blob3.png

From: Paolo Gibellini
Subject: Re: Converting image pixels into POV-Ray *anything* mosaic
Date: 10 Feb 2024 15:45:39
Message: <65c7e073$1@news.povray.org>
28/01/2024 22:45, Ilya Razmanov wrote:
> If you take a look at these programs output, you'll see "thingie" 
> declared. That's the basic object, mosaic element. Later it gets color 
> and finish added, is scaled, rotated and moved where necessary, but the 
> same object is used for all mosaic. Therefore, you may replace it with 
> another object once, and it will be replaced throughout the whole scene 
> (just take care about it's size. For spheres and boxes it's 1*1*1, for 
> others described in the file), using the same symmetry as original. 
> About the only thing I don't recommend - using too complex objects. 
> Surely, you can edit POV file produced by my program to add .inc with 
> very complex object, and it will work (I've tried with spline 
> figurines), but very slowly.
> 
> Ilyich the Toad

At the moment is difficult for me to spare some time to code, but I will 
surely get a look.
A nice work!

Paolo


Post a reply to this message

From: Ilya Razmanov
Subject: Print on canvas and cross-stitch added (was Re: Converting image pixels into POV-Ray spheres)
Date: 3 Mar 2024 03:41:24
Message: <65e437b4$1@news.povray.org>
Greetings,

while trying to understand POVRay functions and turn them into 
procedural textures takes time, I decided to release my Python programs 
for creating POV scenes simulating textile and cross stitches in their 
current state, functions to be implemented later. So they are available 
for download at

https://github.com/Dnyarri/POVmosaic

in "tori" subfolder.

Also, I decided to reduce POVRay newsgroups server load, and create sort 
of preview site at

https://dnyarri.github.io/

There you can see some preview renderings at default settings. Most of 
projects described there are POVRay related.

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


Post a reply to this message

From: jr
Subject: Re: Print on canvas and cross-stitch added (was Re: Converting image pixels= into POV-Ray spheres)
Date: 3 Mar 2024 09:05:00
Message: <web.65e483655cf0f3d89764edb76cde94f1@news.povray.org>
hi,

Ilya Razmanov <ily### [at] gmailcom> wrote:
> ...
> Also, I decided to reduce POVRay newsgroups server load, and create sort
> of preview site at

v nice design.  now looking forward to see what will happen when you discover
the "third dimension" -- media, voxels.  ;-)


regards, jr.


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Print on canvas and cross-stitch added (was Re: Converting image pixels=into POV-Ray spheres)
Date: 3 Mar 2024 12:13:22
Message: <65e4afb2$1@news.povray.org>
On 03.03.2024 17:04, jr wrote:
> hi,
> 
> v nice design.

It's not my fault ;-) Since the last time I did real website, they made 
impressive progress both in improving CSS and shooting down browsers. As 
a result, I can widely use CSS and don't have to worry much about 
compatibility - no matter what browser client thinks he/she is using, 
it's Chromium anyway ;-)

Ilya Razmanov
https://dnyarri.github.io


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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