home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / Anwendun / Pov / POVTOOLS / ATSIS / DEPTH7.POV < prev    next >
Encoding:
Text File  |  1994-08-16  |  973 b   |  50 lines

  1. // SIRDS z-depth data with POV-Ray #7
  2. // )C( 8/1994 Christian Perle
  3. // render: povray +w640 +h470 +fr +idepth7.pov
  4.  
  5. #include "colors.inc"
  6.  
  7. #declare Frontview = camera {
  8.   location  <0, 0, -6>
  9.   direction <0, 0, 2.5>
  10.   up        <0, 1, 0>
  11.   right     <640/470, 0, 0>
  12.   look_at   <0, 0, 2>
  13. }
  14.  
  15. #declare Sideview = camera {
  16.   location  <6, 0, 1>
  17.   direction <0, 0, 1.5>
  18.   up        <0, 1, 0>
  19.   right     <640/470, 0, 0>
  20.   look_at   <0, 0, 1>
  21. }
  22.  
  23. camera { Frontview }
  24.  
  25. #declare Bar = box { <-5, -1, -1>, <5, 1, 1> }
  26.  
  27. #declare Cross3 = union {
  28.   object { Bar }
  29.   object { Bar rotate 90*y }
  30.   object { Bar rotate 90*y rotate 90*x }
  31.   bounded_by { box { <-5.01, -5.01, -5.01>, <5.01, 5.01, 5.01> } }
  32.   scale .2
  33.   rotate <20, 30, 0>
  34. }
  35.  
  36. object {
  37.   Cross3
  38.   translate 1*z
  39.   pigment {
  40.     gradient z
  41.     translate -10*z
  42.     color_map {
  43.       [0 color White]
  44.       [1 color Black]
  45.     }
  46.     scale 2
  47.   }
  48.   finish { ambient 1 diffuse 0 }
  49. }
  50.