home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 0 / quarcyl.pov < prev    next >
Text File  |  1992-07-21  |  1KB  |  64 lines

  1. // Persistence Of Vision raytracer version 1.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. object {
  12.    quartic {
  13.       < 0.0   0.0   0.0   0.0   1.0   0.0   0.0   0.0   0.0   0.01
  14.       0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0
  15.       0.0   0.0   0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0
  16.       0.0   0.0   0.01  0.0  -0.01 >
  17.    }
  18.    bounded_by {
  19.       sphere { <0 0 0> 2 }
  20.    }
  21.    texture {
  22.       color Red
  23.       phong 1.0
  24.       phong_size 10
  25.       ambient 0.2
  26.       diffuse 0.8
  27.    }
  28.    rotate <-30 20 0>
  29.    translate <0 0 3>
  30. }
  31.  
  32. /* Put down checkered floor */
  33. object {
  34.    quadric {
  35.       Plane_XZ
  36.       translate <0.0  -20.0  0.0>
  37.    }
  38.    texture {
  39.       checker colour NavyBlue colour MidnightBlue
  40.       scale < 20.0 20.0 20.0 >
  41.       ambient 0.8
  42.       diffuse 0.2
  43.    }
  44. }
  45.  
  46. camera {
  47.    location  <0.0  0.0 -3.0>
  48.    direction <0.0  0.0  1.0>
  49.    up        <0.0  1.0  0.0>
  50.    right     <1.33 0.0  0.0>
  51. }
  52.  
  53. object {
  54.    light_source { <200 30 -300>
  55.       colour White
  56.    }
  57. }
  58.  
  59. object {
  60.    light_source { <-200 30 -300>
  61.       colour White
  62.    }
  63. }
  64.