home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / archit / postlt.inc < prev    next >
Text File  |  1993-03-04  |  2KB  |  71 lines

  1. // Simulated landscape lights
  2. #declare postlt=composite
  3. {
  4.   object {
  5.     intersection {
  6.       quadric{ Cylinder_Z scale <3.000000 3.000000 3.000000>}
  7.       plane { <0.0 0.0 1.0>  18.0 }
  8.       plane { <0.0 0.0 -1.0> 0.1 }
  9.                  }
  10.     texture {
  11.        Metal
  12.        color Brown
  13.             }
  14.          }
  15.  
  16.   object {
  17.       union{
  18.       intersection {
  19.       quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
  20.       plane { <0.0 0.0 1.0>  24.0 }
  21.       plane { <0.0 0.0 -1.0> 18}
  22.                    }
  23.       light_source { <0 0 21> color Gray50}
  24.            }
  25.    texture {
  26.          color White
  27.          ambient 1
  28.          diffuse 0
  29.            }
  30.     no_shadow
  31.     }
  32.  
  33.   object {
  34.         intersection {
  35.       quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
  36.       plane { <0.0 0.0 1.0>  30.0 }
  37.       plane { <0.0 0.0 -1.0> 24.0}
  38.                     }
  39.     texture {
  40.     Metal
  41.     color Brown
  42.             }
  43.         }
  44.  
  45.  bounded_by {
  46.     intersection {
  47.       plane { <1.0  0.0  0.0> 3.0 }
  48.       plane { <-1.0 0.0  0.0> 3.0 }
  49.       plane { <0.0  1.0  0.0> 3.0 }
  50.       plane { <0.0 -1.0  0.0> 3.0 }
  51.       plane { <0.0  0.0  1.0> 32.0 }
  52.       plane { <0.0  0.0 -1.0> 0.0 }
  53.     }
  54.   }
  55. }
  56. // place the post lights
  57. composite{
  58.         postlt
  59.         translate <433.729 -272.366 0>
  60.         }
  61.  
  62. composite{
  63.         postlt
  64.         translate <683.122 -24.947 0>
  65.         }
  66.  
  67. composite{
  68.         postlt
  69.         translate <913.710 204.378 0>
  70.         }
  71.