home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / INTERIOR / SKYSPH2.POV < prev   
Text File  |  1999-10-30  |  1KB  |  68 lines

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // File by Dieter Bayer.
  3.  
  4. global_settings { assumed_gamma 2.2 }
  5.  
  6. #include "colors.inc"
  7. #include "shapes.inc"
  8. #include "textures.inc"
  9.  
  10. camera {
  11.   location <0, 2.5, -4>
  12.   right <4/3, 0, 0>
  13.   up <0, 1, 0>
  14.   direction <0, 0, 1>
  15.   look_at <0, 4, 0>
  16. }
  17.  
  18. background { color SkyBlue }
  19.  
  20. #declare Sky = sky_sphere {
  21.   pigment {
  22.     gradient y
  23.     color_map {
  24.       [0.75  color CornflowerBlue]
  25.       [1.00  color MidnightBlue]
  26.     }
  27.     scale 2
  28.     translate <-1, -1, -1>
  29.   }
  30.   pigment {
  31.     bozo
  32.     turbulence 0.6
  33.     octaves 7
  34.     omega .49876
  35.     lambda 2.5432
  36.     color_map {
  37.       [0.0 color rgbf<.75, .75, .75, 0.1>]
  38.       [0.4 color rgbf<.9, .9, .9, .9>]
  39.       [0.7 color rgbf<1, 1, 1, 1>]
  40.     }
  41.     scale 6/10
  42.     scale <1, 0.3, 0.3>
  43.   }
  44.   pigment {
  45.     bozo
  46.     turbulence 0.6
  47.     octaves 8
  48.     omega .5123
  49.     lambda 2.56578
  50.     color_map {
  51.       [0.0 color rgbf<.375, .375, .375, 0.2>]
  52.       [0.4 color rgbf<.45, .45, .45, .9>]
  53.       [0.6 color rgbf<0.5, 0.5, 0.5, 1>]
  54.     }
  55.     scale 6/10
  56.     scale <1, 0.3, 0.3>
  57.   }
  58. }
  59.  
  60. sky_sphere { Sky }
  61.  
  62. plane { y, 0
  63.   pigment { color Green }
  64.   finish { ambient .3 diffuse .7 }
  65. }
  66.  
  67.  
  68.