POV-Ray : Newsgroups : povray.newusers : Bevel me this Server Time
5 Nov 2024 09:22:40 EST (-0500)
  Bevel me this (Message 1 to 3 of 3)  
From: Bill Hails
Subject: Bevel me this
Date: 31 Dec 2003 07:06:26
Message: <3ff2bbc2@news.povray.org>
I'm working on a csg model that has a lot of
bevelled edges. I'm posting an example
of the problem (not the model I'm working on)
to p.b.i with the same subj.

Basically I can bevel convex and concave
edges by a combination of spheres and
cylinders, but it all breaks down when
a convex edge meets a concave one (coloured
red in the example picture). The bevelling
should flow round the corners and fade out.

Anyone's math up to this? Mine isn't. I
know the solution should have only a single
variable, the bevel radius, but I'm stuck
beyond that point.

The pic I'm working on is much more complex
than the pic posted, so isosurfaces are not
an option in general, though an isosurface
plug to fill the corner might work.

-- 
Bill Hails


Post a reply to this message

From: Hugo Asm
Subject: Re: Bevel me this
Date: 31 Dec 2003 08:33:54
Message: <3ff2d042@news.povray.org>
Hi Bill,

I had to think a little, but the solution is to use torus. I've posted a
picture to illustrate it. It's quite simple in terms of math. You need to
bevel the corners that are sharp at the moment. By using clipped torus (so
it's only 1/4 torus) the corners will be bevelled to fit the inversed
cylinders.

After doing this, you will probably need 3 more cylinders to .. eeh how can
I explain it.. oh, you will easily see and fix that little problem.. oh it's
difficult to explain with words.  ;o)

Regards,
Hugo


Post a reply to this message

From: Bill Hails
Subject: Re: Bevel me this
Date: 31 Dec 2003 11:27:38
Message: <3ff2f8fa@news.povray.org>
Hugo Asm wrote:

> Hi Bill,
> 
> I had to think a little, but the solution is to use torus. I've posted a
> picture to illustrate it. It's quite simple in terms of math. You need to
> bevel the corners that are sharp at the moment. By using clipped torus (so
> it's only 1/4 torus) the corners will be bevelled to fit the inversed
> cylinders.
> 
> After doing this, you will probably need 3 more cylinders to .. eeh how
> can I explain it.. oh, you will easily see and fix that little problem..
> oh it's
> difficult to explain with words.  ;o)
> 
> Regards,
> Hugo

Thanks Hugo, It worked perfectly, see p.b.i
I had to union/intersect/difference with a box, cylinder and torus
to get the shape but the result is spot on.

-- 
Bill Hails


Post a reply to this message

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