POV-Ray : Newsgroups : povray.newusers : Round box edge : Re: Round box edge Server Time
4 Nov 2024 19:15:49 EST (-0500)
  Re: Round box edge  
From: Arlon Meisner
Date: 10 Dec 2002 08:30:04
Message: <web.3df5ec086a56a85570499b5a0@news.povray.org>
TinCanMan wrote:
>> I don't understand how a union of these objects will remove the sharp
>corner
>> that lies along the z axis. It seems to me that a union will simply result
>> in two (why two?) boxes with 4 cylinders (lying along the z axis) simply
>> buried in the boxes. An explanation would certainly help this newbie.
>> Thanks.
>
>Try this:
>
>  union{
>    box{<-2,0,-1> <2,1,1>}
>    box{<-1,0,-2> <1,1,2>}
>    cylinder{0 y 1 translate <1,0,1>}
>    cylinder{0 y 1 translate <1,0,-1>}
>    cylinder{0 y 1 translate <-1,0,1>}
>    cylinder{0 y 1 translate <-1,0,-1>}
>  }
>
Thanks all! It sure is obvious when one sees the solution! (smack on
forehead!!!).


Post a reply to this message

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