POV-Ray : Newsgroups : povray.newusers : cutting irregular holes?! : Re: cutting irregular holes?! Server Time
30 Jul 2024 06:31:31 EDT (-0400)
  Re: cutting irregular holes?!  
From: Jim Charter
Date: 14 Sep 2004 16:16:02
Message: <41475182$1@news.povray.org>
frozen wrote:

> Correct me, if I'm wrong, but it seems impossible to create archs with a
> sharp upper end?  
> 
Not impossible but I confess it was harder than I expected:

intersection {

         intersection {

                 union {
                         cylinder {
                           -1*z, 1*z, 1


                         }
                         box { <-1,-1,-1> <1,0,1>  }

                         translate x*-.30
                 }

                 union {
                         cylinder {
                           -1*z, 1*z, 1


                         }
                         box { <-1,-1,-1> <1,0,1>  }

                         translate x*.30
                 }

         }

         box { <-1.1,-1.1,-0.9> <1.1,2,0.9> }

         pigment {
              rgb 1
             }
}


Post a reply to this message

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