home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / demos / mfighter / build / help / scene.pov < prev    next >
Encoding:
Text File  |  1995-05-15  |  1.8 KB  |  130 lines

  1. #include "shapes.inc"
  2. #include "colors.inc"
  3. #include "textures.inc"
  4.  
  5. #default { finish { Phong_Dull }}
  6.  
  7. fog
  8.   {
  9.   color Gray70
  10.   distance 100
  11.   }
  12.  
  13. difference
  14.   {
  15. box
  16.   {
  17.   <-3,-3,-3>,
  18.   < 3, 3, 3>
  19.   texture
  20.     { 
  21.     tiles 
  22.       {
  23.       texture { Jade }
  24.       tile2
  25.       texture { White_Marble }
  26.       }
  27.     }
  28.   }
  29. sphere
  30.   {
  31.   <3,0,0>,
  32.   2.7
  33.   texture
  34.     { 
  35.     tiles 
  36.       {
  37.       texture { Jade }
  38.       tile2
  39.       texture { White_Marble }
  40.       }
  41.     }
  42.   }
  43. sphere
  44.   {
  45.   <0,3,0>,
  46.   2.7
  47.   texture
  48.     { 
  49.     tiles 
  50.       {
  51.       texture { Jade }
  52.       tile2
  53.       texture { White_Marble }
  54.       }
  55.     }
  56.   }
  57. sphere
  58.   {
  59.   <0,0,-3>,
  60.   2.7
  61.   texture
  62.     { 
  63.     tiles 
  64.       {
  65.       texture { Jade }
  66.       tile2
  67.       texture { White_Marble }
  68.       }
  69.     }
  70.   }
  71. sphere
  72.   {
  73.   <0,0,3>,
  74.   2.7
  75.   texture
  76.     { 
  77.     tiles 
  78.       {
  79.       texture { Jade }
  80.       tile2
  81.       texture { White_Marble }
  82.       }
  83.     }
  84.   }
  85. sphere
  86.   {
  87.   <-3,0,0>,
  88.   2.7
  89.   texture
  90.     { 
  91.     tiles 
  92.       {
  93.       texture { Jade }
  94.       tile2
  95.       texture { White_Marble }
  96.       }
  97.     }
  98.   }
  99.   rotate <0,45,0>
  100.   }
  101.  
  102. plane
  103.   {
  104.   y, -3
  105.   texture { Jade scale 100 }
  106.   normal { bumps .1 }
  107.   finish { Phong_Dull }
  108.   }
  109.  
  110. plane
  111.   {
  112.   y, 500
  113.   pigment { Bright_Blue_Sky scale 800 }
  114.   }
  115.  
  116. camera 
  117.   {
  118.   location <5,4.5,-13>
  119.   look_at <4.5,0,0>
  120.   }
  121.  
  122. //light_source { <0,0,-10> color red 1 green 1 blue 1 }
  123. //light_source { <10,0,0> color red 1 green 1 blue 1 }
  124. //light_source { <0,10,0> color red 1 green 1 blue 1 }
  125. //light_source { <5,4,-10> color red 1 green 1 blue 1 }
  126. light_source { <-40, 99, -40 > color red .5 green .5 blue .5 }
  127. light_source { <20, 99, -40 > color red .5 green .5 blue .5 }
  128. light_source { <80, 99, -40 > color red .5 green .5 blue .5 }
  129.  
  130.