1#VRML V1.0 ascii
2
3# Check rendering with an SoPointLight.
4# NB: turn off the headlight in the viewer when viewing this file.
5#
6# 19990423 mortene
7
8Separator {
9  Switch {
10    whichChild -1
11    DEF coord Coordinate3 {
12	point [ 0 0 0, 1 0 0, 2 0 0, 3 0 0, 4 0 0, 5 0 0, 6 0 0, 7 0 0,
13	    8 0 0, 9 0 0, 0 1 0, 1 1 0, 2 1 0, 3 1 0, 4 1 0, 5 1 0,
14	    6 1 0, 7 1 0, 8 1 0, 9 1 0, 0 2 0, 1 2 0, 2 2 0, 3 2 0,
15	    4 2 0, 5 2 0, 6 2 0, 7 2 0, 8 2 0, 9 2 0, 0 3 0, 1 3 0,
16	    2 3 0, 3 3 0, 4 3 0, 5 3 0, 6 3 0, 7 3 0, 8 3 0, 9 3 0,
17	    0 4 0, 1 4 0, 2 4 0, 3 4 0, 4 4 0, 5 4 0, 6 4 0, 7 4 0,
18	    8 4 0, 9 4 0, 0 5 0, 1 5 0, 2 5 0, 3 5 0, 4 5 0, 5 5 0,
19	    6 5 0, 7 5 0, 8 5 0, 9 5 0, 0 6 0, 1 6 0, 2 6 0, 3 6 0,
20	    4 6 0, 5 6 0, 6 6 0, 7 6 0, 8 6 0, 9 6 0, 0 7 0, 1 7 0,
21	    2 7 0, 3 7 0, 4 7 0, 5 7 0, 6 7 0, 7 7 0, 8 7 0, 9 7 0,
22	    0 8 0, 1 8 0, 2 8 0, 3 8 0, 4 8 0, 5 8 0, 6 8 0, 7 8 0,
23	    8 8 0, 9 8 0, 0 9 0, 1 9 0, 2 9 0, 3 9 0, 4 9 0, 5 9 0,
24	    6 9 0, 7 9 0, 8 9 0, 9 9 0 ]
25    }
26    DEF faceset IndexedFaceSet {
27	coordIndex [ 0, 1, 11, 10, -1, 1, 2, 12,
28	    11, -1, 2, 3, 13, 12, -1, 3,
29	    4, 14, 13, -1, 4, 5, 15, 14,
30	    -1, 5, 6, 16, 15, -1, 6, 7,
31	    17, 16, -1, 7, 8, 18, 17, -1,
32	    8, 9, 19, 18, -1, 10, 11, 21,
33	    20, -1, 11, 12, 22, 21, -1, 12,
34	    13, 23, 22, -1, 13, 14, 24, 23,
35	    -1, 14, 15, 25, 24, -1, 15, 16,
36	    26, 25, -1, 16, 17, 27, 26, -1,
37	    17, 18, 28, 27, -1, 18, 19, 29,
38	    28, -1, 20, 21, 31, 30, -1, 21,
39	    22, 32, 31, -1, 22, 23, 33, 32,
40	    -1, 23, 24, 34, 33, -1, 24, 25,
41	    35, 34, -1, 25, 26, 36, 35, -1,
42	    26, 27, 37, 36, -1, 27, 28, 38,
43	    37, -1, 28, 29, 39, 38, -1, 30,
44	    31, 41, 40, -1, 31, 32, 42, 41,
45	    -1, 32, 33, 43, 42, -1, 33, 34,
46	    44, 43, -1, 34, 35, 45, 44, -1,
47	    35, 36, 46, 45, -1, 36, 37, 47,
48	    46, -1, 37, 38, 48, 47, -1, 38,
49	    39, 49, 48, -1, 40, 41, 51, 50,
50	    -1, 41, 42, 52, 51, -1, 42, 43,
51	    53, 52, -1, 43, 44, 54, 53, -1,
52	    44, 45, 55, 54, -1, 45, 46, 56,
53	    55, -1, 46, 47, 57, 56, -1, 47,
54	    48, 58, 57, -1, 48, 49, 59, 58,
55	    -1, 50, 51, 61, 60, -1, 51, 52,
56	    62, 61, -1, 52, 53, 63, 62, -1,
57	    53, 54, 64, 63, -1, 54, 55, 65,
58	    64, -1, 55, 56, 66, 65, -1, 56,
59	    57, 67, 66, -1, 57, 58, 68, 67,
60	    -1, 58, 59, 69, 68, -1, 60, 61,
61	    71, 70, -1, 61, 62, 72, 71, -1,
62	    62, 63, 73, 72, -1, 63, 64, 74,
63	    73, -1, 64, 65, 75, 74, -1, 65,
64	    66, 76, 75, -1, 66, 67, 77, 76,
65	    -1, 67, 68, 78, 77, -1, 68, 69,
66	    79, 78, -1, 70, 71, 81, 80, -1,
67	    71, 72, 82, 81, -1, 72, 73, 83,
68	    82, -1, 73, 74, 84, 83, -1, 74,
69	    75, 85, 84, -1, 75, 76, 86, 85,
70	    -1, 76, 77, 87, 86, -1, 77, 78,
71	    88, 87, -1, 78, 79, 89, 88, -1,
72	    80, 81, 91, 90, -1, 81, 82, 92,
73	    91, -1, 82, 83, 93, 92, -1, 83,
74	    84, 94, 93, -1, 84, 85, 95, 94,
75	    -1, 85, 86, 96, 95, -1, 86, 87,
76	    97, 96, -1, 87, 88, 98, 97, -1,
77	    88, 89, 99, 98, -1 ]
78     }
79   }
80   # ROW 0 -- different locations
81   Translation { translation 0 +10 0 }
82   Separator {
83      Material { diffuseColor 1 0 0 }
84      Separator {
85	 PointLight { }
86	 USE coord
87         USE faceset
88      }
89
90      Material { diffuseColor 0 1 0 }
91      Translation { translation +12 0 0 }
92      Separator {
93	 PointLight { location -4 -4 1 }
94	 USE coord
95         USE faceset
96      }
97
98      Material { diffuseColor 1 1 0 }
99      Translation { translation +12 0 0 }
100      Separator {
101	 PointLight { location 4 -4 1}
102	 USE coord
103         USE faceset
104      }
105
106      Material { diffuseColor 1 0 1 }
107      Translation { translation +12 0 0 }
108      Separator {
109	 PointLight { location 4 4 1 }
110	 USE coord
111         USE faceset
112      }
113
114      Material { diffuseColor 1 1 1 }
115      Translation { translation +12 0 0 }
116      Separator {
117	 PointLight { location -4 4 1 }
118	 USE coord
119         USE faceset
120      }
121  }
122
123   # ROW 1 -- misc field settings
124   Translation { translation 0 +12 0 }
125   Separator {
126      Material { diffuseColor 1 0 0 }
127      Separator {
128	 PointLight { on FALSE }
129	 USE coord
130         USE faceset
131      }
132
133      Material { diffuseColor 1 1 0 }
134      Translation { translation +12 0 0 }
135      Separator {
136	 PointLight { intensity 0.8 }
137	 USE coord
138         USE faceset
139      }
140
141      Material { diffuseColor 1 1 0 }
142      Translation { translation +12 0 0 }
143      Separator {
144	 PointLight { intensity 0.5 }
145	 USE coord
146         USE faceset
147      }
148
149      Material { diffuseColor 1 1 0 }
150      Translation { translation +12 0 0 }
151      Separator {
152	 PointLight { intensity 0.2 }
153	 USE coord
154         USE faceset
155      }
156
157      Material { diffuseColor 1 1 1 }
158      Translation { translation +12 0 0 }
159      Separator {
160	 PointLight { color 1 0 0 }
161	 USE coord
162         USE faceset
163      }
164
165      Material { diffuseColor 0 0 0 }
166      Translation { translation +12 0 0 }
167      Separator {
168	 PointLight { color 1 0 0 }
169	 USE coord
170         USE faceset
171      }
172   }
173
174}
175