POV-Ray : Newsgroups : povray.binaries.images : Using a SOR for an Oval shape - SOR02b.jpg : Re: Using a SOR for an Oval shape - SOR02b.jpg Server Time
2 Aug 2024 06:19:49 EDT (-0400)
  Re: Using a SOR for an Oval shape - SOR02b.jpg  
From: Cousin Ricky
Date: 6 Feb 2008 15:45:01
Message: <web.47aa1be460256f0285de7b680@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> it would help if they were both standing upon the plane.  You know, a true oval
> shape thinner in the upper side and larger in the bottom.  You can't do that by
> just scaling a sphere.  But you can do that with SOR.  Or a blob with 2 sphere
> components with different radius...

union
{  sphere
   {  0, 1 scale <1, 10/9, 1>
      texture { t_Blunt }
   }
   difference
   {  sphere { 0, 1 scale <1, 14/9, 1> }
      plane { y, 0 }
      texture { t_Pointy }
   }
   translate -2/9 * y
   scale 3/4
}



Post a reply to this message


Attachments:
Download 'sphere_egg.jpg' (45 KB)

Preview of image 'sphere_egg.jpg'
sphere_egg.jpg


 

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