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

  1. // Persistence Of Vision raytracer version 2.0 sample file.
  2.  
  3. // By Tom Price
  4. // Lots of refraction make this a slow one to trace, but worth it! - dmf
  5.  
  6. #include "shapes.inc"
  7. #include "colors.inc"
  8. #include "textures.inc"
  9.  
  10. camera {
  11.    location <0.0, 30.0, -200.0>
  12.    direction <0.0, -0.2, 1.0>
  13.    up <0.0, 1.0, 0.0>
  14.    right <4/3, 0.0, 0.0>
  15. }
  16.  
  17. plane { y, -60.0
  18.    pigment {
  19.       Pine_Wood
  20.       scale <4.0, 1.0, 2.0>
  21.       rotate 45*y
  22.    }
  23.    finish {
  24.       ambient 0.15
  25.       diffuse 0.8
  26.       brilliance 3.0
  27.       crand 0.01
  28.    }
  29. }
  30.  
  31. object { Cylinder_X
  32.    pigment { Brown }
  33.    finish {
  34.       crand 0.01
  35.       ambient 0.15
  36.       diffuse 0.8
  37.       reflection 0.4
  38.    }
  39.  
  40.    scale 5.0
  41.    translate <0.0, -60.0, 120.0>
  42.    rotate -40*y
  43. }
  44.  
  45. object { Cylinder_X
  46.    pigment { Brown }
  47.    finish {
  48.       crand 0.01
  49.       ambient 0.15
  50.       diffuse 0.8
  51.       /*  reflection 0.4 */
  52.    }
  53.  
  54.    scale 5.0
  55.    translate <0.0, -60.0, 120.0>
  56.    rotate 40*y
  57. }
  58.  
  59. plane { z, -240.0
  60.    pigment { Gray }
  61.    finish {
  62.       crand 0.01
  63.       ambient 0.15
  64.       diffuse 0.8
  65.       brilliance 3.0
  66.    }
  67. }
  68.  
  69. plane { z, 120.0
  70.    pigment { Gray }
  71.    finish {
  72.       crand 0.01
  73.       ambient 0.15
  74.       diffuse 0.8
  75.       reflection 0.75
  76.       brilliance 3.0
  77.    }
  78.  
  79.    rotate -40*y
  80. }
  81.  
  82. plane { z, 120.0
  83.    pigment { Gray }
  84.    finish {
  85.       crand 0.01
  86.       ambient 0.15
  87.       diffuse 0.8
  88.       reflection 0.75
  89.       brilliance 3.0
  90.    }
  91.  
  92.    rotate 40*y
  93. }
  94.  
  95. sphere { <0.0, 32.659862, 0.0>, 20.0
  96.    texture { pigment {Clear} }
  97.    texture {
  98.       pigment { White filter 0.90 }
  99.       finish {
  100.          crand 0.01
  101.          ambient 0.7
  102.          diffuse 0.3
  103.          reflection 0.5
  104.          refraction 1.0
  105.          ior 1.5
  106.          brilliance 5.0
  107.       }
  108.    }
  109. }
  110.  
  111. sphere { <0.0, 0.0, -23.09401>, 20.0
  112.    texture { pigment {Clear} }
  113.    texture {
  114.       pigment { Red filter 0.90 }
  115.       finish {
  116.          crand 0.01
  117.          ambient 0.7
  118.          diffuse 0.3
  119.          reflection 0.5
  120.          refraction 1.0
  121.          ior 1.5
  122.          brilliance 5.0
  123.       }
  124.    }
  125.  
  126.    rotate -15*y
  127. }
  128.  
  129. sphere { <0.0, 0.0, -23.09401>, 20.0
  130.  
  131.    texture { pigment {Clear} }
  132.    texture {
  133.       pigment { Green filter 0.90 }
  134.       finish {
  135.          crand 0.01
  136.          ambient 0.7
  137.          diffuse 0.3
  138.          reflection 0.5
  139.          refraction 1.0
  140.          ior 1.5
  141.          brilliance 5.0
  142.       }
  143.    }
  144.    rotate -135*y
  145. }
  146.  
  147. sphere { <0.0, 0.0, -23.09401>, 20.0
  148.    texture { pigment {Clear} }
  149.    texture {
  150.       pigment { colour Blue filter 0.90 }
  151.       finish {
  152.          crand 0.01
  153.          ambient 0.7
  154.          diffuse 0.3
  155.          reflection 0.5
  156.          refraction 1.0
  157.          ior 1.5
  158.          brilliance 5.0
  159.       }
  160.    }
  161.    rotate 105*y
  162. }
  163.  
  164. sphere { <0.0, -32.659862, -23.09401>, 20.0
  165.    texture { pigment {Clear} }
  166.    texture {
  167.       pigment { colour Cyan filter 0.90 }
  168.       finish {
  169.          crand 0.01
  170.          ambient 0.7
  171.          diffuse 0.3
  172.          reflection 0.5
  173.          refraction 1.0
  174.          ior 1.5
  175.          brilliance 5.0
  176.       }
  177.    }
  178.  
  179.    rotate -75*y
  180. }
  181.  
  182. sphere { <0.0, -32.659862, -23.09401>, 20.0
  183.    texture { pigment {Clear} }
  184.    texture {
  185.       pigment { colour Magenta filter 0.90 }
  186.       finish {
  187.          crand 0.01
  188.          ambient 0.7
  189.          diffuse 0.3
  190.          reflection 0.5
  191.          refraction 1.0
  192.          ior 1.5
  193.          brilliance 5.0
  194.       }
  195.    }
  196.    rotate -195*y
  197. }
  198.  
  199. sphere { <0.0, -32.659862, -23.09401>, 20.0
  200.    texture { pigment {Clear} }
  201.    texture {
  202.       pigment { colour Yellow filter 0.90 }
  203.       finish {
  204.          crand 0.01
  205.          ambient 0.7
  206.          diffuse 0.3
  207.          reflection 0.5
  208.          refraction 1.0
  209.          ior 1.5
  210.          brilliance 5.0
  211.       }
  212.    }
  213.    rotate 45*y
  214. }
  215.  
  216. sphere { <0.0, -32.659862, -46.18802>, 20.0
  217.    texture { pigment {Clear} }
  218.    texture {
  219.       pigment { colour DimGray filter 0.90 }
  220.       finish {
  221.          crand 0.01
  222.          ambient 0.7
  223.          diffuse 0.3
  224.          reflection 0.5
  225.          refraction 1.0
  226.          ior 1.5
  227.          brilliance 5.0
  228.       }
  229.    }
  230.    rotate -15*y
  231. }
  232.  
  233. sphere { <0.0, -32.659862, -46.18802>, 20.0
  234.    texture { pigment {Clear} }
  235.    texture {
  236.       pigment { Turquoise filter 0.90 }
  237.       finish {
  238.          crand 0.01
  239.          ambient 0.7
  240.          diffuse 0.3
  241.          reflection 0.5
  242.          refraction 1.0
  243.          ior 1.5
  244.          brilliance 5.0
  245.       }
  246.    }
  247.  
  248.    rotate -135*y
  249. }
  250.  
  251. sphere { <0.0, -32.659862, -46.18802>, 20.0
  252.    texture { pigment {Clear} }
  253.    texture {
  254.       pigment { colour Tan filter 0.90 }
  255.       finish {
  256.          crand 0.01
  257.          ambient 0.7
  258.          diffuse 0.3
  259.          reflection 0.5
  260.          refraction 1.0
  261.          ior 1.5
  262.          brilliance 5.0
  263.       }
  264.    }
  265.    rotate 105*y
  266. }
  267.  
  268. light_source { <0, 0, 0> colour White }
  269.