home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 13 Bitmap / 13-Bitmap.zip / povscn.zip / scenes / level1 / fogtst.pov < prev    next >
Text File  |  1993-09-28  |  990b  |  58 lines

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