POV-Ray : Newsgroups : povray.text.scene-files : Maybe someone can help me ... : Re: Maybe someone can help me ... Server Time
29 Jul 2024 10:27:44 EDT (-0400)
  Re: Maybe someone can help me ...  
From: omniVERSE
Date: 29 Dec 1999 14:29:17
Message: <386a610d@news.povray.org>
Okay, this is finally the last time I try it too using what you had done
here before Paul  :-)
  With AA done on it and looking face on it seems fine, plus it's
now complete with that pair of dots found on these symbols.  What I still
don't know though is which is Ying and which is Yang, so switch the names if
need be.
  Tweaking, if any, left up to others from now on.

// Ying Yang again
camera {location < 0, 5, 0 >look_at 0}
light_source {10*y,1}

background {color rgb <1,0,0>}

#declare O_Ying=
intersection
{
 cylinder
 {
  < 0,-0.199, 0>, < 0, 0.199, 0>, 2
 }
 box
 {
  <-3,-0.2,-3>, < 3, 0.2, 0>
  inverse
 pigment {rgb <1,0,0>}
 }
 cylinder
 {
  <-1,-0.2, 0>, <-1, 0.2, 0>, 1
  inverse
 }
}

#declare O_Yang=
union
{
 object
 {
  O_Ying
 }
 cylinder
 {
  < .975,-0.2, 0>, < .975, 0.2, 0>, .975
 }
 cylinder // the white sides (black) dot
 {
  < .975,-0.21, 0>, < .975, 0.21, 0>, .25
   pigment {rgb 0}
 }
  rotate 180*y
}

#declare YingYang=
union {
union {
object {O_Ying}
 cylinder
 {
  <.975,-0.2, 0>, <.975, 0.2, 0>, .975
 }
 cylinder // the black sides (white) dot
 {
  < .975,-0.21, 0>, < .975, 0.21, 0>, .25
   pigment {rgb 1} finish {ambient 1}
 }
 pigment {rgb 0}
}

object {O_Yang pigment {rgb 1} finish {ambient 1}}
}

YingYang

// Bob


Post a reply to this message

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