File: stage_xy.inc

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 (78 lines) | stat: -rw-r--r-- 2,339 bytes parent folder | download | duplicates (3)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Persistence Of Vision Raytracer version 3.5 sample file.
// Used in conjunction with BRASSES.POV, COPPERS.POV, CHROMES.POV, & SILVERS.POV
// to demonstrate the textures in metals.inc.

camera {
   location <0, 0, -60>
   direction <0, 0,  1.5>
   right x*1.33
   look_at 0*y
}

light_source {<-50, 50, -1000> color Gray50}
light_source {<150, 50, -200> color Gray25}

//background { color Gray50 }

sky_sphere {
    pigment {
        gradient y
        color_map {[0, 1  color Gray50 color Gray80]}
    }
}

plane { z, 2.5 pigment {Gray50} finish { ambient 0.45 } }

#declare Stack =
union {
   sphere{<0, 4, 0>, 1}
   object {Disk_Y translate 2*y}
   object {UnitBox}
}

#declare Dist = 0;

#declare Row1 =  14;
#declare Row2 =   7;
#declare Row3 =   0;
#declare Row4 =  -7;
#declare Row5 = -14;

#declare Col1 = -18;
#declare Col2 =  -9;
#declare Col3 =   0;
#declare Col4 =   9;
#declare Col5 =  18;


object { Stack texture{T01} translate <Col1 Row1 Dist> }
object { Stack texture{T02} translate <Col2 Row1 Dist> }
object { Stack texture{T03} translate <Col3 Row1 Dist> }
object { Stack texture{T04} translate <Col4 Row1 Dist> }
object { Stack texture{T05} translate <Col5 Row1 Dist> }

object { Stack texture{T06} translate <Col1 Row2 Dist> }
object { Stack texture{T07} translate <Col2 Row2 Dist> }
object { Stack texture{T08} translate <Col3 Row2 Dist> }
object { Stack texture{T09} translate <Col4 Row2 Dist> }
object { Stack texture{T10} translate <Col5 Row2 Dist> }

object { Stack texture{T11} translate <Col1 Row3 Dist> }
object { Stack texture{T12} translate <Col2 Row3 Dist> }
object { Stack texture{T13} translate <Col3 Row3 Dist> }
object { Stack texture{T14} translate <Col4 Row3 Dist> }
object { Stack texture{T15} translate <Col5 Row3 Dist> }

object { Stack texture{T16} translate <Col1 Row4 Dist> }
object { Stack texture{T17} translate <Col2 Row4 Dist> }
object { Stack texture{T18} translate <Col3 Row4 Dist> }
object { Stack texture{T19} translate <Col4 Row4 Dist> }
object { Stack texture{T20} translate <Col5 Row4 Dist> }

object { Stack texture{T21} translate <Col1 Row5 Dist> }
object { Stack texture{T22} translate <Col2 Row5 Dist> }
object { Stack texture{T23} translate <Col3 Row5 Dist> }
object { Stack texture{T24} translate <Col4 Row5 Dist> }
object { Stack texture{T25} translate <Col5 Row5 Dist> }