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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // By Aaron a. Collins
  4.  
  5. /* Scene Description of a Satellite Dish by Aaron A. Collins */
  6. /* Made to test the quadric "Paraboloid" and "Cone" Shapes   */ 
  7.  
  8. #include "shapes.inc"
  9. #include "colors.inc"
  10.  
  11. camera {
  12.    location <0.0  0.0  -70.0>
  13.    direction <0.0 0.0  1.0>
  14.    up  <0.0  1.0  0.0>
  15.    right <1.33333 0.0 0.0>
  16. }
  17.  
  18. composite {
  19.  
  20.    object {            /* The basic dish */
  21.       intersection {
  22.          quadric { Paraboloid_Y
  23.             scale <30.0 20.0 30.0>
  24.          }
  25.          quadric { Paraboloid_Y
  26.             scale <29.0 19.0 29.0>
  27.             inverse
  28.          }
  29.          plane { <0.0 1.0 0.0> 20.0 }
  30.       }
  31.       texture {
  32.          color red 0.8 green 0.2 blue 0.2
  33.          ambient 0.2
  34.          diffuse 0.8
  35.          phong 1.0
  36.          phong_size 10
  37.       }
  38.       color red 0.8 green 0.2 blue 0.2
  39.    }
  40.  
  41.    object {            /* The lna thingy at the focal point */
  42.       union {
  43.          intersection {
  44.             quadric { QCone_Y
  45.                scale <1.0 10.0 1.0>
  46.                translate <0.0 31.0 0.0>
  47.             }
  48.             plane { <0.0 1.0 0.0> 31.0 }
  49.             plane { <0.0 -1.0 0.0> 0.0 }
  50.          }
  51.          sphere { <0.0 30.0 0.0> 2.0 }
  52.       }
  53.       texture {
  54.          color red 0.0 green 0.2 blue 0.8
  55.          ambient 0.2
  56.          diffuse 0.8
  57.          phong 1.0
  58.          phong_size 30
  59.       }
  60.       color red 0.0 green 0.2 blue 0.8
  61.    }
  62.  
  63.    object {            /* The equatorial mount */
  64.       quadric { Paraboloid_Y
  65.          rotate <180.0 0.0 0.0>
  66.          scale <30.0 60.0 30.0>
  67.       }
  68.       texture {
  69.          color red 0.0 green 0.8 blue 0.2
  70.          ambient 0.2
  71.          diffuse 0.8
  72.          phong 1.0
  73.          phong_size 30
  74.       }
  75.       color red 0.0 green 0.8 blue 0.2
  76.    }
  77.  
  78.    rotate <-30.0 -30.0 0.0>
  79.  
  80. }
  81.  
  82. object {
  83.    light_source { <100.0  120.0  -130.0>
  84.       colour White
  85.    }
  86. }
  87.  
  88. object {
  89.    light_source { <-100.0  100.0  -130.0>
  90.       colour White
  91.    }
  92. }
  93.