 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hello,
Another Matmod example: “Mesh Torus”.
Not easy to transcode. I've had quite a few difficulties.
The description refers to POV :
"Mesh Torus ( reference : http://www.povray.org/ ) by Abderrahman Taha
02/11/2019". I couldn't find the link :)
Fast rendering.
max_gradient calculated by POV is really small: 0.62.
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
Attachments:
Download 'meshtorus.png' (421 KB)
Preview of image 'meshtorus.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
kurtz le pirate <kur### [at] free fr> wrote:
> Hello,
>
> Another Matmod example: “Mesh Torus”.
> Not easy to transcode. I've had quite a few difficulties.
and I can't stop looking at it. thanks. [insert superlatives here] :-). since
you, with the "maths" and all did find it difficult to achieve, there'd be .. no
hope for me, anyway, so, would you consider making the code/object public ?
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 26/12/2024 17:58, jr wrote:
> hi,
> and I can't stop looking at it. thanks. [insert superlatives here] :-). since
> you, with the "maths" and all did find it difficult to achieve, there'd be .. no
> hope for me, anyway, so, would you consider making the code/object public ?
The code ? Yes, of course !
The source is attached to this post.
Have fun ;)
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
Attachments:
Download 'prettyball_3.pov.zip' (3 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
> The code ? Yes, of course !
> The source is attached to this post.
merci beaucoup, much obliged.
> Have fun ;)
looks like the weekend has been taken care of.. ;-)
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> On 26/12/2024 17:58, jr wrote:
> > hi,
>
> > and I can't stop looking at it. thanks. [insert superlatives here] :-). since
> > you, with the "maths" and all did find it difficult to achieve, there'd be .. no
> > hope for me, anyway, so, would you consider making the code/object public ?
>
> The code ? Yes, of course !
>
> The source is attached to this post.
> Have fun ;)
>
>
>
>
>
> --
> kurtz le pirate
> compagnie de la banquise
I'd be interested to know what the "p" parameter was intended to be used for? I
looked through the code and it gets passed everywhere as an argument, but is
never used in the body of any of the function definitions.
-- Chris R
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
kurtz le pirate <kur### [at] free fr> wrote:
>
>
> Fast rendering.
> max_gradient calculated by POV is really small: 0.62.
>
That is spectacular and beautiful. And with a max_gradient of only 0.62?? Wow.
> > [from jr:]
> > so, would you consider making the code/object public ?
> The code ? Yes, of course !
> The source is attached to this post. [Prettyball_3]
Your Prettyball_3 code produces a different result than your "Mesh Torus"
image-- although this example is quite beautiful as well! Did you mean to post
the Mesh Torus code instead? Like jr, I would love to see how you created it.
Post a reply to this message
Attachments:
Download 'prettyball_3_by_kurtz__kw.jpg' (27 KB)
Preview of image 'prettyball_3_by_kurtz__kw.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 27/12/2024 15:27, Kenneth wrote:
> kurtz le pirate <kur### [at] free fr> wrote:
>>
>>
>> Fast rendering.
>> max_gradient calculated by POV is really small: 0.62.
>>
>
> That is spectacular and beautiful. And with a max_gradient of only 0.62?? Wow.
>
>>> [from jr:]
>>> so, would you consider making the code/object public ?
>
>> The code ? Yes, of course !
>> The source is attached to this post. [Prettyball_3]
>
> Your Prettyball_3 code produces a different result than your "Mesh Torus"
> image-- although this example is quite beautiful as well! Did you mean to post
> the Mesh Torus code instead? Like jr, I would love to see how you created it.
>
>
>
_ ____ _ _
| | / __ \| | | |
| | | | | | | | |
| | | | | | | | |
| |___| |__| | |____ |_|
|______\____/|______| (_)
I made a mistake and uploaded the wrong file.
I now put the code for "MeshTorus".
This makes two samples.
Sorry...
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
Attachments:
Download 'meshtorus.pov.zip' (3 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
kurtz le pirate <kur### [at] free fr> wrote:
> On 27/12/2024 15:27, Kenneth wrote:
> > kurtz le pirate <kur### [at] free fr> wrote:
> >>
> >>
> >> Fast rendering.
> >> max_gradient calculated by POV is really small: 0.62.
> >>
> >
> > That is spectacular and beautiful. And with a max_gradient of only 0.62?? Wow.
> >
> >>> [from jr:]
> >>> so, would you consider making the code/object public ?
> >
> >> The code ? Yes, of course !
> >> The source is attached to this post. [Prettyball_3]
> >
> > Your Prettyball_3 code produces a different result than your "Mesh Torus"
> > image-- although this example is quite beautiful as well! Did you mean to post
> > the Mesh Torus code instead? Like jr, I would love to see how you created it.
> >
> _ ____ _ _
> | | / __ \| | | |
> | | | | | | | | |
> | | | | | | | | |
> | |___| |__| | |____ |_|
> |______\____/|______| (_)
>
> I made a mistake and uploaded the wrong file.
> I now put the code for "MeshTorus".
hey, thanks KW & KlP for saving the weekend :-).
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 27/12/2024 15:11, Chris R wrote:
> I'd be interested to know what the "p" parameter was intended to be used for? I
> looked through the code and it gets passed everywhere as an argument, but is
> never used in the body of any of the function definitions.
Good observation Chris.
The 'p' parameter corresponds to the 't' parameter in Mathmod. It can be
used for animations and, in some cases, directly for isosurfaces.
For exemple in 'Holed Spheres', the 'ThickIso' function use this fourth
parameter : "ThickIso=max(Iso2(x,y,z,1), Iso2(x,y,z,-1))".
To keep my questions to a minimum, I've chosen to always use all 4
parameters, even if they're not all used, and then I want to test the
animations, so that's all ready.
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> On 26/12/2024 17:58, jr wrote:
> > hi,
>
> > and I can't stop looking at it. thanks. [insert superlatives here] :-). since
> > you, with the "maths" and all did find it difficult to achieve, there'd be .. no
> > hope for me, anyway, so, would you consider making the code/object public ?
>
> The code ? Yes, of course !
>
> The source is attached to this post.
> Have fun ;)
I've now modified this file so that it runs a bit faster.
See the attached SDL file.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
Attachments:
Download 'prettyball_1_at_klp_tok.pov.txt' (4 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmail com> wrote:
> kurtz le pirate <kur### [at] free fr> wrote:
> > On 26/12/2024 17:58, jr wrote:
> > > hi,
> >
> > > and I can't stop looking at it. thanks. [insert superlatives here] :-). since
> > > you, with the "maths" and all did find it difficult to achieve, there'd be .. no
> > > hope for me, anyway, so, would you consider making the code/object public ?
> >
> > The code ? Yes, of course !
> >
> > The source is attached to this post.
> > Have fun ;)
>
> I've now modified this file so that it runs a bit faster.
> See the attached SDL file.
Here it is again. This time with Kurtz name spelled correctly. Sorry about that.
There's also some other minor changes.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
Attachments:
Download 'prettyball_1_at_klp_tok.pov.txt' (4 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmail com> wrote:
> ...
> > > The code ? Yes, of course !
> > > The source is attached to this post.
> > > Have fun ;)
> >
> > I've now modified this file so that it runs a bit faster.
> > See the attached SDL file.
>
> Here it is again. This time with Kurtz name spelled correctly. Sorry about that.
> There's also some other minor changes.
thanks, will you post code for the "candy-stripe" version too ? tia.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
kurtz le pirate <kur### [at] free fr> wrote:
>...
> _ ____ _ _
> | | / __ \| | | |
> | | | | | | | | |
> | | | | | | | | |
> | |___| |__| | |____ |_|
> |______\____/|______| (_)
>
>
>
> I made a mistake and uploaded the wrong file.
> I now put the code for "MeshTorus".
>...
Attached is my rewritten version.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
Attachments:
Download 'meshtorus_at_klp_tok.pov.txt' (6 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmail com> wrote:
> > ...
> > > > The code ? Yes, of course !
> > > > The source is attached to this post.
> > > > Have fun ;)
> > >
> > > I've now modified this file so that it runs a bit faster.
> > > See the attached SDL file.
> >
> > Here it is again. This time with Kurtz name spelled correctly. Sorry about that.
> > There's also some other minor changes.
>
> thanks, will you post code for the "candy-stripe" version too ? tia.
See my recent post to povray.binaries.scene-files.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 28/12/2024 15:34, Tor Olav Kristensen wrote:
>
> I've now modified this file so that it runs a bit faster.
A bit ?
Indeed, it's three times faster. Really impressive.
Bravo
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 29/12/2024 22:10, Tor Olav Kristensen wrote:
> Attached is my rewritten version.
Also three times faster.
But, why this declaration : #declare tau = 2*pi; ?
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
kurtz le pirate <kur### [at] free fr> wrote:
> On 28/12/2024 15:34, Tor Olav Kristensen wrote:
> > I've now modified this file so that it runs a bit faster.
> A bit ?
> Indeed, it's three times faster. Really impressive.
looking at the 'prettyball' image, the object's three "components", has me
wonder (naively) if that is a 3D version of the "triply periodic minimal
surface" patterns that Bald Eagle played with some months ago. is the
prettyball "related" ?
again, thank you, both.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> On 29/12/2024 22:10, Tor Olav Kristensen wrote:
>
> But, why this declaration : #declare tau = 2*pi; ?
>
I noticed that too. It is probably there for v3.7 users; the 3.8 betas now have
a built-in 'tau' keyword.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Kenneth" <kdw### [at] gmail com> wrote:
> kurtz le pirate <kur### [at] free fr> wrote:
> > On 29/12/2024 22:10, Tor Olav Kristensen wrote:
> >
> > But, why this declaration : #declare tau = 2*pi; ?
> >
> I noticed that too. It is probably there for v3.7 users; the 3.8 betas now have
> a built-in 'tau' keyword.
Yes, that's why. I'm still at v3.7.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |