POV-Ray : Newsgroups : povray.binaries.images : New shape - Rounded_Box : Re: New shape - Rounded_Box Server Time
4 May 2024 05:45:21 EDT (-0400)
  Re: New shape - Rounded_Box  
From: Anthony D  Baye
Date: 8 Jul 2016 15:10:00
Message: <web.577ff98195cd9e47fd6b6fe10@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I was in need of a shape that had two different "roundings" - and so I rewrote
> Friedrich Lohmueller's "Round_Box" macro to give the same rounded edge on the
> corners where the X-Y and Y-Z sides intersect, but with a different radius on
> the corners defined by the X-Z intersections.
>
> It took quite some time to conceive what was needed, add all of the new
> variables, and work out some of the bugs, but it gives a nice smooth box
> suitable for my present purpose.
>
> I'm sure it's "breakable" for certain input values to the macro in it's present
> condition, so I'll need to add certain tests, sanity checks, corrections, and
> warning messages.
>
> A "Half_Rounded_Box" will likely be forthcoming - one half round box, with one
> half rounded box.   I suppose I could "cheat" and just union smaller versions of
> the two together for the time being...

is f_rounded_box not good for this?

Regards,
A.D.B.


Post a reply to this message

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