POV-Ray : Newsgroups : povray.newusers : pow() : Re: pow() Server Time
29 Jul 2024 04:18:34 EDT (-0400)
  Re: pow()  
From: marabou
Date: 29 Oct 2006 09:32:21
Message: <4544bb75@news.povray.org>
Warp wrote on $DATE:

> marabou <not### [at] availableyet> wrote:
>> pow ( pow(a,2) - pow(b,2) + pow(c,2), 2)
> 
>   I don't get any error when I try that.
> 
and if you try that?

isosurface {
   function {
      pow( pow(x,2)+pow(y,2)+pow(z,2),2) + 
(1-z-x*sqrt(2))*(1-z+x*sqrt(2))*(1+z-x*sqrt(2))*(1+z+x*sqrt(2))
   }
   max_gradient 10
   contained_by{box {-1,1}}
}


Post a reply to this message

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