home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / objects / ttf1.pov < prev    next >
Text File  |  1997-12-12  |  1KB  |  51 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2.  
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8.  
  9. camera {
  10.    location  <0, 10,-20>
  11.    direction <0, 0,  1>
  12.    up        <0,  1,  0>
  13.    right     <4/3, 0,  0>
  14.    look_at   <0, 0, 0>
  15.    }
  16.  
  17. background { color rgb <0.5, 0.5, 0.5> }
  18.  
  19. text { ttf "crystal.ttf", "POV-Ray", 2, 0
  20.    translate <-2, 0, -7>
  21.    pigment { color rgb <1, 0.2, 0.2> }
  22.    finish {
  23.       ambient 0.2
  24.       diffuse 0.6
  25.       phong 0.3
  26.       phong_size 100
  27.       }
  28.    scale <4, 4, 1>
  29.    rotate <0, 10, 0>
  30.    }
  31.  
  32. text { ttf "crystal.ttf", "Version:3.0", 2, 0
  33.    translate <-2, 0, 8>
  34.    pigment { color rgb <1, 0.2, 0.2> }
  35.    finish {
  36.       ambient 0.2
  37.       diffuse 0.6
  38.       phong 0.3
  39.       phong_size 100
  40.       }
  41.    scale <4, 4, 1>
  42.    rotate <0, -10, 0>
  43.    }
  44.  
  45. light_source {<20, 30, -100> colour White}
  46.  
  47. disc { <0, -1, 0>, <0, 1, 0>, 5000
  48.    pigment { checker color rgb <0.2, 1, 0.2> color rgb <1, 1, 1> scale 10 }
  49.    finish { ambient 0.2 diffuse 0.6 }
  50.    }
  51.