POV-Ray : Newsgroups : povray.newusers : Is there a function... : Re: Is there a function... Server Time
4 Nov 2024 17:35:54 EST (-0500)
  Re: Is there a function...  
From: Christopher James Huff
Date: 10 Jul 2003 12:15:18
Message: <cjameshuff-DCCF96.11121210072003@netplex.aussie.org>
In article <3f0d2ae9$1@news.povray.org>,
 "Tom Melly" <tom### [at] tomandlucouk> wrote:

> Take a look at "superellipsoid" (6.5.1.11) for rounded boxes and cylinders (a
> much under-used primitive imho).

    Two problems: 1) you can't specify a radius for the rounding, 2) 
this is because it doesn't have one. The superellipsoid is incapable of 
making a rounded cone or box, though it will make shapes that closely 
resemble them. The round never transitions into a flat cylinder or box 
edge...sometimes useful, but often undesired.

    Precise CSG with a superellipsoid is difficult, and CSG of 
cylinders, spheres, toruses, and boxes is also more flexible. With a 
superellipsoid, you always get rounded pseudo-cubes and cylinders with a 
length of 2 units and a radius of 1. Uneven scaling gives you uneven 
rounding, and positioning is inconvenient.

-- 
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.