POV-Ray : Newsgroups : povray.general : Maybe someone can help me ... : Re: Maybe someone can help me ... Server Time
29 Jul 2024 04:25:18 EDT (-0400)
  Re: Maybe someone can help me ...  
From: Brendt Hess
Date: 11 Jan 2000 19:50:44
Message: <387bcfe4@news.povray.org>
Oops - that's what I get for replying now, reading later :)

Here's a method of doing it from spheres that works as well (based on your
code).  It uses the fact that a sphere at any given point around the radius
r is proportional to the cosine of r/2.

// Source //

#declare O_Ying=
union
{
    #declare R=1;
    #while (R>0)
        #declare A=R*180;
        #declare A1=90-A/2;
        #declare RealR=cos(radians(A1));
        sphere {<0,0,0>,RealR translate < 2-RealR,0,0> rotate y*A}

    #declare R=R-0.01;
    #end
}

#declare O_Yang=
object
{
    O_Ying
    rotate y*180
}

// End Source //

Brendt Hess wrote in message <387bb1db@news.povray.org>...
>
>As I always say, when in doubt - cheat!
>


Post a reply to this message

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