home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / atmos / skysph2.pov < prev   
Text File  |  1997-12-12  |  1KB  |  69 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.  
  11. camera {
  12.   location <0, 2.5, -4>
  13.   right <4/3, 0, 0>
  14.   up <0, 1, 0>
  15.   direction <0, 0, 1>
  16.   look_at <0, 4, 0>
  17. }
  18.  
  19. background { color SkyBlue }
  20.  
  21. #declare Sky = sky_sphere {
  22.   pigment {
  23.     gradient y
  24.     color_map {
  25.       [0.75  color CornflowerBlue]
  26.       [1.00  color MidnightBlue]
  27.     }
  28.     scale 2
  29.     translate <-1, -1, -1>
  30.   }
  31.   pigment {
  32.     bozo
  33.     turbulence 0.6
  34.     octaves 7
  35.     omega .49876
  36.     lambda 2.5432
  37.     color_map {
  38.       [0.0 color rgbf<.75, .75, .75, 0.1>]
  39.       [0.4 color rgbf<.9, .9, .9, .9>]
  40.       [0.7 color rgbf<1, 1, 1, 1>]
  41.     }
  42.     scale 6/10
  43.     scale <1, 0.3, 0.3>
  44.   }
  45.   pigment {
  46.     bozo
  47.     turbulence 0.6
  48.     octaves 8
  49.     omega .5123
  50.     lambda 2.56578
  51.     color_map {
  52.       [0.0 color rgbf<.375, .375, .375, 0.2>]
  53.       [0.4 color rgbf<.45, .45, .45, .9>]
  54.       [0.6 color rgbf<0.5, 0.5, 0.5, 1>]
  55.     }
  56.     scale 6/10
  57.     scale <1, 0.3, 0.3>
  58.   }
  59. }
  60.  
  61. sky_sphere { Sky }
  62.  
  63. plane { y, 0
  64.   pigment { color Green }
  65.   finish { ambient .3 diffuse .7 }
  66. }
  67.  
  68.  
  69.