home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / POVSCN.ZIP / LEVEL2.ZIP / ILLUM1.POV < prev    next >
Text File  |  1992-07-03  |  5KB  |  269 lines

  1. // Persistence Of Vision raytracer version 1.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 <1.333 0.0 0.0>
  15. }
  16.  
  17. object {
  18.    plane { <0.0 1.0 0.0> -60.0 }
  19.    texture {
  20.       0.01
  21.       Pine_Wood
  22.       scale <4.0 1.0 2.0>
  23.       rotate <0.0 45.0 0.0>
  24.       ambient 0.15
  25.       diffuse 0.8
  26.       brilliance 3.0
  27.    }
  28. }
  29.  
  30. object {
  31.    quadric { Cylinder_X }
  32.    scale <5.0 5.0 5.0>
  33.    translate <0.0 -60.0 120.0>
  34.    rotate <0.0 -40.0 0.0>
  35.    texture {
  36.       0.01
  37.       colour Brown
  38.       ambient 0.15
  39.       diffuse 0.8
  40.       reflection 0.4
  41.    }
  42. }
  43.  
  44. object {
  45.    quadric { Cylinder_X }
  46.    scale <5.0 5.0 5.0>
  47.    translate <0.0 -60.0 120.0>
  48.    rotate <0.0 40.0 0.0>
  49.    texture {
  50.       0.01
  51.       colour Brown
  52.       ambient 0.15
  53.       diffuse 0.8
  54.       /*         reflection 0.4    */
  55.    }
  56. }
  57.  
  58. object {
  59.    plane { <0.0 0.0 1.0> -240.0 }
  60.    texture {
  61.       0.01
  62.       colour Gray
  63.       ambient 0.15
  64.       diffuse 0.8
  65.       brilliance 3.0
  66.    }
  67. }
  68.  
  69. object {
  70.    plane { <0.0 0.0 1.0> 120.0 }
  71.    rotate <0.0 -40.0 0.0>
  72.    texture {
  73.       0.01
  74.       colour Gray
  75.       ambient 0.15
  76.       diffuse 0.8
  77.       reflection 0.75
  78.       brilliance 3.0
  79.    }
  80. }
  81.  
  82. object {
  83.    plane { <0.0 0.0 1.0> 120.0 }
  84.    rotate <0.0 40.0 0.0>
  85.    texture {
  86.       0.01
  87.       colour Gray
  88.       ambient 0.15
  89.       diffuse 0.8
  90.       reflection 0.75
  91.       brilliance 3.0
  92.    }
  93. }
  94.  
  95. object {
  96.    sphere { <0.0 32.659862 0.0> 20.0 }
  97.  
  98.    texture { colour Clear }
  99.    texture {
  100.       0.01
  101.       colour White alpha 0.90
  102.       ambient 0.7
  103.       diffuse 0.3
  104.       reflection 0.5
  105.       refraction 1.0
  106.       ior 1.5
  107.       brilliance 5.0
  108.    }
  109. }
  110.  
  111. object {
  112.    sphere { <0.0 0.0 -23.09401> 20.0 }
  113.    rotate <0.0 -15.0 0.0>
  114.  
  115.    texture { colour Clear }
  116.    texture {
  117.       0.01
  118.       colour Red alpha 0.90
  119.       ambient 0.7
  120.       diffuse 0.3
  121.       reflection 0.5
  122.       refraction 1.0
  123.       ior 1.5
  124.       brilliance 5.0
  125.    }
  126.  
  127. }
  128.  
  129. object {
  130.    sphere { <0.0 0.0 -23.09401> 20.0 }
  131.    rotate <0.0 -135.0 0.0>
  132.    texture { colour Clear }
  133.    texture {
  134.       0.01
  135.       colour Green alpha 0.90
  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.  
  145. object {
  146.    sphere { <0.0 0.0 -23.09401> 20.0 }
  147.    rotate <0.0 105.0 0.0>
  148.  
  149.    texture { colour Clear }
  150.    texture {
  151.       0.01
  152.       colour Blue alpha 0.90
  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.  
  162. object {
  163.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  164.    rotate <0.0 -75.0 0.0>
  165.  
  166.    texture { colour Clear }
  167.    texture {
  168.       0.01
  169.       colour Cyan alpha 0.90
  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. object {
  180.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  181.    rotate <0.0 -195.0 0.0>
  182.  
  183.    texture { colour Clear }
  184.    texture {
  185.       0.01
  186.       colour Magenta alpha 0.90
  187.       ambient 0.7
  188.       diffuse 0.3
  189.       reflection 0.5
  190.       refraction 1.0
  191.       ior 1.5
  192.       brilliance 5.0
  193.    }
  194. }
  195.  
  196. object {
  197.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  198.    rotate <0.0 45.0 0.0>
  199.  
  200.    texture { colour Clear }
  201.    texture {
  202.       0.01
  203.       colour Yellow alpha 0.90
  204.       ambient 0.7
  205.       diffuse 0.3
  206.       reflection 0.5
  207.       refraction 1.0
  208.       ior 1.5
  209.       brilliance 5.0
  210.    }
  211. }
  212.  
  213. object {
  214.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  215.    rotate <0.0 -15.0 0.0>
  216.  
  217.    texture { colour Clear }
  218.    texture {
  219.       0.01
  220.       colour DimGray alpha 0.90
  221.       ambient 0.7
  222.       diffuse 0.3
  223.       reflection 0.5
  224.       refraction 1.0
  225.       ior 1.5
  226.       brilliance 5.0
  227.    }
  228. }
  229.  
  230. object {
  231.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  232.    rotate <0.0 -135.0 0.0>
  233.  
  234.    texture { colour Clear }
  235.    texture {
  236.       0.01
  237.       colour Turquoise alpha 0.90
  238.       ambient 0.7
  239.       diffuse 0.3
  240.       reflection 0.5
  241.       refraction 1.0
  242.       ior 1.5
  243.       brilliance 5.0
  244.    }
  245. }
  246.  
  247. object {
  248.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  249.    rotate <0.0 105.0 0.0>
  250.  
  251.    texture { colour Clear }
  252.    texture {
  253.       0.01
  254.       colour Tan alpha 0.90
  255.       ambient 0.7
  256.       diffuse 0.3
  257.       reflection 0.5
  258.       refraction 1.0
  259.       ior 1.5
  260.       brilliance 5.0
  261.    }
  262. }
  263.  
  264. object {
  265.    light_source { <0.0 0.0 0.0>
  266.       colour White
  267.    }
  268. }
  269.