File: ttf1.pov

package info (click to toggle)
povray 1%3A3.6.1-12
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 31,084 kB
  • ctags: 20,310
  • sloc: ansic: 110,032; cpp: 86,573; sh: 13,595; pascal: 5,942; asm: 2,994; makefile: 1,753; ada: 1,637
file content (52 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Persistence Of Vision raytracer version 3.5 sample file.
//
// -w320 -h240
// -w800 -h600 +a0.3


global_settings { assumed_gamma 2.2 }

#include "colors.inc"

camera {
   location  <0, 10,-20>
   direction <0, 0,  1>
   up        <0,  1,  0>
   right     <4/3, 0,  0>
   look_at   <0, 0, 0>
   }

background { color rgb <0.5, 0.5, 0.5> }

text { ttf "crystal.ttf", "POV-Ray", 2, 0
   translate <-2, 0, -7>
   pigment { color rgb <1, 0.2, 0.2> }
   finish {
      ambient 0.2
      diffuse 0.6
      phong 0.3
      phong_size 100
      }
   scale <4, 4, 1>
   rotate <0, 10, 0>
   }

text { ttf "crystal.ttf", concat("Version:", str(version, 0, 1)), 2, 0
   translate <-2, 0, 8>
   pigment { color rgb <1, 0.2, 0.2> }
   finish {
      ambient 0.2
      diffuse 0.6
      phong 0.3
      phong_size 100
      }
   scale <4, 4, 1>
   rotate <0, -10, 0>
   }

light_source {<20, 30, -100> colour White}

disc { <0, -1, 0>, <0, 1, 0>, 5000
   pigment { checker color rgb <0.2, 1, 0.2> color rgb <1, 1, 1> scale 10 }
   finish { ambient 0.2 diffuse 0.6 }
   }