POV-Ray : Newsgroups : povray.general : Canvas and cross-stitching simulation Server Time
22 Apr 2025 15:16:02 EDT (-0400)
  Canvas and cross-stitching simulation (Message 1 to 8 of 8)  
From: Ilya Razmanov
Subject: Canvas and cross-stitching simulation
Date: 4 Oct 2024 11:44:19
Message: <67000d53@news.povray.org>
Greetings,

I'm glad to inform you that some of my tiny Python programs, offspring 
of POVRay Mosaic (which apparently was updated), currently considered 
worth a release:

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

Currently it includes two programs, one for converting PNG image to 
colored canvas simulation, another one for simulating cross-stitch using 
POV objects (torii in these cases). Canvas and stitches may be deformed 
according to Perlin noise, giving some realism to resulting rendering.

Hopefully you find it useful for making greeting cards or something ;-)

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


Post a reply to this message

From: yesbird
Subject: Re: Canvas and cross-stitching simulation
Date: 4 Oct 2024 16:15:07
Message: <67004ccb$1@news.povray.org>
On 04/10/2024 18:44, Ilya Razmanov wrote:
> 
> Hopefully you find it useful for making greeting cards or something ;-)
> 
Really good, great job !

I have liked embroidery since my childhood, last year I started this
project: https://embview.povlab.online (not POV-related).

It's based on https://oesd.com designs converted to PNGs by
https://wilcom.com
software.

Your rendering quality is really high, at least comparable with Wilcom.
--
YB


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Canvas and cross-stitching simulation
Date: 5 Oct 2024 01:43:02
Message: <6700d1e6$1@news.povray.org>
On 04.10.2024 23:14, yesbird wrote:

> I have liked embroidery since my childhood, last year I started this
> project: https://embview.povlab.online (not POV-related).
> 
> It's based on https://oesd.com designs converted to PNGs by
> https://wilcom.com
> software.
> 
> Your rendering quality is really high, at least comparable with Wilcom.

That's because it's POVRay rendering quality ;-)

Actually all this have some long history; about 20 years ago I was 
creating prototype for cross stitching visualization, using some mini-C. 
At that time only bitmap pattern based solutions seemed to exist, I made 
something algorithmical, with antialiasing and moving light. But well, 
the company which paid for that was devoured by something bigger, and 
this bigger decided to bury a lot of stuff rather than digest the devoured.

But since about half a year ago I decided to take a look at that Python 
people seem to praise, I apparently reincarnated some old ideas, 
including POVRay export ones. And since computers became faster during 
that 20 years, I obviously decided to reassign as much work as possible 
to POVRay ;-)

Unfortunately I can't directly transfer my old shaders to POVRay, and, 
I'm afraid, my declined vision limits my capabilities to visually 
inspect real materials for subsequent POVRay implementations, but well, 
it seems that using functions for normals somewhat helps in 
transitioning old stuff based on better vision. I'll try to add some 
more realistic finishes and normals to all this. One of the great things 
is that I can access POVRay's Perlin noise, that's really helpful. So 
I'm trying to push as much work as possible to POVRay, since it's not 
only uses text format even I can understand and make programs output to, 
but also releases me from writing a lot of programming stuff myself ;-)

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


Post a reply to this message

From: yesbird
Subject: Re: Canvas and cross-stitching simulation
Date: 5 Oct 2024 08:28:22
Message: <670130e6$1@news.povray.org>
On 05/10/2024 08:43, Ilya Razmanov wrote:
> That's because it's POVRay rendering quality ;-)
YES !
> 
> But well, the company which paid for that was devoured by something bigger, and 
> this bigger decided to bury a lot of stuff rather than digest the devoured.

I have the same sad experience - 25 years ago.

> I'm trying to push as much work as possible to POVRay, since it's not 
> only uses text format even I can understand and make programs output to, 
> but also releases me from writing a lot of programming stuff myself ;-)
>
This is the reason I like it and continue using it while a lot of new
modern raytracers around, moreover it's free. :)

