home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / RAYTRACE / _POV_DAT / ATRIUM / WALK.INC < prev   
Encoding:
Text File  |  1992-12-07  |  1.3 KB  |  81 lines

  1. //----- The Atrium Walk
  2.  
  3. #declare WalkColor1 =
  4. texture {
  5.   color Gray45
  6.   ambient .2
  7.   diffuse .7
  8.   phong .3
  9.   phong_size 20
  10.   .04
  11.   reflection .2
  12. }
  13.  
  14. #declare WalkColor2 =
  15. texture {
  16.   color Gray60
  17.   ambient .2
  18.   diffuse .7
  19.   phong .3
  20.   phong_size 20
  21.   .04
  22.   reflection .2
  23. }
  24.  
  25. #declare WaterColor1 =
  26. texture {
  27.   color CadetBlue
  28.   ambient .2
  29.   diffuse .7
  30.   phong .3
  31.   phong_size 20
  32.   reflection .4
  33. }
  34.  
  35.  
  36.  
  37. #declare Walk = 
  38. composite {
  39.  object {
  40.   union {
  41.    box { UnitBox scale <8 .1 31.9> translate <0 0 -45.9> }
  42.    box { UnitBox scale <32.6 .1 8> translate <40.6 0 -69.8> }
  43.   }
  44.     texture { WalkColor1 }
  45.  }
  46.  
  47.  //--- Inside Walk
  48.  object {
  49.   union {
  50.    box { UnitBox scale <5 .2 30.5> translate <0 0 -44.5> }
  51.    box { UnitBox scale <34.1 .2 5> translate <39.1 0 -69.9> }
  52.   }
  53.     texture { WalkColor2 }
  54.  }
  55.  
  56.  //--- Pool Rim
  57.  composite {
  58.  object {
  59.   difference {
  60.     box { UnitBox scale <26 .5 12.1> translate <34 0 -49.7> }
  61.     box { UnitBox scale <23 1 9.1> translate <34 0 -49.7> }
  62.   }
  63.      texture { WalkColor1 }
  64.   }
  65.  
  66.  //--- Pool Water
  67.  object {
  68.     box { UnitBox scale <26 .05 12.1> translate <34 0 -49.7> }
  69.      texture { WaterColor1 }
  70.  }
  71.      bounded_by {
  72.     box { UnitBox scale <27 .7 13.1> translate <34 0 -49.7> }
  73.     }
  74.  }
  75. }
  76.  
  77.  
  78. composite { Walk rotate <0 10 0> }
  79.  
  80.  
  81.