POV-Ray : Newsgroups : povray.general : isosurface max gradient Server Time
6 Nov 2024 04:16:59 EST (-0500)
  isosurface max gradient (Message 1 to 3 of 3)  
From: chaps
Subject: isosurface max gradient
Date: 24 Oct 2002 14:37:19
Message: <3db83ddf$1@news.povray.org>
I was checking max gradient of an isosuface in order to speed up rendering.
my code is:

        #declare Tentacule = isosurface {
        //        function { TentaFct(x*(1+0.006*(6-y)*sin(12*atan2(z,x))),
select(y,0.75*y,y), z*(1+0.006*(6-y)*sin(12*atan2(z,x))) ) }
                function { TentaFct( x , y , z ) }
                        max_gradient 2
                        evaluate 2 1.05 0.95
                        contained_by {
                                box {<5.5,-0.3,5.5>,<-5.5,-15,-5.5>}
                        }
        #if (Finish > 0)
                hollow
                interior { ITent }
        #end
                texture { TTent }
        }

And the result in message window is

    Warning: Evaluate found a maximum gradient of 2.000 and an average
    gradient of 2.000. The maximum gradient variation was 0.000.

    It is recommended to adjust the parameters of 'evaluate' to:
    First parameter less than 2.000
    Second parameter less than 1.000 and greater than 1.0
    Third parameter greater than 1.000 and less than 1.0

What does it mean?

Chaps


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: isosurface max gradient
Date: 24 Oct 2002 15:10:54
Message: <3db845be$1@news.povray.org>
In article <3db83ddf$1@news.povray.org> , "chaps" <cha### [at] yahoocom> wrote:

> I was checking max gradient of an isosuface in order to speed up rendering.
<snip>
> What does it mean?

"max_gradient 2.0" and reading the manual why evaluate is unnecessary to
find a better max_gradient.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: chaps
Subject: Re: isosurface max gradient
Date: 24 Oct 2002 15:16:18
Message: <3db84702$1@news.povray.org>
Right?
2 was the first value that I wrote, that's chance. I run to play Loto.

Chaps

"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3db845be$1@news.povray.org...
> In article <3db83ddf$1@news.povray.org> , "chaps" <cha### [at] yahoocom>
wrote:
>
> > I was checking max gradient of an isosuface in order to speed up
rendering.
> <snip>
> > What does it mean?
>
> "max_gradient 2.0" and reading the manual why evaluate is unnecessary to
> find a better max_gradient.
>
>     Thorsten
>
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: tho### [at] trfde
>
> Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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