POV-Ray : Newsgroups : povray.binaries.images : The lemon is ready : Re: The lemon is ready Server Time
20 May 2024 14:00:44 EDT (-0400)
  Re: The lemon is ready  
From: William F Pokorny
Date: 19 May 2016 12:31:40
Message: <573dea6c$1@news.povray.org>
On 05/19/2016 11:46 AM, LanuHum wrote:
> clipka <ano### [at] anonymousorg> wrote:
>
>>
>> Yes, the /invention/ of Bezier curves was driven by the French
>> automotive industry.
>>
>> But as the article also notes, that was around _1960_.
>>
>> Car body quality requirements have increased quite a lot since then.
>>
>> Note how the "Applications" section in that article lists computer
>> graphics, animation and fonts, but /not/ [contemporary] automotive design.
>
> We distracted, but the task remained unresolved.
> Task:
> To place five spheres so that centers of spheres lay on a lemon surface.
> difference{
> lemon{}
> sphere{??}
> sphere{??}
> sphere{??}
> sphere{??}
> sphere{??}
> }
>
>
http://news.povray.org/povray.binaries.images/attachment/%3Cweb.573cb381370a969c7a3e03fe0%40news.povray.org%3E/lemon.jp
> g
>
> WRITTEN_FOR="LANUHUM"
> use_bezier_lathe = False
> use_lemon = True
> #macro Calculate_points_coords_lemon_surface(number_x,number_y,number_z)
> //bla-bla-bla...
> replace, please, //bla-bla-bla... with the working source code
> If it isn't in documentation, then I don't know how to the rocket to attach
> wings
> :))))))
>
>
>
>
>

The code below uses the new spindle torus & not the lemon, but is 
something like this what you are after?

#declare Torus00=torus { 0.25, 0.5 intersection scale <1,2,1> }
#declare Norm=<0,0,0>;
difference {
     object { Torus00 }
     sphere { trace(Torus00, <1,0,0>,    <-1,0,0>, Norm) , 0.15 }
     sphere { trace(Torus00, <1,0.5,0>,  <-1,0,0>, Norm) , 0.15 }
     sphere { trace(Torus00, <1,-0.5,0>, <-1,0,0>, Norm) , 0.15 }
     pigment { color Niagara }
}

Bill P.


Post a reply to this message

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