home *** CD-ROM | disk | FTP | other *** search
/ Chestnut's Multimedia Mania / MM_MANIA.ISO / graphics / povscn20 / cluster.pov < prev    next >
Text File  |  1993-09-27  |  2KB  |  79 lines

  1. // Persistence of Vision Raytracer
  2. // Cluster of mirrored spheres 
  3. // This file is essentially a copy of a similar file in MTV, Rayshade and Vivid
  4. // This may look better at high resolutions 
  5. // with max_trace_level set to 10 or 15
  6.  
  7. #include "colors.inc"
  8.  
  9. camera { // This is an unusual camera since it is a converted file
  10.    location <2.31, 1.43, 1.65>
  11.    up <0, 0, 1>          // The Z axis is up and
  12.    right <-4/3, 0, 0> // The negative X axis is right
  13.    direction <0, -1.60746, 0> // Field of view 45 degrees
  14.    sky <0, 0, 1>
  15.    look_at <0, 0, -0.1>
  16. }
  17.  
  18. sphere { <0, 0, 0>, 10000
  19.    pigment { SkyBlue }
  20.    finish { ambient 1 diffuse .5}
  21. }
  22.  
  23. light_source { <4, 3, 2 > color Gray30 }
  24. light_source { <1, -4, 4> color Gray30 }
  25. light_source { <-3, 1, 5> color Gray30 }
  26.  
  27. plane { z, -0.5
  28.    pigment { color red 1.0 green 0.75 blue 0.33 }
  29.    finish { diffuse 1 }
  30. } // ambient .15 .1 .045 
  31.  
  32. /*
  33. union {
  34.    sphere { <0.7, 0, 0>, 0.2 texture { pigment { Red }   finish { diffuse 0.7} } }
  35.    sphere { <0, 0.7, 0>, 0.2 texture { pigment { Green } finish { diffuse 0.7} } }
  36.    sphere { <0, 0, 0.7>, 0.2 texture { pigment { Blue }  finish { diffuse 0.7} } }
  37. }
  38. */
  39.  
  40. sphere { <0, 0, 0>, 0.5
  41.    normal {
  42.       bumps 0.4
  43.       //turbulence .5
  44.       // octaves 5
  45.       scale 0.025
  46.       //scale 0.05
  47.    }
  48.    finish {
  49.       ambient 0.03
  50.       diffuse 1
  51.       reflection 0.4
  52.       phong 1
  53.       phong_size 3
  54.    }
  55.    pigment { color red 0.5 green 0.45 blue 0.35 }
  56. }
  57.  
  58. union {
  59.    sphere { <0.272166, 0.272166, 0.544331>, 0.166667  }
  60.    sphere { <0.643951, 0.172546, 0>, 0.166667  }
  61.    sphere { <0.172546, 0.643951, 0>, 0.166667 }
  62.    sphere { <-0.371785, 0.0996195, 0.544331>, 0.166667  }
  63.    sphere { <-0.471405, 0.471405, 0>, 0.166667  }
  64.    sphere { <-0.643951, -0.172546, 0>, 0.166667  }
  65.    sphere { <0.0996195, -0.371785, 0.544331>, 0.166667  }
  66.    sphere { <-0.172546, -0.643951, 0>, 0.166667  }
  67.    sphere { <0.471405, -0.471405, 0>, 0.166667  }
  68.  
  69.    pigment { color red 0.5 green 0.45 blue 0.35 }
  70.    finish {
  71.       ambient 0.035
  72.       reflection 0.4
  73.       diffuse 1
  74.       phong 1 
  75.       phong_size 3
  76.    }
  77. }
  78.  
  79.