POV-Ray : Newsgroups : povray.text.scene-files : Maybe someone can help me ... : Re: Maybe someone can help me ... Server Time
29 Jul 2024 04:32:42 EDT (-0400)
  Re: Maybe someone can help me ...  
From: omniVERSE
Date: 29 Dec 1999 10:58:32
Message: <386a2fa8@news.povray.org>
// I tried this:

#declare O_Ying=
union
{
    #declare R=0;
    #while (R<1)
    #declare A=R*180;

        #declare X=1.5*cos(radians(A));
        #declare Y=0.0;
        #declare Z=1.5*sin(radians(A));

        sphere
        {
            <X,Y,Z>,sqrt(R)*R
        }

    #declare R=R+0.01;
    #end
}

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

object {O_Yang pigment {rgb 1} translate <-.575,0,.1>}
object {O_Ying pigment {rgb 0} translate <.575,0,-.1>}

Sloppy isn't it?  There's obviously an equation possible for making this
thing don't you suppose?  I took a look on the infamous 'net and wasn't
successful, or rather there was so much about "Ying-Yang" I couldn't sift
through it all.

// Bob

"Spock" <spo### [at] homecom> wrote in message news:386a29e0@news.povray.org...
> This doesn't work either, but it might give you some ideas...
>
> #include "colors.inc"
>
> global_settings { assumed_gamma 2.2 }
>
> light_source { < -20, 20, -20 > color White }
>
> camera
> {
>  location < 0, 0, -10 >
>  look_at < 0, 0, 0 >
> }
>
> #declare O_Ying =
> union
> {
>     #declare R = 0;
>
>     #while( R <= 1 )
>
>         cylinder
>         {
>             < 0.0, 0.0, -0.002 >,
>             < 0.0, 0.0, 0.002 >,
>             R
>             translate < 1.92 - R, 0, 0 >
>             rotate R * R * R * 180 * z
>         }
>
>         #declare R = R + 0.01;
>
>     #end
> }
>
> object
> {
>     O_Ying
>     rotate -0.1 * y
>     pigment { Red }
> }
>
> object
> {
>     O_Ying
>     rotate 180 * z
>     rotate 0.1 * y
>     pigment { White }
> }
>
> "Paul Vanukoff" <van### [at] primenetcom> wrote in message
> news:386a1908@news.povray.org...
> >
> > I'm trying to create a ying/yang sort of image. Here is some source that
>
>
>


Post a reply to this message

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