home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / atsirds / depth4.pov < prev    next >
Text File  |  1994-08-09  |  779b  |  32 lines

  1. // SIRDS z-depth data with POV-Ray #4
  2. // )C( 7/1994 Christian Perle
  3.  
  4. #include "colors.inc"
  5.  
  6. camera {
  7.   location  <0, 0, -9>
  8.   direction <0, 0, 1.5>
  9.   up        <0, 1, 0>
  10.   right     <640/470, 0, 0>
  11.   look_at   <0, 0, 2.5>
  12. }
  13.  
  14. union {
  15.   box { <-1, -.05, -1>, <1, .05, 1> rotate -40*x translate <0, -1, 1.02> }
  16.   box { <-1, -.05, -1>, <1, .05, 1> rotate 40*x translate <0, 1, 1.02> }
  17.   box { <-.05, -1, -1>, <.05, 1, 1> rotate 40*y translate <-1, 0, 1.02> }
  18.   box { <-.05, -1, -1>, <.05, 1, 1> rotate -40*y translate <1, 0, 1.02> }
  19.   sphere { <0, 0, 1.5>, .6 }
  20.  
  21.   pigment {  // white/black gradient
  22.     gradient z
  23.     translate -10*z
  24.     color_map {
  25.       [0 color White]
  26.       [1 color Black]
  27.     }
  28.     scale 2
  29.   }
  30.   finish { ambient 1 diffuse 0 }
  31. }
  32.