POV-Ray : Newsgroups : povray.binaries.scene-files : Foaming sea over isosurface : Re: Foaming sea over isosurface Server Time
1 Sep 2024 18:18:40 EDT (-0400)
  Re: Foaming sea over isosurface  
From: Thomas de Groot
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.