home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / atmos / skysph1.pov < prev    next >
Text File  |  1997-12-12  |  617b  |  40 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // File by Dieter Bayer.
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8. #include "shapes.inc"
  9. #include "textures.inc"
  10. #include "skies.inc"
  11.  
  12. camera {
  13.   location <0, 2.5, -4>
  14.   right <4/3, 0, 0>
  15.   up <0, 1, 0>
  16.   direction <0, 0, 1>
  17.   look_at <0, 4, 0>
  18. }
  19.  
  20. light_source { <5, 10, -60> White }
  21.  
  22. #declare Sky = sky_sphere {
  23.   pigment {
  24.     gradient y
  25.     color_map {
  26.       [0.5 color SkyBlue]
  27.       [0.8 color MidnightBlue]
  28.     }
  29.   }
  30. }
  31.  
  32. sky_sphere { Sky }
  33.  
  34. plane { y, 0
  35.   pigment { color Green }
  36.   finish { ambient .3 diffuse .7 }
  37. }
  38.  
  39.  
  40.