POV-Ray : Newsgroups : povray.newusers : isosurface help : Re: isosurface help Server Time
2 Nov 2024 15:24:12 EDT (-0400)
  Re: isosurface help  
From: ehmdjii
Date: 5 Dec 2003 07:03:23
Message: <Xns944884CF1C0ECehmdjiiNOSPAMgmxnet@204.213.191.226>
Mike Williams <nos### [at] econymdemoncouk> wrote in news:2QZuLHAU2Xz
$Ewr### [at] econymdemoncouk:

> But you want the difference, not the intersection, so you need to turn
> the inner isosurface inside out:
> http://www.econym.demon.co.uk/isotut/insideout.htm

your tutorial is great! thanks!
i found a method to do it, but a little bit different:

#declare X=function{x}
#declare Y=function{y}                  
         
isosurface {
    function { min(X(x,y,z),Y(x,y,z),-X(x,y,z),-Y(x,y,z)) }  
    threshold -0.5
    contained_by { box { -1, 1 } }
} 

thanks!

btw: i saw, that you are also into fractals.
have you ever made an isosurfacefunction that generates a fractal 
landscape with midpoint displacement algorithm?
(maybe i should open a new thread for this)


Post a reply to this message

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