POV-Ray : Newsgroups : povray.binaries.scene-files : Foaming sea over isosurface Server Time
1 Sep 2024 16:16:30 EDT (-0400)
  Foaming sea over isosurface (Message 1 to 6 of 6)  
From: Thomas de Groot
Subject: Foaming sea over isosurface
Date: 4 Feb 2005 03:00:15
Message: <42032b8f@news.povray.org>
For the image and question in p.b.i., this is the scene file in question,
and a slightly modified geomorph macro: addition of  #declare FinalFunction,
which is the function from which the isosurface is built (y-FinalFunction),
and intended to be used for creating the foaming shallows (?).

Any help will be much appreciated!

Thomas


Post a reply to this message


Attachments:
Download 'Jacquier sea.pov.txt' (10 KB) Download 'Geomorph_mcr22.pov.txt' (27 KB)

From: Marc Jacquier
Subject: Re: Foaming sea over isosurface
Date: 4 Feb 2005 03:38:10
Message: <42033472$1@news.povray.org>

news:42032b8f@news.povray.org...
> For the image and question in p.b.i., this is the scene file in question,
> and a slightly modified geomorph macro: addition of  #declare
FinalFunction,
> which is the function from which the isosurface is built
(y-FinalFunction),
> and intended to be used for creating the foaming shallows (?).
>
> Any help will be much appreciated!
>
> Thomas
>
>
>
Hi Thomas

I'll have a look at this this evening :)

Marc


Post a reply to this message

From: Thomas de Groot
Subject: Re: Foaming sea over isosurface
Date: 4 Feb 2005 08:26:33
Message: <42037809@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> schreef in bericht
news:42033472$1@news.povray.org...
>
> Hi Thomas
>
> I'll have a look at this this evening :)
>
> Marc
>
>
Merci Marc!

Thomas


Post a reply to this message

From: Marc Jacquier
Subject: Re: Foaming sea over isosurface
Date: 4 Feb 2005 13:34:23
Message: <4203c02f$1@news.povray.org>

news:42037809@news.povray.org...
>
> "Marc Jacquier" <jac### [at] wanadoofr> schreef in bericht
> news:42033472$1@news.povray.org...
> >
> > Hi Thomas
> >
> > I'll have a look at this this evening :)
> >
> > Marc
> >
> >
> Merci Marc!
>
LOL wait, I didn't promise I'll fix it
I had a look at your code
It is very rich and I didn't understand how the whole works :)
I didn't dowload the documentation from the wiki page (is .pdf.safe the
planned extention?)
But I think implementing the foam depending on the function is not trivial.

A 1st issue, may be: you limit your islands by contained_by boxes but the
function spreads across space, then so does the pigment.
To see what it looks like, I replaced the sea isosurface by
plane {y, 0 pigment {P_img} }
2nd issue: It seems your function is not constrained between 0 and 1, so the
pigment shows strips as the map folds (as if when the function rises over 1,
the map resets at 0)

At this moment I see no way to fix that but I'm far from a maths freak.

Marc


Post a reply to this message

From: Alain
Subject: Re: Foaming sea over isosurface
Date: 4 Feb 2005 14:43:29
Message: <4203d061$1@news.povray.org>
Marc Jacquier nous apporta ses lumieres en ce 2005-02-04 13:35:

> news:42037809@news.povray.org...
> 
>>"Marc Jacquier" <jac### [at] wanadoofr> schreef in bericht
>>news:42033472$1@news.povray.org...
>>
>>>Hi Thomas
>>>
>>>I'll have a look at this this evening :)
>>>
>>>Marc
>>>
>>>
>>
>>Merci Marc!
>>
> 
> LOL wait, I didn't promise I'll fix it
> I had a look at your code
> It is very rich and I didn't understand how the whole works :)
> I didn't dowload the documentation from the wiki page (is .pdf.safe the
> planned extention?)
> But I think implementing the foam depending on the function is not trivial.
> 
> A 1st issue, may be: you limit your islands by contained_by boxes but the
> function spreads across space, then so does the pigment.
> To see what it looks like, I replaced the sea isosurface by
> plane {y, 0 pigment {P_img} }
> 2nd issue: It seems your function is not constrained between 0 and 1, so the
> pigment shows strips as the map folds (as if when the function rises over 1,
> the map resets at 0)
> 
> At this moment I see no way to fix that but I'm far from a maths freak.
> 
> Marc
> 
> 
The ".safe" is extraneoun, remove it and only keep the .pdf extention. It may get
added as a safety 
net for executable.

Alain


Post a reply to this message

From: Thomas de Groot
Subject: Re: Foaming sea over isosurface
Date: 5 Feb 2005 03:02:10
Message: <42047d82@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> schreef in bericht
news:4203c02f$1@news.povray.org...
>
> LOL wait, I didn't promise I'll fix it
> I had a look at your code
> It is very rich and I didn't understand how the whole works :)
> I didn't dowload the documentation from the wiki page (is .pdf.safe the
> planned extention?)
> But I think implementing the foam depending on the function is not
trivial.
>

That's allright, Marc! If you could fix it, I would be extatic! ;-) But
every little bit of
advice will help. Thanks a lot for taking time to tackle the problem.
I am not sure where the 'safe' comes from. But make it just pdf and it will
be allright.


> A 1st issue, may be: you limit your islands by contained_by boxes but the
> function spreads across space, then so does the pigment.
> To see what it looks like, I replaced the sea isosurface by
> plane {y, 0 pigment {P_img} }
> 2nd issue: It seems your function is not constrained between 0 and 1, so
the
> pigment shows strips as the map folds (as if when the function rises over
1,
> the map resets at 0)
>

Hmm... yes, your first issue is obvious, but I did not realise the
implications of it...
The 2nd issue means in fact that first the function should be constrained
between 0 and 1 before transforming it into a pigment, right? I am not sure
how to do that, but I shall have a look at the documentation and at the
isosurface tutorial of Mike Williams. Perhaps that helps...

> At this moment I see no way to fix that but I'm far from a maths freak.

Neither am I unfortunately  :-(

Thomas


Post a reply to this message

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