POV-Ray : Newsgroups : povray.general : Round Edges Server Time
7 Aug 2024 03:24:52 EDT (-0400)
  Round Edges (Message 1 to 4 of 4)  
From: Martin
Subject: Round Edges
Date: 13 Dec 2001 15:27:01
Message: <3C190FEC.78BD6D39@radiok2r.de>
Hello! Using a CSG-difference to build an object produces often sharp
edges (for example if you cut off a cylinder out of a sphere). Whats the
best way to get smooth, round edges there?

Martin


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Round Edges
Date: 13 Dec 2001 15:56:57
Message: <3c191619@news.povray.org>
In article <3C190FEC.78BD6D39@radiok2r.de> , Martin <mar### [at] radiok2rde>  
wrote:

> Hello! Using a CSG-difference to build an object produces often sharp
> edges (for example if you cut off a cylinder out of a sphere). Whats the
> best way to get smooth, round edges there?

You could use a CSG of three tori and two cylinders.  Basically you do what
you do now, but then you create an inset with two of the tori and the
cylinder.  I don't have time to create a scene, but this ASCII art should
explain it a bit better, I hope:


    ****oo ------- oo****
  *****oooo ----- oooo*****
 ******oooo ----- oooo******
 *******oo$ ----- $oo*******
********$$$ ----- $$$********
********$$$ ----- $$$********
********$$$ ----- $$$********
 *******oo$ ----- $oo*******
 ******oooo ----- oooo******
  *****oooo ----- oooo*****
    ****oo ------- oo****

* = the outer torus, with the part already cut away with one cylinder
o = the two inner tori
$ = the inner cylinder (needs to be open and/or inverted)


    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mike Williams
Subject: Re: Round Edges
Date: 13 Dec 2001 15:58:37
Message: <l6p+RHA3YRG8Ewuo@econym.demon.co.uk>
Wasn't it Martin who wrote:
>Hello! Using a CSG-difference to build an object produces often sharp
>edges (for example if you cut off a cylinder out of a sphere). Whats the
>best way to get smooth, round edges there?

As it happens, Tor Olav Kristensen has very recently posted in
povray.general:-

Subject: Iso-blobbing made easier
http://news.povray.org/3C1816A0.6D6B72C@hotmail.com

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Round Edges
Date: 13 Dec 2001 20:07:44
Message: <3C194E02.E8D5132F@hotmail.com>
Martin wrote:
> 
> Hello! Using a CSG-difference to build an object produces often sharp
> edges (for example if you cut off a cylinder out of a sphere). Whats the
> best way to get smooth, round edges there?

Martin,

as William suggested, you can use the method I
described in my last post to achieve such round
edges (by the help of iso-surfaces in POV-Ray v3.5).

But it is also possible to do it by macros that
does all the necessary transformations and CSG
operations to the object(s) for you.

I have earlier posted several images to the
povray.binaries.images group, where such macros
has been used.

Here's one example image; "Inside it" 17. jan. 2001:

http://news.povray.org/povray.binaries.images/13478/
news://news.povray.org/3A6620ED.E32CE364%40online.no


Tor Olav


Post a reply to this message

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