POV-Ray : Newsgroups : povray.newusers : cutting irregular holes?! : Re: cutting irregular holes?! Server Time
2 Nov 2024 03:14:38 EDT (-0400)
  Re: cutting irregular holes?!  
From: Slime
Date: 14 Sep 2004 16:29:14
Message: <4147549a$1@news.povray.org>
> Not impossible but I confess it was harder than I expected

More simply:

union {
 intersection {
  cylinder { // right roundedness
   -1*z, 1*z, 1
   translate -x*.3
  }
  cylinder { // left roundedness
   -1.0001*z, 1.0001*z, 1
   translate  x*.3
  }
 }

 box { <-.7,-1,-1> <.7,0,1>  } // square window area

 pigment {rgb 1}
}

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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