POV-Ray : Newsgroups : povray.binaries.images : Isosurface help? : Re: Isosurface help? Server Time
7 Nov 2024 13:37:29 EST (-0500)
  Re: Isosurface help?  
From: Rob Richens
Date: 4 Aug 2004 00:34:12
Message: <41106744$1@news.povray.org>
That was exactly what I was looking for!  Thanks!

Rob
"Slime" <fak### [at] emailaddress> wrote in message
news:410c9a5e@news.povray.org...
> x*(.5-y/6)
>
> You're on the right track with that. Try this:
>
> x-y/6
>
> and you'll find that you have a quadrilateral block. Now you just need to
> mirror that across the center. One way to do this is:
>
> abs(x)-y/6
>
> which only works because the block starts off symmetrical. An alternative
> option is:
>
> x - sign(x)*y/6
>
> where sign(x) is defined as (untested code):
>
> #declare sign = function(x) {select(x,-1,1)}
>
>  - Slime
>  [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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