home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / bizz01 / bizz01.pov next >
Encoding:
Text File  |  1994-05-27  |  4.3 KB  |  177 lines

  1. //A union of three tori with a glass ball in the center
  2. //looking down a tall, skinny cylinder cutting through a ball
  3. //that looks like the sky. And a bunch of little spheres around 
  4. //the base.
  5. //Blane Bizzaro
  6.  
  7. #include "colors.inc"
  8. #include "shapes.inc"
  9. #include "textures.inc"
  10. #include "env01.inc"
  11.  
  12. camera {
  13.    location  <-3, 21, 0>
  14.    direction <0, 0, 1>
  15.    up        <0, 1, 0> 
  16.    right     <1.33333, 0, 0>
  17.    look_at   <0, 0, 0>
  18. }
  19.  
  20. light_source { <800, 600, -200> color White }
  21.  
  22. light_source { <-10, 5.8, -7> color Orange }
  23.  
  24. light_source { <10, 5.8, -7> color Green }
  25.  
  26. //Sphere in the center of torus union.
  27. sphere { <0, 0, 0>, 3
  28.    texture { Glass3 finish { reflection 0.25}}
  29. }
  30.  
  31. //Torus union 
  32. object {
  33.    union {
  34.    object {
  35.       torus { 4.5, 0.3 sturm }
  36.          texture { Brown_Agate finish { reflection 0.25 }}
  37.          }
  38.    object {
  39.       torus  { 4.5, 0.3 sturm }
  40.          texture { Jade finish {reflection 0.25 }}
  41.          rotate <0, 0, 90>
  42.       }
  43.    object {
  44.       torus { 4.5, 0.3 sturm }
  45.          texture { Glass3 finish { reflection 0.25 }}
  46.          rotate <0, 0, 90>
  47.          rotate <0, 90, 0>
  48.          }
  49. //Vertical cylinder cutting through "sky" sphere.
  50.    object {
  51.       cylinder {
  52.          <0, 30, 0>
  53.          <0, -30, 0>
  54.          0.3 //radius
  55.          pigment { color red 1 blue 1 green 1 }}
  56.          }
  57. //"sky" sphere.
  58.    object {
  59.       sphere { <0, 14, 0>, 1.5
  60.          pigment {
  61.             bozo
  62.             turbulence 0.6
  63.             color_map {
  64.             [0 0.5   color red 0.4 green 0.5 blue 1
  65.                      color red 0.4 green 0.5 blue 1.0]
  66.             [0.5 0.7 color red 0.4 green 0.5 blue 1
  67.                      color red 1 green 1 blue 1.0]
  68.             [0.7 1   color red 1 green 1 blue 1
  69.                      color red 0.7 green 0.7 blue 0.7]}
  70.              quick_color red 0.4 green 0.5 blue 1
  71.              }
  72.              finish {
  73.              ambient 0.9
  74.              diffuse 0
  75.              }
  76.        }
  77. }
  78. //orbital spheres (#1)
  79. sphere { <0, 0, 7>,1
  80.    pigment {
  81.       bozo
  82.       turbulence 0.6
  83.       color_map {
  84.       [0 0.5   color red 0.4 green 0.5 blue 1
  85.                color red 0.4 green 0.5 blue 1.0]
  86.       [0.5 0.7 color red 0.4 green 0.5 blue 1
  87.                color red 1 green 1 blue 1]
  88.       [0.7 1   color red 1 green 1 blue 1
  89.                color red 0.7 green 0.7 blue 0.7]}
  90.                quick_color red 0.4 green 0.5 blue 1
  91.                }
  92.                finish {
  93.                ambient 0.9
  94.                diffuse 0
  95.                }
  96.          }
  97.  
  98. }}
  99. //sphere #2
  100. sphere { <5, 0, 5>, 1
  101.    pigment { color Orange }
  102.    finish {
  103.    reflection 0.45
  104.    ambient 0.2
  105.    diffuse 0.6
  106.    phong 1.0 phong_size 80
  107.        }}
  108.        
  109. //sphere #3
  110. sphere { <7, 0, 0>, 1
  111.    pigment {
  112.       bozo
  113.       turbulence 0.6
  114.       color_map {
  115.       [0 0.5   color red 0.4 green 0.5 blue 1
  116.                color red 0.4 green 0.5 blue 1]
  117.       [0.5 0.7 color red 0.4 green 0.5 blue 1
  118.                color red 1 green 1 blue 1]
  119.       [0.7 1   color red 1 green 1 blue 1
  120.                color red 0.7 green 0.7 blue 0.7]}
  121.                quick_color red 0.4 green 0.5 blue 1
  122.                }
  123.                finish {
  124.                ambient 0.9
  125.                diffuse 0
  126.                }
  127.        }
  128. //sphere #4
  129. sphere { <5, 0, -5>, 1
  130.    pigment {
  131.       bozo
  132.       turbulence 0.6
  133.       color_map {
  134.       [0 0.5   color red 0.4 green 0.5 blue 1
  135.                color red 0.4 green 0.5 blue 1]
  136.       [0.5 0.7 color red 0.4 green 0.5 blue 1
  137.                color red 1 green 1 blue 1]
  138.       [0.7 1   color red 1 green 1 blue 1
  139.                color red 0.7 green 0.7 blue 0.7]}
  140.                quick_color red 0.4 green 0.5 blue 1
  141.                }
  142.                finish {
  143.                ambient 0.9
  144.                diffuse 0
  145.                }
  146.         }
  147. //sphere #5
  148. sphere { <0, 0, -7>, 1
  149.   texture { Glass3 finish { reflection 0.25}}
  150.        }        
  151.          
  152. //sphere #6
  153. sphere { <-5, 0, -5>, 1
  154.    pigment { color Red }
  155.    finish {
  156.       reflection 0.45
  157.       ambient 0.2
  158.       diffuse 0.6
  159.       phong 1.0 phong_size 80
  160.       }}
  161.  
  162.    
  163. //sphere #7
  164. sphere { <-7, 0, 0>, 1
  165.    texture {Jade}}
  166.    
  167. //sphere #8
  168. sphere { <-5, 0, 5>, 1
  169.    pigment { color Yellow }}
  170.    
  171.  
  172.    
  173.  
  174.  
  175.       
  176.      
  177.