POV-Ray : Newsgroups : povray.general : Intersection of cylinder and spherical shell : Re: Intersection of cylinder and spherical shell Server Time
31 Jul 2024 00:34:42 EDT (-0400)
  Re: Intersection of cylinder and spherical shell  
From: triple r
Date: 14 Feb 2008 18:00:00
Message: <web.47b4c5f372c7bea1ae42298f0@news.povray.org>
"thisroad" <nomail@nomail> wrote:

> When I run this, it appears that the sphere is always treated like a solid
> object -- I can get the cylinder inside the sphere, or outside if I use
> "inverse", but not the true intersection points.  Deleting "hollow" doesn't
> change the behavior.  What should I do differently?


What about this?

sphere{<0,0,0>,4
  clipped_by{
     cylinder{PStart,PEnd,0.5}
  }
  pigment{rgb y}
}
......

 - Ricky


Post a reply to this message

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