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