home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma87a.dms / ma87a.adf / pov3c_1.lha / docsdemo / halo3.inc < prev    next >
Text File  |  1996-11-07  |  625b  |  36 lines

  1. //
  2. // POV-Ray(tm) 3.0 tutorial example scene.
  3. // Copyright 1996 by the POV-Ray Team
  4. //
  5.  
  6. #include "color.inc"
  7.  
  8. camera {
  9.   location <0, 0, -2.5>
  10.   look_at <0, 0, 0>
  11. }
  12.  
  13. background { color rgb <0.2, 0.4, 0.8> }
  14.  
  15. light_source { 
  16.   <2.5, 2.5, -2.5>
  17.   colour rgb <1, 1, 1>
  18.   spotlight
  19.   point_at <0, 0, 0>
  20.   radius 12
  21.   falloff 15
  22.   tightness 1
  23. }
  24.  
  25. difference {
  26.   box { -1, 1 }
  27.   box { <-1.1, -0.8, -0.8>, <1.1, 0.8, 0.8> }
  28.   box { <-0.8, -1.1, -0.8>, <0.8, 1.1, 0.8> }
  29.   box { <-0.8, -0.8, -1.1>, <0.8, 0.8, 1.1> }
  30.   pigment { color rgb <1, 0.2, 0.2> }
  31.   scale 0.5
  32.   rotate 45*y
  33.   rotate 45*x
  34. }
  35.  
  36.