POV-Ray : Newsgroups : povray.unofficial.patches : iso-bug (yet again) : Re: iso-bug (yet again) Server Time
2 Sep 2024 02:18:49 EDT (-0400)
  Re: iso-bug (yet again)  
From: Tom Melly
Date: 6 Jul 2000 04:12:42
Message: <39643f7a$1@news.povray.org>
"hall" <tre### [at] ww-interlinknet> wrote in message
news:39621861@news.povray.org...
> the code:
>
> #version unofficial MegaPOV 0.5;
> light_source { <3,5,-8> 1 shadowless}
> camera{ location  <0,0,-4> look_at   <0,0,0> }
>
> #declare a = function { x*x+y*y+z*z }
>
> isosurface
> {
>  function {a(x,y,z)}
>  contained_by{sphere {0,4}}
>  threshold 1
>  method 1
>  eval
>  pigment{color rgb 1}
>  translate <-1,0,0>
> }
>
> isosurface
> {
>  function {a(x,y,z)}
>  contained_by{sphere {0,4}}
>  threshold 1
>  method 2
>  eval
>  pigment{color rgb 1}
>  translate <1,0,0>
> }
>

Try adding  a max_gradient value - eval should give you the right(ish) val,
but check the output of eval on subsequent renders to get the final correct
val for max_gradient. I had exactly the same problem.


Post a reply to this message

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