home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / povray3a / POV3Demo / Lights / pov / Fillite < prev   
Text File  |  1995-11-08  |  721b  |  42 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // File by Dan Farmer
  3. // Shadowless lighting example
  4.  
  5. #version 3.0
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9. #include "textures.inc"
  10. #include "shapes.inc"
  11.  
  12. background { Blue }
  13. camera {
  14.   location <0, 3, -5>
  15.   direction z * 1.25
  16.   right x*1.3333
  17.   look_at 0
  18. }
  19.  
  20. light_source { <20, 40, -30> White
  21.     shadowless
  22. }
  23. light_source { <-5, 2, -3> White
  24.     shadowless
  25. }
  26.  
  27. union {
  28.     box { <-1, -1, -1> <1, 1, 1> }
  29.     sphere { <0,1,0>, 1 }
  30.     rotate -y*45
  31.     pigment { Scarlet }
  32.     finish {
  33.         Shiny
  34.         ambient 0
  35.         diffuse 0.8
  36.     }
  37. }
  38. plane { y,-1
  39.     pigment { checker Yellow, Blue scale 0.3}
  40.     finish { ambient 0 diffuse 1 }
  41. }
  42.