POV-Ray : Newsgroups : povray.newusers : Superellipsoid type round edge, but for arbitrary shapes : Re: Superellipsoid type round edge, but for arbitrary shapes Server Time
4 Sep 2024 20:18:41 EDT (-0400)
  Re: Superellipsoid type round edge, but for arbitrary shapes  
From: Christopher James Huff
Date: 26 Aug 2002 15:06:18
Message: <chrishuff-1258EC.15062726082002@netplex.aussie.org>
In article <web.3d69c07e42c081aa1e1615b30@news.povray.org>,
 "Kaveh" <kav### [at] focalimagecom> wrote:

> I am trying to create 'wafers' with a small depth, and with rounded edges, a
> bit like those created using the superellipsoid command. I can't find a
> simple way to do this. I have tried creating one shape by joining three
> superellipsoids together, but the result is not perfect. Here is my code:

Superellipsoids don't just have rounded edges. The sides of a 
superellipsoid "rounded box" are not flat, for example. The usual method 
is to use a CSG union or merge with sphere, cylinder, or torus objects 
for the rounded edges. There are macros in shapes.inc to make rounded 
versions of several primitives.
Another thing: superellipsoids are slow and prone to errors, and CSG 
gives you more control over the rounding.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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