home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 1 / fogtst.pov < prev    next >
Text File  |  1992-07-21  |  1KB  |  74 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. #include "colors.inc"
  4. #include "textures.inc"
  5.  
  6. camera {
  7.    location <0.0  30.0  -100.0>
  8.    direction <0.0 0.0  1.0>
  9.    up  <0.0  1.0  0.0>
  10.    right <1.33333 0.0 0.0>
  11. }
  12.  
  13. fog {
  14.    colour red 0.2 green 0.2 blue 0.22
  15.    150.0
  16. }
  17.  
  18. /* Put down a new twist in the beloved famous raytrace g/y checked floor */
  19. object {
  20.    plane { <0.0 1.0 0.0> 0.0 }
  21.    texture {
  22.       checker colour White colour Black
  23.       ambient 0.2
  24.       diffuse 0.8
  25.       scale < 20.0 20.0 20000.0 >
  26.       translate <0 0 -10000>
  27.    }
  28.    colour Yellow
  29. }
  30. // Forground sphere
  31. object {
  32.    sphere { <0.0  40.0  40.0>  40.0 }
  33.  
  34.    texture {
  35.       Phong_Glossy
  36.       ambient 0.2
  37.       diffuse 0.7
  38.       colour Red
  39.    }
  40.    colour Red
  41. }
  42.  
  43. // Near distant sphere
  44. object {
  45.    sphere { <100.0  50.0  160.0>  30.0 }
  46.  
  47.    texture {
  48.       Glossy
  49.       colour Coral
  50.       ambient 0.15
  51.       diffuse 0.75
  52.    }
  53.    colour Red
  54. }
  55.  
  56. // Far distant sphere
  57. object {
  58.    sphere { <-100.0  150.0  250.0>  20.0 }
  59.    texture {
  60.       Glossy
  61.       colour Magenta
  62.       ambient 0.15
  63.       diffuse 0.75
  64.    }
  65.    colour Magenta
  66. }
  67.  
  68.  
  69. object {
  70.    light_source { <100.0  120.0  40.0>
  71.       colour White
  72.    }
  73. }
  74.