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

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // This scene shows fog without filter and transmittance.
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8.  
  9. camera {
  10.    location  <0, 20, -100>
  11.    direction <0,  0,    1>
  12.    up        <0,  1,    0>
  13.    right   <4/3,  0,    0>
  14. }
  15.  
  16. background { colour SkyBlue }
  17.  
  18. // Standard fog
  19. fog {colour rgbft<0.3, 0.5, 0.2, 0.0, 0.0> distance 150}
  20.  
  21. // Put down the beloved famous raytrace green/yellow checkered floor
  22. plane { y, -10
  23.    pigment {
  24.       checker colour Yellow colour Green
  25.       scale 20
  26.    }
  27.    finish {
  28.       ambient 0.2
  29.       diffuse 0.8
  30.    }
  31. }
  32.  
  33. sphere { <0, 25, 0>, 40
  34.    pigment {Red}
  35.    finish {
  36.       ambient 0.2
  37.       diffuse 0.6
  38.       phong 1.0
  39.       phong_size 20
  40.    }
  41. }
  42.  
  43. sphere { <-100, 150, 200>,  20
  44.    pigment {Green}
  45.    finish {
  46.       ambient 0.2
  47.       diffuse 0.6
  48.       phong 1.0
  49.       phong_size 20
  50.    }
  51. }
  52.  
  53. sphere { <100, 25, 100>, 30
  54.    pigment {Blue}
  55.    finish {
  56.       ambient 0.2
  57.       diffuse 0.6
  58.       phong 1.0
  59.       phong_size 20
  60.    }
  61. }
  62.  
  63. light_source {<100, 120, 40> colour White}
  64.