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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // By Tom Price
  4.  
  5. #include "shapes.inc"
  6. #include "colors.inc"
  7. #include "textures.inc"
  8.  
  9. camera {
  10.    location <0.0 30.0 -200.0>
  11.    direction <0.0 -0.2 1.0>
  12.    up <0.0 1.0 0.0>
  13.    right <1.333 0.0 0.0>
  14. }
  15.  
  16. object {
  17.    intersection {
  18.       plane { <0.0 0.0 1.0> 1.0 }
  19.       plane { <0.0 0.0 1.0> -1.0 inverse }
  20.       plane { <0.0 1.0 0.0> -60.0 }
  21.    }
  22.  
  23.    scale <1.0 1.0 200.0>
  24.  
  25.    texture {
  26.       0.01
  27.       Apocalypse
  28.       scale <50.0 10.0 20.0>
  29.       rotate <0.0 30.0 0.0>
  30.       ambient 0.3
  31.       diffuse 0.7
  32.       reflection 0.3
  33.       brilliance 3.0
  34.    }
  35. }
  36.  
  37. object {
  38.    intersection {
  39.       sphere { <0.0 0.0 0.0> 10000.0 }
  40.       sphere { <0.0 0.0 0.0> 9999.0 inverse }
  41.    }
  42.  
  43.    translate <0.0 -9500.0 0.0>
  44.  
  45.    texture {
  46.       0.05
  47.       Bright_Blue_Sky
  48.       scale <400.0 50.0 800.0>
  49.       rotate <0.0 -45.0 0.0>
  50.       ambient 0.3
  51.       diffuse 0.5
  52.    }
  53. }
  54.  
  55. object {
  56.    sphere { <0.0 32.659862 0.0> 20.0 }
  57.  
  58.    texture {
  59.       0.01
  60.       colour White
  61.       ambient 0.11
  62.       diffuse 0.22
  63.       reflection 0.7
  64.       brilliance 5.0
  65.    }
  66. }
  67.  
  68. object {
  69.    sphere { <0.0 0.0 -23.09401> 20.0 }
  70.  
  71.    rotate <0.0 -15.0 0.0>
  72.    texture {
  73.       0.01
  74.       colour Red
  75.       ambient 0.11
  76.       diffuse 0.22
  77.       reflection 0.7
  78.       brilliance 5.0
  79.    }
  80. }
  81.  
  82. object {
  83.    sphere { <0.0 0.0 -23.09401> 20.0 }
  84.  
  85.    rotate <0.0 -135.0 0.0>
  86.    texture {
  87.       0.01
  88.       colour Green
  89.       ambient 0.11
  90.       diffuse 0.22
  91.       reflection 0.7
  92.       brilliance 5.0
  93.    }
  94. }
  95.  
  96. object {
  97.    sphere { <0.0 0.0 -23.09401> 20.0 }
  98.  
  99.    rotate <0.0 105.0 0.0>
  100.    texture {
  101.       0.01
  102.       colour Blue
  103.       ambient 0.11
  104.       diffuse 0.22
  105.       reflection 0.7
  106.       brilliance 5.0
  107.    }
  108. }
  109.  
  110. object {
  111.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  112.  
  113.    rotate <0.0 -75.0 0.0>
  114.    texture {
  115.       0.01
  116.       colour Cyan
  117.       ambient 0.11
  118.       diffuse 0.22
  119.       reflection 0.7
  120.       brilliance 5.0
  121.    }
  122. }
  123.  
  124. object {
  125.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  126.  
  127.    rotate <0.0 -195.0 0.0>
  128.    texture {
  129.       0.01
  130.       colour Magenta
  131.       ambient 0.11
  132.       diffuse 0.22
  133.       reflection 0.7
  134.       brilliance 5.0
  135.    }
  136. }
  137.  
  138. object {
  139.    sphere { <0.0 -32.659862 -23.09401> 20.0 }
  140.  
  141.    rotate <0.0 45.0 0.0>
  142.    texture {
  143.       0.01
  144.       colour Yellow
  145.       ambient 0.11
  146.       diffuse 0.22
  147.       reflection 0.7
  148.       brilliance 5.0
  149.    }
  150. }
  151.  
  152. object {
  153.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  154.  
  155.    rotate <0.0 -15.0 0.0>
  156.    texture {
  157.       0.01
  158.       colour DimGray
  159.       ambient 0.11
  160.       diffuse 0.22
  161.       reflection 0.7
  162.       brilliance 5.0
  163.    }
  164. }
  165.  
  166. object {
  167.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  168.  
  169.    rotate <0.0 -135.0 0.0>
  170.    texture {
  171.       0.01
  172.       colour Turquoise
  173.       ambient 0.11
  174.       diffuse 0.22
  175.       reflection 0.7
  176.       brilliance 5.0
  177.    }
  178. }
  179.  
  180. object {
  181.    sphere { <0.0 -32.659862 -46.18802> 20.0 }
  182.  
  183.    rotate <0.0 105.0 0.0>
  184.    texture {
  185.       0.01
  186.       colour Tan
  187.       ambient 0.11
  188.       diffuse 0.22
  189.       reflection 0.7
  190.       brilliance 5.0
  191.    }
  192. }
  193.  
  194. object {
  195.    union {
  196.       sphere { <0.0 0.0 0.0> 75.0
  197.          texture {
  198.             colour Orange
  199.             ambient 1.0
  200.             diffuse 0.0
  201.          }
  202.       }
  203.  
  204.       light_source { <0 0 0> colour Orange }
  205.    }
  206.  
  207.    translate <0 9800 0>
  208.    rotate <-5.0 0.0 2.0>
  209.    translate <0.0 -11000.0 0.0>
  210.  
  211.    colour Orange
  212. }
  213.  
  214. object {
  215.    union {
  216.       sphere { <0.0 0.0 0.0> 20.0 }
  217.       light_source { <0 0 0> color White }
  218.    }
  219.    translate <60.0 160.0 -200.0>
  220.    colour White
  221. }
  222.  
  223. object {
  224.    union {
  225.       sphere { <0.0 0.0 0.0> 20.0 }
  226.       light_source { <0 0 0> color White }
  227.    }
  228.    translate <-60.0 160.0 -200.0>
  229.    colour White
  230. }
  231.