Back to embroidery - Wilcom has a non-free REST-service that converts
embroidery machine formats (DST, PES, HUS) to PNG.DST is the 
post popular and well known:
https://edutechwiki.unige.ch/en/Embroidery_format_DST

Don't you see some niche here for your next project ? ;)
--
YB


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Canvas and cross-stitching simulation
Date: 7 Apr 2025 09:07:00
Message: <67f3cdf4$1@news.povray.org>
Greetings,

I'd like to inform humans and other species that POVThread finally got 
user-friendly interface (see attached) and adaptive average filtering 
included, so now it's sort of self-contained and supposed to run under 
Python 3.10 and above right out of the zip.

Previews remain, as always, here:

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

and the program itself:

https://github.com/Dnyarri/POVthread

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


Post a reply to this message


Attachments:
Download 'povthread.png' (21 KB)

Preview of image 'povthread.png'
povthread.png


 

From: yesbird
Subject: Re: Canvas and cross-stitching simulation
Date: 7 Apr 2025 11:44:55
Message: <67f3f2f7$1@news.povray.org>
On 07/04/2025 16:07, Ilya Razmanov wrote:
> Greetings,
> 
> I'd like to inform humans and other species that POVThread finally got 
> user-friendly interface (see attached) and adaptive average filtering 
> included, so now it's sort of self-contained and supposed to run under 
> Python 3.10 and above right out of the zip.
> ...

Excellent work !

It's very close to what I did in my embroidery viewer:
https://embview.yesbird.online/

but I used:
https://wilcom.com/embroiderystudio

for converting designs from different machines formats like
HUS, PHC, PES, DST, etc to PNG.
-- 
YB


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Canvas and cross-stitching simulation
Date: 7 Apr 2025 13:55:25
Message: <67f4118d$1@news.povray.org>
On 07.04.2025 18:44, yesbird wrote:
> Excellent work !
> 
> It's very close to what I did in my embroidery viewer:
> https://embview.yesbird.online/
> 
> but I used:
> https://wilcom.com/embroiderystudio
> 
> for converting designs from different machines formats like
> HUS, PHC, PES, DST, etc to PNG.

Don't tell me about formats, I'm not a programmer, I just an old 
amphibian with some ideas that may be implemented using a computer. My 
experience with programming is weird. My first program was written in 
Pascal 2.0 for PDP for rectification column calculations. And so on.

This program, for example, contain PPM/PGM I/O module in pure Python, 
written by me just because I needed something for previewing nested XYZ 
lists as images and I tried to avoid all this "rich Python ecosystem" 
with all its limitations and version conflicts. It took me quite some 
time to make it robust but now I know how to handle even binary formats. 
Well, I know how to handle even binary formats to some degree ;-) To a 
degree enough to avoid handling formats as long as possible :-)

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


Post a reply to this message

From: Leroy
Subject: Re: Canvas and cross-stitching simulation
Date: 14 Apr 2025 16:00:00
Message: <web.67fd68151b99596cfde671baf712fc00@news.povray.org>
Ilya Razmanov <ily### [at] gmailcom> wrote:

> Don't tell me about formats, I'm not a programmer, I just an old
> amphibian with some ideas that may be implemented using a computer. My
> experience with programming is weird. My first program was written in
> Pascal 2.0 for PDP for rectification column calculations. And so on.
>
> This program, for example, contain PPM/PGM I/O module in pure Python,
> written by me just because I needed something for previewing nested XYZ
> lists as images and I tried to avoid all this "rich Python ecosystem"
> with all its limitations and version conflicts. It took me quite some
> time to make it robust but now I know how to handle even binary formats.
> Well, I know how to handle even binary formats to some degree ;-) To a
> degree enough to avoid handling formats as long as possible :-)
>
> --
> Ilyich the Toad
> https://dnyarri.github.io/

I'm sorry to tell you that you are a PROGRAMMER. Anyone that can write anything
in Python (the worse thing since dog ?@%$) has to be a programmer.


Post a reply to this message

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