Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    POV-Ray Examples - How To Make Objects for POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

- POV-Ray Tutorial

  - POV-Ray Examples
   Index of Content
  - Geometry
    - Pawn
    - Wireframe Cube
    - Octagon
    - Egg Shape
    - Star
    - Optical Lens
    - Chessboard
    - Regular Tetrahedron
    - Penrose Triangle
    - Yin & Yang
    - Fishblob
    - Threefold
    - Trefoil
  - Architecture
  - Engineering
Yin & Yang

Yin & Yang 3D

Objects:    "isosurface".
Methods: "union"

Construction in details step by step:

All we need for a "Yin and Yang" is an isosurface with the function "f_comma" .
(You can get this isosurface from my "Insert Menu Add-on", click there on "Isosurfaces by" and then click "Isosurface f_comma".)
Don't forget: For using built-in functions we have to include the file ""!
#include ""
isosurface {
  function{ f_comma( x,y,z, 1)}
  contained_by {sphere {0,1.5}}
  scale 1.2
} // end of isosurface --------- 
Now we have to dublicate this object and turn it around the z axis by 180 degrees. Moving both parts a little bit closer together and scaling them horizontally to a perfect round shape completes the action.
Scene description for POV-Ray:
"yin_yang.txt" or "yin_yang.pov"
© Friedrich A. Lohmüller, 2006