File: font.pov

package info (click to toggle)
vor 0.5.5-2
  • links: PTS, VCS
  • area: contrib
  • in suites: squeeze, wheezy
  • size: 936 kB
  • ctags: 389
  • sloc: ansic: 2,176; sh: 345; makefile: 109
file content (41 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (4)
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
// pass in a random seed (integer) to this file with +K

#include "colors.inc"

#declare RS = seed(clock + 1);

#macro rnd() (rand(RS)) #end


camera
{
	orthographic
	// the _length_ of the up and right vectors determine the aspect ratio of the image (and in the case of an orthographic projection, also the _area_ visible (unless angle is defined, in which case the angle determines the visible area))
	up <0, 0.40, 0>
	right <30, 0, 0>
	location <0, 0, -200>
	look_at <0, 0, 0>

}

// same light sorce as ship.pov
light_source { <-500, 500, -700> White }


blob{
	#include "font_guts.pov"
	threshold 3
	texture {
		pigment { rgb < 0.75, 0.75, 1.0 > }
		finish {
			ambient 0.35
			brilliance 2
			diffuse 0.3
			metallic
			specular 0.6
			roughness 1/60
			reflection 0.25
		}
		normal { bumps 0.1 scale 0.25 }
	}
}