home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / RAYTRACE / HFG / LIST01.POV < prev    next >
Encoding:
Text File  |  1994-01-12  |  879 b   |  53 lines

  1. // list01.pov
  2. // Persistence of Vision Raytracer
  3.  
  4. /* Listing 1 erzeugt Bild 2
  5.   Achsenkreuz mit Kugel    */
  6.  
  7. #include "shapes.inc"
  8. #include "colors.inc"
  9. #include "textures.inc"
  10.  
  11. camera {
  12.    location <3.0, 2.5, -7.0>
  13.    direction <0.0, 0.0, 1.0>
  14.    up <0.0, 1.0, 0.0>
  15.    right <1.333333, 0.0, 0.0>
  16.    look_at <3.0, 2.5, 0.0>
  17.   }
  18.  
  19. object {
  20.    Cylinder_X    /*x-Achse*/
  21.     scale 0.1
  22.     pigment { color Red }
  23.   }
  24.  
  25. object {
  26.     Cylinder_Y    /*y-Achse*/
  27.     scale 0.1
  28.     pigment { color Blue  }
  29.  }
  30.  
  31. object {
  32.    Cylinder_Z    /*z-Achse*/
  33.      scale 0.1
  34.      pigment { color Yellow  }
  35.  }
  36.  
  37. object {   /*Kugel*/
  38.    sphere { <3.5, 3.3, 1.5>, 1.0  
  39.      pigment { colour White }
  40.      finish  {
  41.        reflection 1.0
  42.        phong 1.0
  43.      }
  44.    }
  45.  }
  46.  
  47.  
  48. /* Lichtquelle */
  49.  
  50. object {
  51.    light_source { <-8.0, 10.0, -10.0> colour White  }
  52.  }
  53.