home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma87a.dms / ma87a.adf / pov3c_1.lha / docsdemo / atmos1.pov next >
Text File  |  1996-11-07  |  818b  |  40 lines

  1. //
  2. // POV-Ray(tm) 3.0 tutorial example scene.
  3. // Copyright 1996 by the POV-Ray Team
  4. //
  5.  
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. camera {
  9.   location <-10, 8, -19>
  10.   look_at <0, 5, 0>
  11.   angle 82
  12. }
  13.  
  14. background { color rgb<0.2, 0.4, 0.8>  }
  15.  
  16. light_source { <0, 19, 0> color red .5 green .5 blue .5 atmosphere off }
  17.  
  18. light_source { 
  19.   <40, 25, 0> color rgb <1, 1, 1>
  20.   spotlight
  21.   point_at <0, 5, 0>
  22.   radius 20
  23.   falloff 20
  24.   tightness 1
  25.   atmospheric_attenuation on
  26. }
  27.  
  28. union {
  29.   difference {
  30.     box { <-21, -1, -21>, <21, 21, 21> }
  31.     box { <-20, 0, -20>, <20, 20, 20> }
  32.     box { <19.9, 5, -3>, <21.1, 15, 3> }
  33.   }
  34.   box { <20, 5, -0.25>, <21, 15, 0.25> }
  35.   box { <20, 9.775, -3>, <21, 10.25, 3> }
  36.   pigment { color red 1 green 1 blue 1 }
  37.   finish { ambient 0.2 diffuse 0.5 }
  38. }
  39.  
  40.