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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3.  
  4. // Two rows of multi-colored pillars lead to a chrome hemisphere 
  5. // reflecting a blinding sunrise. A nice looking cliche.
  6. // - Drew Wells 1990 
  7. //   cis 73767,1244 
  8.  
  9. #include "shapes.inc"
  10. #include "colors.inc"
  11. #include "textures.inc"
  12.  
  13. // Camera 
  14. camera {
  15.    location <0.0  20.0 -100.0>
  16.    direction <0.0 0.0  1.0>
  17.    up  <0.0  1.0  0.0>
  18.    right <1.333333333 0.0 0.0>
  19. }
  20.  
  21.  
  22. // Ground 
  23. object {
  24.    plane { < 0.0 1.0 0.0 > -10. }
  25.    texture {
  26.       White_Marble
  27.       scale <10.0 10.0 10.0>
  28.       ambient 0.3
  29.       diffuse 0.7
  30.    }
  31.    color White
  32. }
  33.  
  34. // Sky/Ceiling 
  35. object {
  36.    quadric { Ellipsoid 
  37.       scale     < 200.0 100.0 200.0 >
  38.    }
  39.    texture {
  40.       bozo
  41.       turbulence 0.5
  42.       colour_map { /* Sky Colors */
  43.          [0.0 0.5   colour red 0.25 green 0.25 blue 0.5
  44.          colour red 0.25 green 0.25 blue 0.5]
  45.          [0.5 0.6   colour red 0.25 green 0.25 blue 0.5
  46.          colour red 0.7 green 0.7 blue 0.7]
  47.          [0.6 1.001 colour red 0.7 green 0.7 blue 0.7
  48.          colour red 0.3 green 0.3 blue 0.3]
  49.       }
  50.       scale <50.0 50.0 50.0>
  51.       translate <200.0 400.0 100.0>
  52.       ambient 0.6
  53.       diffuse 0.7
  54.    }
  55.    color White
  56. }
  57.  
  58. // Mirrored sphere { to reflect sun 
  59. // Diffuse value controls aura effect 
  60. object {
  61.    sphere { < 0.0 0.0 110.0 > 40.0 }
  62.    texture { // Mirror
  63.       color White
  64.       ambient 0.0
  65.       diffuse 0.3
  66.       reflection 1.0
  67.       brilliance 3.0
  68.       specular 1.0
  69.       roughness 0.01
  70.    }
  71.    color White
  72. }
  73.  
  74. // Two rows of pillars - Grouped two per object { for easy manipulation 
  75. object {
  76.    union {
  77.       quadric {
  78.          Cylinder_Y
  79.          scale <6.0 1.0 3.0>
  80.          translate <-60.0 0.0 0.0>
  81.       }
  82.       quadric {
  83.          Cylinder_Y
  84.          scale <6.0 1.0 3.0>
  85.          translate <60.0 0.0 0.0>
  86.       }
  87.       quadric {
  88.          Cylinder_Y
  89.          scale <6.0 1.0 3.0>
  90.          translate <-60.0 0.0 180.0>
  91.       }
  92.       quadric {
  93.          Cylinder_Y
  94.          scale <6.0 1.0 3.0>
  95.          translate <60.0 0.0 180.0>
  96.       }
  97.       quadric {
  98.          Cylinder_Y
  99.          scale <6.0 1.0 3.0>
  100.          translate <-60.0 0.0 60.0>
  101.       }
  102.       quadric {
  103.          Cylinder_Y
  104.          scale <6.0 1.0 3.0>
  105.          translate <60.0 0.0 60.0>
  106.       }
  107.    }
  108.    texture {
  109.       Blue_Agate
  110.       scale <10.0 10.0 10.0>
  111.       ambient 0.2
  112.       diffuse 0.7
  113.       brilliance 3.0
  114.       specular 1.0
  115.       roughness 0.01
  116.    }
  117.    color Blue
  118. }
  119.  
  120. object {
  121.    union {
  122.       quadric {
  123.          Cylinder_Y
  124.          scale <6.0 1.0 3.0>
  125.          translate <-60.0 0.0 30.0>
  126.       }
  127.       quadric {
  128.          Cylinder_Y
  129.          scale <6.0 1.0 3.0>
  130.          translate <60.0 0.0 30.0>
  131.       }
  132.    }
  133.    texture {
  134.       gradient < 1.0 1.0 0.0 >
  135.       colour_map {
  136.          [0.00 0.25  colour red 0.0 green 0.0 blue 1.0
  137.          colour red 0.7 green 0.3 blue 0.0]
  138.          [0.25 0.75  colour red 1.0 green 0.0 blue 1.0
  139.          colour red 0.8 green 0.4 blue 1.0]
  140.          [0.75 1.001 colour red 0.0 green 0.3 blue 0.8
  141.          colour red 0.7 green 0.3 blue 0.0]
  142.       }
  143.       scale <30.0 30.0 30.0>
  144.       translate <30.0 -30.0 0.0>
  145.       ambient 0.2
  146.       diffuse 0.7
  147.       brilliance 3.0
  148.       specular 1.0
  149.       roughness 0.01
  150.    }
  151.    color White
  152. }
  153.  
  154. object {
  155.    intersection {
  156.       union {
  157.          quadric {
  158.             Cylinder_Y
  159.             scale <6.0 1.0 3.0>
  160.             translate <-60.0 0.0 60.0>
  161.          }
  162.          quadric {
  163.             Cylinder_Y
  164.             scale <6.0 1.0 3.0>
  165.             translate <60.0 0.0 60.0>
  166.          }
  167.       }
  168.       plane { < 0.0 1.0 0.0 > 250.0 }
  169.    }
  170.    texture {
  171.       Blue_Agate
  172.       scale <10.0 10.0 10.0>
  173.       specular 1.0
  174.       roughness 0.01
  175.    }
  176.    color Blue
  177. }
  178.  
  179. object {
  180.    intersection {
  181.       union {
  182.          quadric {
  183.             Cylinder_Y
  184.             scale <6.0 1.0 3.0>
  185.             translate <-60.0 0.0 90.0>
  186.          }
  187.          quadric {
  188.             Cylinder_Y
  189.             scale <6.0 1.0 3.0>
  190.             translate <60.0 0.0 90.0>
  191.          }
  192.       }
  193.       plane { < 0.0 1.0 0.0 > 250.0 }
  194.    }
  195.    texture {
  196.       gradient < 1.0 1.0 0.0 >
  197.       colour_map {
  198.          [0.00 0.25  colour red 0.0 green 0.8 blue 0.4
  199.          colour red 0.2 green 0.3 blue 0.0]
  200.          [0.25 0.75  colour red 0.0 green 0.0 blue 0.8
  201.          colour red 0.1 green 0.6 blue 1.0]
  202.          [0.75 1.001 colour red 0.0 green 0.3 blue 0.4
  203.          colour red 0.8 green 0.8 blue 0.0]
  204.       }
  205.       scale <30.0 30.0 30.0>
  206.       translate <30.0 -30.0 0.0>
  207.       ambient 0.2
  208.       diffuse 0.7
  209.       brilliance 3.0
  210.       specular 1.0
  211.       roughness 0.01
  212.    }
  213.    color White
  214. }
  215.  
  216. object {
  217.    intersection {
  218.       union {
  219.          quadric {
  220.             Cylinder_Y
  221.             scale <6.0 1.0 3.0>
  222.             translate <-60.0 0.0 120.0>
  223.          }
  224.          quadric {
  225.             Cylinder_Y
  226.             scale <6.0 1.0 3.0>
  227.             translate <60.0 0.0 120.0>
  228.          }
  229.       }
  230.       plane { < 0.0 1.0 0.0 > 250.0 }
  231.    }
  232.    texture {
  233.       Blue_Agate
  234.       scale <10.0 10.0 10.0>
  235.       specular 1.0
  236.       roughness 0.01
  237.    }
  238.    color Blue
  239. }
  240.  
  241. object {
  242.    intersection {
  243.       union {
  244.          quadric {
  245.             Cylinder_Y
  246.             scale <6.0 1.0 3.0>
  247.             translate <-60.0 0.0 150.0>
  248.          }
  249.          quadric {
  250.             Cylinder_Y
  251.             scale <6.0 1.0 3.0>
  252.             translate <60.0 0.0 150.0>
  253.          }
  254.       }
  255.       plane { < 0.0 1.0 0.0 > 250.0 }
  256.    }
  257.    texture {
  258.       gradient < 1.0 1.0 0.0 >
  259.       colour_map {
  260.          [0.00 0.25  colour red 0.0 green 0.8 blue 0.4
  261.          colour red 0.2 green 0.3 blue 0.0]
  262.          [0.25 0.75  colour red 0.0 green 0.0 blue 0.8
  263.          colour red 0.1 green 0.6 blue 1.0]
  264.          [0.75 1.001 colour red 0.0 green 0.3 blue 0.4
  265.          colour red 0.8 green 0.8 blue 0.0]
  266.       }
  267.       scale <30.0 30.0 30.0>
  268.       translate <30.0 -30.0 0.0>
  269.       ambient 0.2
  270.       diffuse 0.7
  271.       brilliance 3.0
  272.       specular 1.0
  273.       roughness 0.01
  274.    }
  275.    color White
  276. }
  277.  
  278. // The Blinding Sun 
  279. object {
  280.    light_source { < 0.0 50.0 -100.0 >
  281.       colour White
  282.    }
  283. }
  284.