POV-Ray : Newsgroups : povray.newusers : isosurface extrude and rounded edges : Re: isosurface extrude and rounded edges Server Time
29 Jul 2024 08:22:40 EDT (-0400)
  Re: isosurface extrude and rounded edges  
From: utak3r
Date: 26 Mar 2006 10:20:01
Message: <web.4426b04a190c41edd866f3010@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> >BUT - it would be _much_ better if it had rounded edges... but how the
> >hell do it? I wonder if there's a way to distort for example
> >f_rounded_box with sin(x)?...
>
> Here's a f_rounded_box distorted by sin(x*pi)*WaveHeight:
>
> isosurface {
>    function { f_rounded_box(x,(y - sin(x*pi)*WaveHeight),z,Roundness,1,
>         Thickness,1)}
>    contained_by { box { <-1,-0.5,-1>, < 1, 0.5, 1> } }
>    max_gradient 1.1
> }

Och.... I can see now I have to learn a lot more about those functions and
operating their parameters, substitutions and so on... ;)

Thanks a lot!
--
Piotr Borys


Post a reply to this message

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