POV-Ray : Newsgroups : povray.unofficial.patches : isosurface bug? (again) : Re: isosurface bug? (again) Server Time
2 Sep 2024 04:19:00 EDT (-0400)
  Re: isosurface bug? (again)  
From: Jetlag
Date: 16 May 2000 13:20:45
Message: <3921836d@news.povray.org>
> The truly puzzled, but still loving isosurfaces, Quadhall
>
> #version unofficial MegaPOV 0.5;
> light_source { <0,3,-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}}
>  eval
>  max_gradient 1
>  threshold 1
>  pigment{color rgb 1}
>  translate <-1,0,0>
> }

Do:

>  max_gradient 8

or:

>  contained_by{sphere {0,1.1}}
>  max_gradient 2.2

which is faster.
Just doing:

>  function {a}

seems to work too.  I'm baffled by the inconsistencies.


Post a reply to this message

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