POV-Ray : Newsgroups : povray.newusers : Round box edge : Re: Round box edge Server Time
4 Nov 2024 19:20:55 EST (-0500)
  Re: Round box edge  
From: TinCanMan
Date: 9 Dec 2002 21:42:48
Message: <3df554a8$1@news.povray.org>
> 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>}
  }


Post a reply to this message

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