POV-Ray : Newsgroups : povray.binaries.images : Simple isosurface : Re: Simple isosurface Server Time
9 Aug 2024 08:59:40 EDT (-0400)
  Re: Simple isosurface  
From: Alex Kluchikov
Date: 1 Mar 2005 18:55:01
Message: <web.4224ffd6cc28218a9245723f0@news.povray.org>
"Ross" <rli### [at] everestkcnet> wrote:
> very neat. how simple is simple?

:) Simple is

#declare F=function(X,Y,Z,d){(pow(Y+X,d)+pow(Y+Z,d)+pow(X+Z,d))}
isosurface{
 function{
  F(x*x,y*y,z*z,1/512)*1/3-.995
 }
 threshold 0
 accuracy 0.001
 max_gradient .1
 contained_by{box{-4,4}}
}

Sincerely Yours,
Alex  Kluchikov.


Post a reply to this message

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