POV-Ray : Newsgroups : povray.binaries.images : Isosurfac and Matmod. Server Time
6 Jan 2025 19:26:50 EST (-0500)
  Isosurfac and Matmod. (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From: kurtz le pirate
Subject: Isosurfac and Matmod.
Date: 26 Dec 2024 05:42:36
Message: <676d331c@news.povray.org>
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'
meshtorus.png


 

From: jr
Subject: Re: Isosurfac and Matmod.
Date: 26 Dec 2024 12:00:00
Message: <web.676d8b3ae02b1099b2e841a6cde94f1@news.povray.org>
hi,

kurtz le pirate <kur### [at] freefr> wrote:
> Hello,
>

> 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

From: kurtz le pirate
Subject: Re: Isosurfac and Matmod.
Date: 26 Dec 2024 12:45:01
Message: <676d961d$1@news.povray.org>
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)

From: jr
Subject: Re: Isosurfac and Matmod.
Date: 27 Dec 2024 02:35:00
Message: <web.676e5774e02b1099b2e841a6cde94f1@news.povray.org>
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

From: Chris R
Subject: Re: Isosurfac and Matmod.
Date: 27 Dec 2024 09:15:00
Message: <web.676eb59be02b1099a40969eb5cc1b6e@news.povray.org>
kurtz le pirate <kur### [at] freefr> 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

From: Kenneth
Subject: Re: Isosurfac and Matmod.
Date: 27 Dec 2024 09:30:00
Message: <web.676eb931e02b1099e83955656e066e29@news.povray.org>
kurtz le pirate <kur### [at] freefr> 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'
prettyball_3_by_kurtz__kw.jpg


 

From: kurtz le pirate
Subject: Re: Isosurfac and Matmod.
Date: 27 Dec 2024 13:06:39
Message: <676eecaf$1@news.povray.org>
On 27/12/2024 15:27, Kenneth wrote:
> kurtz le pirate <kur### [at] freefr> 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)

From: jr
Subject: Re: Isosurfac and Matmod.
Date: 28 Dec 2024 00:30:00
Message: <web.676f8ca3e02b1099b2e841a6cde94f1@news.povray.org>
hi,

kurtz le pirate <kur### [at] freefr> wrote:
> On 27/12/2024 15:27, Kenneth wrote:
> > kurtz le pirate <kur### [at] freefr> 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

From: kurtz le pirate
Subject: Re: Isosurfac and Matmod.
Date: 28 Dec 2024 05:26:32
Message: <676fd258$1@news.povray.org>
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

From: Tor Olav Kristensen
Subject: Re: Isosurfac and Matmod.
Date: 28 Dec 2024 09:35:00
Message: <web.67700c85e02b1099d209902e89db30a9@news.povray.org>
kurtz le pirate <kur### [at] freefr> 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)

Goto Latest 10 Messages Next 9 Messages >>>

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