POV-Ray : Newsgroups : povray.general : clipped_by bug?! : Re: clipped_by bug?! Server Time
11 Aug 2024 23:23:12 EDT (-0400)
  Re: clipped_by bug?!  
From: Rainer Mager
Date: 26 Apr 1999 21:57:17
Message: <37250b6d.0@news.povray.org>
I think I was a little unclear before. I didn't really have any trouble
solving the problem I was just wondering why clipped_by behaved the way it
did. My solution was this:

--Rainer



#declare Screw = difference {
 union {
  cylinder {
   <0, 0, 0>, <0, 0.1, 0>, 0.5
  }
  sphere {
   <0, 0, 0>, 0.5
   scale <1, 0.2, 1>
   translate <0, 0.1, 0>
  }
 }
 intersection {
  union {
   box {
    <-0.1, -0.5, -0.5>, <0.1, 0.5, 0.5>
    rotate x*45
    translate <0, 0.5, 0>
   }
   box {
    <-0.1, -0.5, -0.5>, <0.1, 0.5, 0.5>
    rotate x*45
    rotate y*90
    translate <0, 0.5, 0>
   }
  }
  plane {
   -y, -0.01
  }
 }
}


Post a reply to this message

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