POV-Ray : Newsgroups : povray.general : isosurface max gradient : isosurface max gradient Server Time
5 Aug 2024 08:20:20 EDT (-0400)
  isosurface max gradient  
From: chaps
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

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