home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / OBJECTS / BOX.POV < prev    next >
Text File  |  1999-10-30  |  615b  |  32 lines

  1. // Persistence Of Vision raytracer version 3.1    sample file.
  2. // File by Alexander Enzmann
  3.  
  4. global_settings { assumed_gamma 2.2 }
  5.  
  6. camera {
  7.    location  <0, 0, -8>
  8.    direction <0, 0, 1.2071>
  9.    look_at   <0, 0, 0>
  10. }
  11.  
  12. sphere { <0.0, 0.0, 0.0>, 2
  13.    finish {
  14.       ambient 0.2
  15.       diffuse 0.8
  16.       phong 1
  17.    }
  18.    pigment { color red 1 green 0 blue 0 }
  19. }
  20.  
  21. box { <-2.0, -0.2, -2.0>, <2.0, 0.2, 2.0>
  22.     finish {
  23.        ambient 0.2
  24.        diffuse 0.8
  25.     }
  26.     pigment { color red 1 green 0 blue 1 }
  27.  
  28.     rotate <-20, 30, 0>
  29. }
  30.  
  31. light_source { <-10, 3, -20> color red 1 green 1 blue 1 }
  32.