home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 9 / CD_ASCQ_09_1193.iso / news / 4444 / bug4 / hill5.inc < prev    next >
Text File  |  1992-07-19  |  1KB  |  107 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. #declare JungleGreen = 
  8. texture {
  9.     color DarkGreen
  10.     phong .5
  11.     phong_size 20
  12.     ambient .1
  13.     .05
  14.     }
  15.  
  16. #declare Swamp =
  17. texture {
  18. //    color Red ambient 1
  19.     color MidnightBlue
  20.     phong .5
  21.     phong_size 80
  22.     ambient .3
  23.     diffuse .5
  24.     reflection .6
  25. //    ripples .02
  26. //    frequency .01
  27.     scale <.1 .1 .1>
  28.     
  29.     }
  30.  
  31.  
  32.  
  33.  
  34. //------------- Light Tan Rock
  35. #declare rock2 =
  36. texture { grnt0 scale <2 3 2> rotate <0 0 40> ambient .1 diffuse .7 }
  37. texture { grnt7a scale <1.3 2 1.3> rotate <0 0 -30> rotate <40 0 0> ambient .1 diffuse .7 }
  38.  
  39.  
  40.  
  41.  
  42. //--- Mountain Range
  43. object {
  44.    height_field {
  45.    tga
  46.    "world3.tga"
  47.    }
  48.  
  49.     texture {
  50.     rock2  scale <.2 .2 .2>
  51.     phong .05
  52.     phong_size 100
  53.     }
  54.     texture {
  55.     gradient <0 1 0>
  56.          color_map {
  57.         [0.0 0.3 color Black alpha .5 color DimGray alpha .5]
  58.         [0.3 0.6 color DimGray alpha .5 color Clear]
  59.         [0.6 1 color Clear color Clear]
  60.          }
  61.     .05
  62.     }
  63.  
  64.  
  65.  
  66. /*
  67. texture {
  68.     color Gray
  69.     ambient .1
  70.     diffuse .5
  71.     }
  72.  
  73. */
  74.  
  75.  
  76. scale <6000 1800 6000> translate <-3000 -10 -3000> 
  77. rotate <0 300 0> translate <0 0 200>
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84. }
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94. //--- Ground
  95. object {
  96.    union { Square_Y 
  97.    scale <3000 1 3000> 
  98.    translate <0 400 0>
  99.    }
  100.     texture { Swamp }
  101. }
  102.  
  103.  
  104.  
  105.  
  106.  
  107.