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

  1. // Persistence Of Vision raytracer version 2.0 sample file.
  2.  
  3. // By Alexander Enzmann
  4. /* sample quartic scene file written by Alexander Enzmann */
  5.  
  6. #include "colors.inc"
  7. #include "shapes.inc"
  8. #include "textures.inc"
  9.  
  10. /* Quartic Cylinder - a Space Needle? */
  11. quartic {
  12.    < 0.0,  0.0,  0.0,  0.0,  1.0,  0.0,  0.0,  0.0,  0.0,  0.01,
  13.      0.0,  0.0,  0.0,  0.0,  0.0,  0.0,  0.0,  0.0,  0.0,  0.0,
  14.      0.0,  0.0,  0.0,  1.0,  0.0,  0.0,  0.0,  0.0,  0.0,  0.0,
  15.      0.0,  0.0,  0.01, 0.0, -0.01 >
  16.  
  17.    bounded_by { sphere { <0, 0, 0>, 2 } }
  18.  
  19.    texture {
  20.       pigment { Red }
  21.       finish {
  22.          phong 1.0
  23.          phong_size 10
  24.          ambient 0.2
  25.          diffuse 0.8
  26.       }
  27.    }
  28.  
  29.    rotate <-30, 20, 0>
  30.    translate 3*z
  31. }
  32.  
  33. /* Put down checkered floor */
  34. plane {
  35.    y, -20
  36.  
  37.    texture {
  38.       pigment {
  39.          checker colour NavyBlue colour MidnightBlue
  40.          scale 20.0
  41.       }
  42.       finish {
  43.          ambient 0.8
  44.          diffuse 0.2
  45.       }
  46.    }
  47. }
  48.  
  49. camera {
  50.    location  <0.0, 0.0, -3.0>
  51.    direction <0.0, 0.0, 1.0>
  52.    up        <0.0, 1.0, 0.0>
  53.    right     <4/3, 0.0, 0.0>
  54. }
  55.  
  56. light_source { <200, 30, -300> colour White }
  57.  
  58. light_source { <-200, 30, -300> colour White }
  59.