POV-Ray : Newsgroups : povray.newusers : Round box edge : Re: Round box edge Server Time
31 Jul 2024 06:26:22 EDT (-0400)
  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.