POV-Ray : Newsgroups : povray.general : How to fraction a sphere in slices : Re: How to fraction a sphere in slices Server Time
14 Aug 2024 01:16:15 EDT (-0400)
  Re: How to fraction a sphere in slices  
From: Pierre Abbat
Date: 5 Oct 1999 21:47:32
Message: <939174452.1488716342@news.povray.org>
On Tue, 28 Apr 1998, miro wrote:
>How can I fraction a sphere in slices as those of the oranges or lemons and
>that, furthermore, they have different widths? For example, one a 40
>percent, other a 10 percent, other a 30 percent  and other a 20 percent?

intersection {
  sphere{ <0,0,0>,1}
  plane {<0,0,1>,0}
  plane{ <0.618034,0,0.7861514>,0}
  }

If the sector is more than 90 degrees, do a difference, or take the
intersection of the sphere with the union of two planes.

phma


Post a reply to this message

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