home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / povray / !POVscene / math / pov / folium < prev    next >
Text File  |  1992-09-27  |  1KB  |  57 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // Persistance of Vision Raytracer
  4. // By Alexander Enzmann
  5.  
  6. /* sample quartic scene file written by Alexander Enzmann */
  7.  
  8. #include "shapes"
  9. #include "colors"
  10. #include "textures"
  11.  
  12. /*
  13.   Folium - a plane with an oogah horn installed (?) or maybe a sassy
  14.            olive sticking out it's pimento!
  15. */
  16.  
  17. object {
  18.    intersection {
  19.       quartic {
  20.          < 0.0   0.0   0.0    0.0  0.0   0.0   0.0   0.0   0.0  2.0
  21.          0.0   0.0  -3.0    0.0  0.0   0.0   0.0  -3.0   0.0  0.0
  22.          0.0   0.0   0.0    0.0  0.0   1.0   0.0   0.0   0.0  0.0
  23.          0.0   0.0   1.0    0.0  0.0 >
  24.          texture {
  25.             color Red
  26.             phong 1.0
  27.             phong_size 10
  28.             ambient 0.2
  29.             diffuse 0.8
  30.          }
  31.       }
  32.       sphere { <0 0 0> 10
  33.          texture {
  34.             color Clear
  35.          }
  36.       }
  37.    }
  38.    bounded_by {
  39.       sphere { <0 0 0> 11 }
  40.    }
  41.    rotate <0 50 10>
  42.    translate <0 0 20>
  43. }
  44.  
  45. camera {
  46.    location  <0.0  0.0 -10.0>
  47.    direction <0.0  0.0  1.0>
  48.    up        <0.0  1.0  0.0>
  49.    right     <1.33 0.0  0.0>
  50. }
  51.  
  52. object {
  53.    light_source { <-200 300 -300>
  54.       colour White
  55.    }
  56. }
  57.