POV-Ray : Newsgroups : povray.unofficial.patches : Question about isosurface functions : Re: Question about isosurface functions Server Time
2 Sep 2024 12:13:42 EDT (-0400)
  Re: Question about isosurface functions  
From: Chris Huff
Date: 4 Jan 2000 12:29:32
Message: <chrishuff_99-6D76A9.12293704012000@news.povray.org>
In article <387228ee@news.povray.org>, Nieminen Juha 
<war### [at] punarastascstutfi> wrote:

>   If this gives me a sphere:
> 
> isosurface { function { x^2+y^2+z^2-1 } }
> 
> why this doesn't:
> 
> #declare f1 = function { x }
> #declare f2 = function { y }
> #declare f3 = function { z }
> isosurface { function { f1^2+f2^2+f3^2-1 } }
> 
> ?

I think there might be a bug with the isosurface functions when the 
parameters are not specified. I think it should use (x, y, z) by 
default, but this crashed MacMegaPOV when I tried it. Try using:
isosurface {
    function {
        f1(x, y, z)^2+
        f2(x, y, z)^2+
        f3(x, y, z)^2-1
    }
}
instead.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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