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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2. // The TEXTUREn.POV files demonstrate all textures in TEXTURES.INC
  3.  
  4. #include "colors.inc"
  5. #include "shapes.inc"
  6. #include "textures.inc"
  7.  
  8. camera 
  9.  {location <0 5 -30>
  10.   direction <0 0  1.35>
  11.   up  <0 1 0>
  12.   right <1.33333 0 0>
  13.   look_at <0 5 0>
  14.  }
  15.  
  16. object {light_source {<0 0 -1000> color LightGray}}
  17.  
  18. object {light_source {<150 50 -200> color LightGray}}
  19.  
  20. #declare Stack =
  21.  union
  22.   {box{UnitBox}
  23.    intersection{Disk_Y translate <0 2 0>}
  24.    sphere{<0 4 0> 1}
  25.   }
  26.  
  27. #declare Dist = 0
  28.  
  29. #declare BD0  = -1.1
  30. #declare BD1  =  1.1
  31.  
  32.  
  33. #declare BR1t  = 15.6
  34. #declare BR1b  =  9.4
  35. #declare BR2t  =  8.6
  36. #declare BR2b  =  2.4
  37. #declare BR3t  =  1.6
  38. #declare BR3b  = -4.6
  39.  
  40. #declare Row1 = 10.5
  41. #declare Row2 = 3.5
  42. #declare Row3 = -3.5
  43.  
  44.  
  45. #declare BC1   = -13.2
  46. #declare BC3   = -4.5
  47. #declare BC6   =  4.5
  48. #declare BC9   =  13.2
  49.  
  50. #declare Col1  = -12
  51. #declare Col2  = -9 
  52. #declare Col3  = -6 
  53. #declare Col4  = -3 
  54. #declare Col5  = 0  
  55. #declare Col6  = 3  
  56. #declare Col7  = 6  
  57. #declare Col8  = 9  
  58. #declare Col9  = 12 
  59.  
  60. composite
  61.  {
  62.   composite
  63.    {
  64.     object
  65.      {union{Stack}
  66.       texture {Jade}
  67.       translate <Col1 Row1 Dist>
  68.      }
  69.     
  70.     object
  71.      {union{Stack}
  72.       texture {Red_Marble}
  73.       translate <Col2 Row1 Dist>
  74.      }
  75.     
  76.     object
  77.      {union{Stack}
  78.       texture {White_Marble}
  79.       translate <Col3 Row1 Dist>
  80.      }
  81.     bounded_by{box{<BC1 BR1b BD0> <BC3 BR1t BD1>}}
  82.    }
  83.     
  84.   composite
  85.    {
  86.     object
  87.      {union{Stack}
  88.       texture {Blood_Marble}
  89.       translate <Col4 Row1 Dist>
  90.      }
  91.     
  92.     object
  93.      {union{Stack}
  94.       texture {Blue_Agate}
  95.       translate <Col5 Row1 Dist>
  96.      }
  97.     
  98.     object
  99.      {union{Stack}
  100.       texture {Sapphire_Agate}
  101.       translate <Col6 Row1 Dist>
  102.      }
  103.     bounded_by{box{<BC3 BR1b BD0> <BC6 BR1t BD1>}}
  104.    }
  105.    
  106.   composite
  107.    {
  108.     object
  109.      {union{Stack}
  110.       texture {Brown_Agate}
  111.       translate <Col7 Row1 Dist>
  112.      }
  113.     
  114.     object
  115.      {union{Stack}
  116.       texture {Pink_Granite}
  117.       translate <Col8 Row1 Dist>
  118.      }
  119.     
  120.     object
  121.      {union{Stack}
  122.       texture {PinkAlabaster}
  123.       translate <Col9 Row1 Dist>
  124.      }
  125.     bounded_by{box{<BC6 BR1b BD0> <BC9 BR1t BD1>}}
  126.    }
  127.   bounded_by{box{<BC1 BR1b BD0> <BC9 BR1t BD1>}}
  128.  }
  129.     
  130. composite
  131.  {
  132.   composite
  133.    {
  134.     object
  135.      {union{Stack}
  136.       texture {Blue_Sky}
  137.       translate <Col1 Row2 Dist>
  138.      }
  139.     
  140.     object
  141.      {union{Stack}
  142.       texture {Bright_Blue_Sky}
  143.       translate <Col2 Row2 Dist>
  144.      }
  145.     
  146.     object
  147.      {union{Stack}
  148.       texture {Blue_Sky2}
  149.       translate <Col3 Row2 Dist>
  150.      }
  151.     bounded_by{box{<BC1 BR2b BD0> <BC3 BR2t BD1>}}
  152.    }
  153.     
  154.   composite
  155.    {
  156.     object
  157.      {union{Stack}
  158.       texture {Blue_Sky3}
  159.       translate <Col4 Row2 Dist>
  160.      }
  161.     
  162.     object
  163.      {union{Stack}
  164.       texture {Blood_Sky}
  165.       translate <Col5 Row2 Dist>
  166.      }
  167.     
  168.     object
  169.      {union{Stack}
  170.       texture {Apocalypse}
  171.       translate <Col6 Row2 Dist>
  172.      }
  173.     bounded_by{box{<BC3 BR2b BD0> <BC6 BR2t BD1>}}
  174.    }
  175.     
  176.   composite
  177.    {
  178.     object
  179.      {union{Stack}
  180.       texture {Clouds}
  181.       translate <Col7 Row2 Dist>
  182.      }
  183.     
  184.     object
  185.      {union{Stack}
  186.       texture {Cherry_Wood}
  187.       translate <Col8 Row2 Dist>
  188.      }
  189.     
  190.     object
  191.      {union{Stack}
  192.       texture {Pine_Wood}
  193.       translate <Col9 Row2 Dist>
  194.      }
  195.     bounded_by{box{<BC6 BR2b BD0> <BC9 BR2t BD1>}}
  196.    }
  197.   bounded_by{box{<BC1 BR2b BD0> <BC9 BR2t BD1>}}
  198.  }
  199.     
  200. composite
  201.  {
  202.   composite
  203.    {
  204.     object
  205.      {union{Stack}
  206.       texture {Dark_Wood}
  207.       translate <Col1 Row3 Dist>
  208.      }
  209.     
  210.     object
  211.      {union{Stack}
  212.       texture {Tan_Wood}
  213.       translate <Col2 Row3 Dist>
  214.      }
  215.     
  216.     object
  217.      {union{Stack}
  218.       texture {White_Wood}
  219.       translate <Col3 Row3 Dist>
  220.      }
  221.     bounded_by{box{<BC1 BR3b BD0> <BC3 BR3t BD1>}}
  222.    }
  223.     
  224.   composite
  225.    {
  226.     object
  227.      {union{Stack}
  228.       texture {Tom_Wood}
  229.       translate <Col4 Row3 Dist>
  230.      }
  231.     
  232.     object
  233.      {union{Stack}
  234.       texture {DMFWood1}
  235.       translate <Col5 Row3 Dist>
  236.      }
  237.     
  238.     object
  239.      {union{Stack}
  240.       texture {DMFWood2}
  241.       translate <Col6 Row3 Dist>
  242.      }
  243.     bounded_by{box{<BC3 BR3b BD0> <BC6 BR3t BD1>}}
  244.    }
  245.     
  246.   composite
  247.    {
  248.     object
  249.      {union{Stack}
  250.       texture {DMFWood3}
  251.       translate <Col7 Row3 Dist>
  252.      }
  253.     
  254.     object
  255.      {union{Stack}
  256.       texture {DMFWood4}
  257.       translate <Col8 Row3 Dist>
  258.      }
  259.     
  260.     object
  261.      {union{Stack}
  262.       texture {DMFWood5}
  263.       translate <Col9 Row3 Dist>
  264.      }
  265.     bounded_by{box{<BC6 BR3b BD0> <BC9 BR3t BD1>}}
  266.    }
  267.   bounded_by{box{<BC1 BR3b BD0> <BC9 BR3t BD1>}}
  268.  }
  269.  
  270. object{plane{<0 0 1> 1.1}texture{color White}}
  271.