home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / POVSCN.ZIP / LEVEL2.ZIP / CLUSTER.POV < prev    next >
Text File  |  1992-07-03  |  2KB  |  67 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 <-1.3333 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. object {sphere { <0 0 0> 10000 } texture { color SkyBlue ambient 1 diffuse .5} }
  18. object { light_source { <4 3 2 > color Gray30 } }
  19. object { light_source { <1 -4 4> color Gray30 } }
  20. object { light_source {<-3 1 5> color Gray30 } }
  21.  
  22. object { plane { <0 0 1> -.5 } texture { color red 1.0 green 0.75 blue 0.33 diffuse 1 } } // ambient .15 .1 .045 
  23. /*object {
  24.   union {
  25.     sphere { <.7 0 0> .2 texture {color red 1 diffuse .7} }
  26.      sphere { <0 .7 0> .2  texture {color green 1 diffuse .7}}
  27.       sphere { <0 0 .7> .2  texture {color blue 1 diffuse .7}}
  28.       }
  29. }*/
  30. object { 
  31.    sphere { <0 0 0> .5 }
  32.    texture { 
  33.       bumps .4
  34.       //turbulence .5
  35.       // octaves 5
  36.       scale <.025 .025 .025>
  37.       //scale <.05 .05 .05>
  38.       ambient .03  //amb 0.035 0.0325 0.025
  39.       diffuse 1
  40.       color red 0.5 green 0.45 blue 0.35
  41.       reflection .4     
  42.       phong 1 
  43.       phong_size 3
  44.    }
  45. }
  46. object {
  47.    union {
  48.       sphere { <0.272166 0.272166 0.544331> 0.166667  }
  49.       sphere {<0.643951 0.172546 0> 0.166667  }
  50.       sphere {<0.172546 0.643951 0> 0.166667 }
  51.       sphere {<-0.371785 0.0996195 0.544331> 0.166667  }
  52.       sphere {<-0.471405 0.471405 0> 0.166667  }
  53.       sphere {<-0.643951 -0.172546 0> 0.166667  }
  54.       sphere {<0.0996195 -0.371785 0.544331> 0.166667  }
  55.       sphere {<-0.172546 -0.643951 0> 0.166667  }
  56.       sphere { <0.471405 -0.471405 0> 0.166667  }
  57.    }
  58.    texture { 
  59.       ambient .035  //amb 0.035 0.0325 0.025
  60.       color red 0.5 green 0.45 blue 0.35
  61.       reflection .4
  62.       diffuse 1
  63.       phong 1 
  64.       phong_size 3
  65.    }
  66. }
  67.