POV-Ray : Newsgroups : povray.general : Lemon : Re: Lemon Server Time
1 Aug 2024 04:16:23 EDT (-0400)
  Re: Lemon  
From: Chris B
Date: 17 Mar 2006 07:01:35
Message: <441aa51f@news.povray.org>
"Shark" <nomail@nomail> wrote in message 
news:web.441a893b5fb92620b6fe43de0@news.povray.org...
> Hi,
>
> I'm trying to create a shape called a "lemon"
> (http://mathworld.wolfram.com/Lemon.html) using POV-Ray, but am
> encountering problems.
> I need it to have a well-defined inside, so simply clipping a spindle 
> torus
> won't work.
> Also, I'm unsure about the exactness when using a lathe or SOR object.
>
> Does anyone have any suggestions?
>
>

How about one of these:

camera {location <0,0,-2.5> look_at 0}
light_source {<10,20,-100>,1}

difference {
  sphere {0,1.0}
  torus {1,1.414}
  pigment {color rgb <0,1,1>}
  translate -x/2
}

intersection {
  torus {1,1.414 inverse}
  sphere {0,1.0}
  pigment {color rgb <1,1,0>}
  translate x/2
}

Regards,
Chris.


Post a reply to this message

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