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

  1. //
  2. // POV-Ray(tm) 3.0 tutorial example scene.
  3. // Copyright 1996 by the POV-Ray Team
  4. //
  5.  
  6. #include "colors.inc"
  7.  
  8. camera {
  9.   orthographic
  10.   location <0, 0, -10>
  11.   look_at <0, 0.5, 0>
  12. }
  13.  
  14. light_source { <25, 25, -100> color rgb 1 }
  15.  
  16. polygon {
  17.   30,
  18.   <-0.8, 0.0>, <-0.8, 1.0>, 
  19.   <-0.3, 1.0>, <-0.3, 0.5>, 
  20.   <-0.7, 0.5>, <-0.7, 0.0>,
  21.   <-0.8, 0.0>,
  22.  
  23.   <-0.7, 0.6>, <-0.7, 0.9>, 
  24.   <-0.4, 0.9>, <-0.4, 0.6>,
  25.   <-0.7, 0.6>
  26.  
  27.   <-0.25, 0.0>, <-0.25, 1.0>,
  28.   < 0.25, 1.0>, < 0.25, 0.0>,
  29.   <-0.25, 0.0>,
  30.  
  31.   <-0.15, 0.1>, <-0.15, 0.9>,
  32.   < 0.15, 0.9>, < 0.15, 0.1>,
  33.   <-0.15, 0.1>,
  34.  
  35.   <0.45, 0.0>, <0.30, 1.0>, 
  36.   <0.40, 1.0>, <0.55, 0.1>, 
  37.   <0.70, 1.0>, <0.80, 1.0>,
  38.   <0.65, 0.0>,
  39.   <0.45, 0.0>
  40.  
  41.   pigment{ Red }
  42.   finish { phong 1 phong_size 100 }
  43.  
  44. }
  45.  
  46.