POV-Ray : Newsgroups : povray.general : clipped_by bug?! : Re: clipped_by bug?! Server Time
11 Aug 2024 23:24:33 EDT (-0400)
  Re: clipped_by bug?!  
From: Bob Hughes
Date: 27 Apr 1999 06:51:31
Message: <3725886A.C7395146@aol.com>
I made a quick checking script of this sort of thing based upon your
question, I understand now what you were actually getting at I think.
Though I found no problem with it. You can check the clipping test out,
I'll put it at the text.scene-files group.


Rainer Mager wrote:
> 
> 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
>   }
>  }
> }

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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