1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content='XvlShellAttributeAll.x3d'/> |
6 | <meta name='description' content='Examples of all XvlShell attribute values.'/> |
7 | <meta name='creator' content='Marc Jablonski'/> |
8 | <meta name='created' content='8 January 2002'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name=' error ' content=' Test X3D DTD experimental extensions mechanisms, the XVL nodes are not legal X3D '/> |
11 | <meta name='reference' content='readme.txt'/> |
12 | <meta name='reference' content='docs/LatticeXvl/LatticeXvlOverview.html'/> |
13 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/docs/LatticeXvl/LatticeXvlOverview.html'/> |
14 | <meta name='reference' content='http://www.xvl3d.com'/> |
15 | <meta name='subject' content='Lattice XVL parametric geometry X3D VRML'/> |
16 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeAll.x3d'/> |
17 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
18 | <meta name='license' content='../license.html'/> |
19 | </head> |
20 | <Scene> |
21 | <WorldInfo title='XvlShellAttributeAll.x3d'/> |
22 | <Viewpoint description='All Attributes' position='0 0 30'/> |
23 | <Background groundColor='0 .1 .2' skyColor='0 .1 .2'/> |
24 | <Transform translation='0 10 0'> |
25 | <Shape> |
26 | <Appearance> |
27 | <Material emissiveColor='1 1 1'/> |
28 | </Appearance> |
29 | <Text string='"XvlShell Attributes"'> |
30 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='2.0'/> |
31 | </Text> |
32 | </Shape> |
33 | </Transform> |
34 | <Transform translation='-6 6 0'> |
35 | <Viewpoint description='Shell Types'/> |
36 | <Transform translation='0 1.5 0'> |
37 | <Shape> |
38 | <Appearance> |
39 | <Material emissiveColor='1 1 1'/> |
40 | </Appearance> |
41 | <Text string='"Shell Types"'> |
42 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
43 | </Text> |
44 | </Shape> |
45 | </Transform> |
46 | <Transform translation='-1.5 -1 0'> |
47 | <Transform translation='0 1.5 0'> |
48 | <Shape> |
49 | <Appearance> |
50 | <Material emissiveColor='1 1 1'/> |
51 | </Appearance> |
52 | <Text maxExtent='2' string='"POLYGON_MESH"'> |
53 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
54 | </Text> |
55 | </Shape> |
56 | </Transform> |
57 | <Shape> |
58 | <Appearance> |
59 | <Material diffuseColor='.5 1 1'/> |
60 | </Appearance> |
61 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='POLYGON_MESH'> |
62 |
<!-- Coordinate
MESH_COORD is a DEF node that has 43 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13, USE_14, USE_15, USE_16, USE_17, USE_18, USE_19, USE_20, USE_21, USE_22, USE_23, USE_24, USE_25, USE_26, USE_27, USE_28, USE_29, USE_30, USE_31, USE_32, USE_33, USE_34, USE_35, USE_36, USE_37, USE_38, USE_39, USE_40, USE_41, USE_42, USE_43 --> <Coordinate DEF='MESH_COORD' point='-1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 1 -1 -1 1 -1 1 1 1 -1 1 1 1'/> |
63 | </XvlShell> |
64 | </Shape> |
65 | <Shape> |
66 | <Appearance> |
67 | <Material emissiveColor='1 1 1'/> |
68 | </Appearance> |
69 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
70 | <Coordinate USE='MESH_COORD'/> |
71 | </IndexedLineSet> |
72 | </Shape> |
73 | </Transform> |
74 | <Transform translation='1.5 -1 0'> |
75 | <Transform translation='0 1.5 0'> |
76 | <Shape> |
77 | <Appearance> |
78 | <Material emissiveColor='1 1 1'/> |
79 | </Appearance> |
80 | <Text maxExtent='2' string='"LATTICE_MESH"'> |
81 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
82 | </Text> |
83 | </Shape> |
84 | </Transform> |
85 | <Shape> |
86 | <Appearance> |
87 | <Material diffuseColor='.5 1 1'/> |
88 | </Appearance> |
89 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
90 | <Coordinate USE='MESH_COORD'/> |
91 | </XvlShell> |
92 | </Shape> |
93 | <Shape> |
94 | <Appearance> |
95 | <Material emissiveColor='1 1 1'/> |
96 | </Appearance> |
97 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
98 | <Coordinate USE='MESH_COORD'/> |
99 | </IndexedLineSet> |
100 | </Shape> |
101 | </Transform> |
102 | </Transform> |
103 | <Transform translation='6 6 0'> |
104 | <Viewpoint description='Number of Divisions'/> |
105 | <Transform translation='0 1.5 0'> |
106 | <Shape> |
107 | <Appearance> |
108 | <Material emissiveColor='1 1 1'/> |
109 | </Appearance> |
110 | <Text string='"Number of Divisions"'> |
111 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
112 | </Text> |
113 | </Shape> |
114 | </Transform> |
115 | <Transform translation='-3 -1 0'> |
116 | <Transform translation='0 1.5 0'> |
117 | <Shape> |
118 | <Appearance> |
119 | <Material emissiveColor='1 1 1'/> |
120 | </Appearance> |
121 | <Text maxExtent='2' string='"numberOfDivisions = 2"'> |
122 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
123 | </Text> |
124 | </Shape> |
125 | </Transform> |
126 | <Shape> |
127 | <Appearance> |
128 | <Material diffuseColor='.5 1 1'/> |
129 | </Appearance> |
130 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' numberOfDivisions='2' shellType='LATTICE_MESH'> |
131 | <Coordinate USE='MESH_COORD'/> |
132 | </XvlShell> |
133 | </Shape> |
134 | <Shape> |
135 | <Appearance> |
136 | <Material emissiveColor='1 1 1'/> |
137 | </Appearance> |
138 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
139 | <Coordinate USE='MESH_COORD'/> |
140 | </IndexedLineSet> |
141 | </Shape> |
142 | </Transform> |
143 | <Transform translation='0 -1 0'> |
144 | <Transform translation='0 1.5 0'> |
145 | <Shape> |
146 | <Appearance> |
147 | <Material emissiveColor='1 1 1'/> |
148 | </Appearance> |
149 | <Text maxExtent='2' string='"numberOfDivisions = 4"'> |
150 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
151 | </Text> |
152 | </Shape> |
153 | </Transform> |
154 | <Shape> |
155 | <Appearance> |
156 | <Material diffuseColor='.5 1 1'/> |
157 | </Appearance> |
158 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' numberOfDivisions='4' shellType='LATTICE_MESH'> |
159 | <Coordinate USE='MESH_COORD'/> |
160 | </XvlShell> |
161 | </Shape> |
162 | <Shape> |
163 | <Appearance> |
164 | <Material emissiveColor='1 1 1'/> |
165 | </Appearance> |
166 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
167 | <Coordinate USE='MESH_COORD'/> |
168 | </IndexedLineSet> |
169 | </Shape> |
170 | </Transform> |
171 | <Transform translation='3 -1 0'> |
172 | <Transform translation='0 1.5 0'> |
173 | <Shape> |
174 | <Appearance> |
175 | <Material emissiveColor='1 1 1'/> |
176 | </Appearance> |
177 | <Text maxExtent='2' string='"numberOfDivisions = 16"'> |
178 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
179 | </Text> |
180 | </Shape> |
181 | </Transform> |
182 | <Shape> |
183 | <Appearance> |
184 | <Material diffuseColor='.5 1 1'/> |
185 | </Appearance> |
186 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' numberOfDivisions='16' shellType='LATTICE_MESH'> |
187 | <Coordinate USE='MESH_COORD'/> |
188 | </XvlShell> |
189 | </Shape> |
190 | <Shape> |
191 | <Appearance> |
192 | <Material emissiveColor='1 1 1'/> |
193 | </Appearance> |
194 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
195 | <Coordinate USE='MESH_COORD'/> |
196 | </IndexedLineSet> |
197 | </Shape> |
198 | </Transform> |
199 | </Transform> |
200 | <Transform translation='-10 0 0'> |
201 | <Viewpoint description='Vertex Round'/> |
202 | <Transform translation='0 1.5 0'> |
203 | <Shape> |
204 | <Appearance> |
205 | <Material emissiveColor='1 1 1'/> |
206 | </Appearance> |
207 | <Text string='"Vertex Round"'> |
208 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
209 | </Text> |
210 | </Shape> |
211 | </Transform> |
212 | <Transform translation='-3 -1 0'> |
213 | <Transform translation='0 1.75 0'> |
214 | <Shape> |
215 | <Appearance> |
216 | <Material emissiveColor='1 1 1'/> |
217 | </Appearance> |
218 | <Text maxExtent='2' string='"Top Vertices" "vertexRound = 0.0"'> |
219 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
220 | </Text> |
221 | </Shape> |
222 | </Transform> |
223 | <Shape> |
224 | <Appearance> |
225 | <Material diffuseColor='.5 1 1'/> |
226 | </Appearance> |
227 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH' vertexRound='1.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0'> |
228 | <Coordinate USE='MESH_COORD'/> |
229 | </XvlShell> |
230 | </Shape> |
231 | <Shape> |
232 | <Appearance> |
233 | <Material emissiveColor='1 1 1'/> |
234 | </Appearance> |
235 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
236 | <Coordinate USE='MESH_COORD'/> |
237 | </IndexedLineSet> |
238 | </Shape> |
239 | </Transform> |
240 | <Transform translation='0 -1 0'> |
241 | <Transform translation='0 1.75 0'> |
242 | <Shape> |
243 | <Appearance> |
244 | <Material emissiveColor='1 1 1'/> |
245 | </Appearance> |
246 | <Text maxExtent='2' string='"Top Vertices" "vertexRound = 0.1"'> |
247 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
248 | </Text> |
249 | </Shape> |
250 | </Transform> |
251 | <Shape> |
252 | <Appearance> |
253 | <Material diffuseColor='.5 1 1'/> |
254 | </Appearance> |
255 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH' vertexRound='1.0 1.0 0.1 0.1 1.0 1.0 0.1 0.1'> |
256 | <Coordinate USE='MESH_COORD'/> |
257 | </XvlShell> |
258 | </Shape> |
259 | <Shape> |
260 | <Appearance> |
261 | <Material emissiveColor='1 1 1'/> |
262 | </Appearance> |
263 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
264 | <Coordinate USE='MESH_COORD'/> |
265 | </IndexedLineSet> |
266 | </Shape> |
267 | </Transform> |
268 | <Transform translation='3 -1 0'> |
269 | <Transform translation='0 1.75 0'> |
270 | <Shape> |
271 | <Appearance> |
272 | <Material emissiveColor='1 1 1'/> |
273 | </Appearance> |
274 | <Text maxExtent='2' string='"Top Vertices" "vertexRound = 1.0"'> |
275 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
276 | </Text> |
277 | </Shape> |
278 | </Transform> |
279 | <Shape> |
280 | <Appearance> |
281 | <Material diffuseColor='.5 1 1'/> |
282 | </Appearance> |
283 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH' vertexRound='1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0'> |
284 | <Coordinate USE='MESH_COORD'/> |
285 | </XvlShell> |
286 | </Shape> |
287 | <Shape> |
288 | <Appearance> |
289 | <Material emissiveColor='1 1 1'/> |
290 | </Appearance> |
291 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
292 | <Coordinate USE='MESH_COORD'/> |
293 | </IndexedLineSet> |
294 | </Shape> |
295 | </Transform> |
296 | </Transform> |
297 | <Transform> |
298 | <Viewpoint description='Edge Round'/> |
299 | <Transform translation='0 1.5 0'> |
300 | <Shape> |
301 | <Appearance> |
302 | <Material emissiveColor='1 1 1'/> |
303 | </Appearance> |
304 | <Text string='"Edge Round"'> |
305 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
306 | </Text> |
307 | </Shape> |
308 | </Transform> |
309 | <Transform translation='-3 -1 0'> |
310 | <Transform translation='0 1.75 0'> |
311 | <Shape> |
312 | <Appearance> |
313 | <Material emissiveColor='1 1 1'/> |
314 | </Appearance> |
315 | <Text maxExtent='2' string='"Top Edges" "edgeRound = 0.0"'> |
316 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
317 | </Text> |
318 | </Shape> |
319 | </Transform> |
320 | <Shape> |
321 | <Appearance> |
322 | <Material diffuseColor='.5 1 1'/> |
323 | </Appearance> |
324 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeEndCoordIndex='3 7 6 2' edgeRound='0.0 0.0 0.0 0.0' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
325 | <Coordinate USE='MESH_COORD'/> |
326 | </XvlShell> |
327 | </Shape> |
328 | <Shape> |
329 | <Appearance> |
330 | <Material emissiveColor='1 1 1'/> |
331 | </Appearance> |
332 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
333 | <Coordinate USE='MESH_COORD'/> |
334 | </IndexedLineSet> |
335 | </Shape> |
336 | </Transform> |
337 | <Transform translation='0 -1 0'> |
338 | <Transform translation='0 1.75 0'> |
339 | <Shape> |
340 | <Appearance> |
341 | <Material emissiveColor='1 1 1'/> |
342 | </Appearance> |
343 | <Text maxExtent='2' string='"Top Edges" "edgeRound = 0.1"'> |
344 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
345 | </Text> |
346 | </Shape> |
347 | </Transform> |
348 | <Shape> |
349 | <Appearance> |
350 | <Material diffuseColor='.5 1 1'/> |
351 | </Appearance> |
352 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeEndCoordIndex='3 7 6 2' edgeRound='0.1 0.1 0.1 0.1' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
353 | <Coordinate USE='MESH_COORD'/> |
354 | </XvlShell> |
355 | </Shape> |
356 | <Shape> |
357 | <Appearance> |
358 | <Material emissiveColor='1 1 1'/> |
359 | </Appearance> |
360 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
361 | <Coordinate USE='MESH_COORD'/> |
362 | </IndexedLineSet> |
363 | </Shape> |
364 | </Transform> |
365 | <Transform translation='3 -1 0'> |
366 | <Transform translation='0 1.75 0'> |
367 | <Shape> |
368 | <Appearance> |
369 | <Material emissiveColor='1 1 1'/> |
370 | </Appearance> |
371 | <Text maxExtent='2' string='"Top Edges" "edgeRound = 1.0"'> |
372 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
373 | </Text> |
374 | </Shape> |
375 | </Transform> |
376 | <Shape> |
377 | <Appearance> |
378 | <Material diffuseColor='.5 1 1'/> |
379 | </Appearance> |
380 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeEndCoordIndex='3 7 6 2' edgeRound='1.0 1.0 1.0 1.0' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
381 | <Coordinate USE='MESH_COORD'/> |
382 | </XvlShell> |
383 | </Shape> |
384 | <Shape> |
385 | <Appearance> |
386 | <Material emissiveColor='1 1 1'/> |
387 | </Appearance> |
388 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
389 | <Coordinate USE='MESH_COORD'/> |
390 | </IndexedLineSet> |
391 | </Shape> |
392 | </Transform> |
393 | </Transform> |
394 | <Transform translation='10 0 0'> |
395 | <Viewpoint description='Edge Vector'/> |
396 | <Transform translation='0 1.5 0'> |
397 | <Shape> |
398 | <Appearance> |
399 | <Material emissiveColor='1 1 1'/> |
400 | </Appearance> |
401 | <Text string='"Edge Vector"'> |
402 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
403 | </Text> |
404 | </Shape> |
405 | </Transform> |
406 | <Transform translation='-3 -1 0'> |
407 | <Transform translation='0 1.75 0'> |
408 | <Shape> |
409 | <Appearance> |
410 | <Material emissiveColor='1 1 1'/> |
411 | </Appearance> |
412 | <Text maxExtent='2' string='"Top Edges" "Edge Vectors = (0 0 0)"'> |
413 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
414 | </Text> |
415 | </Shape> |
416 | </Transform> |
417 | <Shape> |
418 | <Appearance> |
419 | <Material diffuseColor='.5 1 1'/> |
420 | </Appearance> |
421 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeBeginVector='0 0 0 0 0 0 0 0 0 0 0 0' edgeEndCoordIndex='3 7 6 2' edgeEndVector='0 0 0 0 0 0 0 0 0 0 0 0' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
422 | <Coordinate USE='MESH_COORD'/> |
423 | </XvlShell> |
424 | </Shape> |
425 | <Shape> |
426 | <Appearance> |
427 | <Material emissiveColor='1 1 1'/> |
428 | </Appearance> |
429 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
430 | <Coordinate USE='MESH_COORD'/> |
431 | </IndexedLineSet> |
432 | </Shape> |
433 | </Transform> |
434 | <Transform translation='0 -1 0'> |
435 | <Transform translation='0 1.75 0'> |
436 | <Shape> |
437 | <Appearance> |
438 | <Material emissiveColor='1 1 1'/> |
439 | </Appearance> |
440 | <Text maxExtent='2' string='"Top Edges" "Edge Vectors = (0 1 0)"'> |
441 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
442 | </Text> |
443 | </Shape> |
444 | </Transform> |
445 | <Shape> |
446 | <Appearance> |
447 | <Material diffuseColor='.5 1 1'/> |
448 | </Appearance> |
449 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeBeginVector='0 1 0 0 1 0 0 1 0 0 1 0' edgeEndCoordIndex='3 7 6 2' edgeEndVector='0 1 0 0 1 0 0 1 0 0 1 0' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
450 | <Coordinate USE='MESH_COORD'/> |
451 | </XvlShell> |
452 | </Shape> |
453 | <Shape> |
454 | <Appearance> |
455 | <Material emissiveColor='1 1 1'/> |
456 | </Appearance> |
457 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
458 | <Coordinate USE='MESH_COORD'/> |
459 | </IndexedLineSet> |
460 | </Shape> |
461 | </Transform> |
462 | <Transform translation='3 -1 0'> |
463 | <Transform translation='0 1.75 0'> |
464 | <Shape> |
465 | <Appearance> |
466 | <Material emissiveColor='1 1 1'/> |
467 | </Appearance> |
468 | <Text maxExtent='2' string='"Top Edges" "Edge Vectors = (0 2 0)"'> |
469 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
470 | </Text> |
471 | </Shape> |
472 | </Transform> |
473 | <Shape> |
474 | <Appearance> |
475 | <Material diffuseColor='.5 1 1'/> |
476 | </Appearance> |
477 | <XvlShell edgeBeginCoordIndex='2 3 7 6' edgeBeginVector='0 2 0 0 2 0 0 2 0 0 2 0' edgeEndCoordIndex='3 7 6 2' edgeEndVector='0 2 0 0 2 0 0 2 0 0 2 0' faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
478 | <Coordinate USE='MESH_COORD'/> |
479 | </XvlShell> |
480 | </Shape> |
481 | <Shape> |
482 | <Appearance> |
483 | <Material emissiveColor='1 1 1'/> |
484 | </Appearance> |
485 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
486 | <Coordinate USE='MESH_COORD'/> |
487 | </IndexedLineSet> |
488 | </Shape> |
489 | </Transform> |
490 | </Transform> |
491 | <Transform translation='-6 -6 0'> |
492 | <Viewpoint description='Face Flags'/> |
493 | <Transform translation='0 1.5 0'> |
494 | <Shape> |
495 | <Appearance> |
496 | <Material emissiveColor='1 1 1'/> |
497 | </Appearance> |
498 | <Text string='"Face Flags"'> |
499 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
500 | </Text> |
501 | </Shape> |
502 | </Transform> |
503 | <Transform translation='-3 -1 0'> |
504 | <Transform translation='0 1.75 0'> |
505 | <Shape> |
506 | <Appearance> |
507 | <Material emissiveColor='1 1 1'/> |
508 | </Appearance> |
509 | <Text maxExtent='2' string='"No Flags"'> |
510 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
511 | </Text> |
512 | </Shape> |
513 | </Transform> |
514 | <Shape> |
515 | <Appearance> |
516 | <Material diffuseColor='.5 1 1'/> |
517 | </Appearance> |
518 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
519 | <Coordinate USE='MESH_COORD'/> |
520 | </XvlShell> |
521 | </Shape> |
522 | <Shape> |
523 | <Appearance> |
524 | <Material emissiveColor='1 1 1'/> |
525 | </Appearance> |
526 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
527 | <Coordinate USE='MESH_COORD'/> |
528 | </IndexedLineSet> |
529 | </Shape> |
530 | </Transform> |
531 | <Transform translation='0 -1 0'> |
532 | <Transform translation='0 1.75 0'> |
533 | <Shape> |
534 | <Appearance> |
535 | <Material emissiveColor='1 1 1'/> |
536 | </Appearance> |
537 | <Text maxExtent='2' string='"Top Face Empty"'> |
538 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
539 | </Text> |
540 | </Shape> |
541 | </Transform> |
542 | <Shape> |
543 | <Appearance> |
544 | <Material diffuseColor='.5 1 1'/> |
545 | </Appearance> |
546 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceEmpty='true false false false false false' shellType='LATTICE_MESH'> |
547 | <Coordinate USE='MESH_COORD'/> |
548 | </XvlShell> |
549 | </Shape> |
550 | <Shape> |
551 | <Appearance> |
552 | <Material emissiveColor='1 1 1'/> |
553 | </Appearance> |
554 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
555 | <Coordinate USE='MESH_COORD'/> |
556 | </IndexedLineSet> |
557 | </Shape> |
558 | </Transform> |
559 | <Transform translation='3 -1 0'> |
560 | <Transform translation='0 1.75 0'> |
561 | <Shape> |
562 | <Appearance> |
563 | <Material emissiveColor='1 1 1'/> |
564 | </Appearance> |
565 | <Text maxExtent='2' string='"Top Face Hidden"'> |
566 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
567 | </Text> |
568 | </Shape> |
569 | </Transform> |
570 | <Shape> |
571 | <Appearance> |
572 | <Material diffuseColor='.5 1 1'/> |
573 | </Appearance> |
574 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceHidden='true false false false false false' shellType='LATTICE_MESH'> |
575 | <Coordinate USE='MESH_COORD'/> |
576 | </XvlShell> |
577 | </Shape> |
578 | <Shape> |
579 | <Appearance> |
580 | <Material emissiveColor='1 1 1'/> |
581 | </Appearance> |
582 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
583 | <Coordinate USE='MESH_COORD'/> |
584 | </IndexedLineSet> |
585 | </Shape> |
586 | </Transform> |
587 | </Transform> |
588 | <Transform translation='6 -6 0'> |
589 | <Viewpoint description='Texture Mapping'/> |
590 | <Transform translation='0 1.5 0'> |
591 | <Shape> |
592 | <Appearance> |
593 | <Material emissiveColor='1 1 1'/> |
594 | </Appearance> |
595 | <Text string='"Texture Mapping"'> |
596 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
597 | </Text> |
598 | </Shape> |
599 | </Transform> |
600 | <Transform translation='-4.5 -1 0'> |
601 | <Transform translation='0 1.75 0'> |
602 | <Shape> |
603 | <Appearance> |
604 | <Material emissiveColor='1 1 1'/> |
605 | </Appearance> |
606 | <Text maxExtent='2' string='"Whole Surface" "Default Mapping"'> |
607 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
608 | </Text> |
609 | </Shape> |
610 | </Transform> |
611 | <Shape> |
612 | <Appearance> |
613 |
<!-- ImageTexture
TextSnapshot is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 --> <ImageTexture DEF='TextSnapshot' url=' "XvlTextSnapshot.jpg " "https://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlTextSnapshot.jpg " '/> |
614 | </Appearance> |
615 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' shellType='LATTICE_MESH'> |
616 | <Coordinate USE='MESH_COORD'/> |
617 | </XvlShell> |
618 | </Shape> |
619 | <Shape> |
620 | <Appearance> |
621 | <Material emissiveColor='1 1 1'/> |
622 | </Appearance> |
623 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
624 | <Coordinate USE='MESH_COORD'/> |
625 | </IndexedLineSet> |
626 | </Shape> |
627 | </Transform> |
628 | <Transform translation='-1.5 -1 0'> |
629 | <Transform translation='0 1.75 0'> |
630 | <Shape> |
631 | <Appearance> |
632 | <Material emissiveColor='1 1 1'/> |
633 | </Appearance> |
634 | <Text maxExtent='2' string='"All Faces" "Texture Coordinates"'> |
635 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
636 | </Text> |
637 | </Shape> |
638 | </Transform> |
639 | <Shape> |
640 | <Appearance> |
641 | <ImageTexture USE='TextSnapshot'/> |
642 | </Appearance> |
643 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceTexCoordIndex='0 2 3 1 -1 3 1 0 2 -1 1 0 2 3 -1 2 3 1 0 -1 3 1 0 2 -1 1 0 2 3 -1' shellType='LATTICE_MESH'> |
644 | <Coordinate USE='MESH_COORD'/> |
645 | <TextureCoordinate point='0 0 0 1 1 0 1 1'/> |
646 | </XvlShell> |
647 | </Shape> |
648 | <Shape> |
649 | <Appearance> |
650 | <Material emissiveColor='1 1 1'/> |
651 | </Appearance> |
652 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
653 | <Coordinate USE='MESH_COORD'/> |
654 | </IndexedLineSet> |
655 | </Shape> |
656 | </Transform> |
657 | <Transform translation='1.5 -1 0'> |
658 | <Transform translation='0 1.75 0'> |
659 | <Shape> |
660 | <Appearance> |
661 | <Material emissiveColor='1 1 1'/> |
662 | </Appearance> |
663 | <Text maxExtent='2' string='"Front Face Only" "Default Mapping"'> |
664 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
665 | </Text> |
666 | </Shape> |
667 | </Transform> |
668 | <Shape> |
669 | <Appearance> |
670 | <ImageTexture USE='TextSnapshot'/> |
671 | </Appearance> |
672 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceHidden='true false true true true true' shellType='LATTICE_MESH'> |
673 | <Coordinate USE='MESH_COORD'/> |
674 | </XvlShell> |
675 | </Shape> |
676 | <Shape> |
677 | <Appearance> |
678 | <Material diffuseColor='.5 1 1'/> |
679 | </Appearance> |
680 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceHidden='false true false false false false' shellType='LATTICE_MESH'> |
681 | <Coordinate USE='MESH_COORD'/> |
682 | </XvlShell> |
683 | </Shape> |
684 | <Shape> |
685 | <Appearance> |
686 | <Material emissiveColor='1 1 1'/> |
687 | </Appearance> |
688 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
689 | <Coordinate USE='MESH_COORD'/> |
690 | </IndexedLineSet> |
691 | </Shape> |
692 | </Transform> |
693 | <Transform translation='4.5 -1 0'> |
694 | <Transform translation='0 1.75 0'> |
695 | <Shape> |
696 | <Appearance> |
697 | <Material emissiveColor='1 1 1'/> |
698 | </Appearance> |
699 | <Text maxExtent='2' string='"Front Face Only" "Texture Coordinates"'> |
700 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
701 | </Text> |
702 | </Shape> |
703 | </Transform> |
704 | <Shape> |
705 | <Appearance> |
706 | <ImageTexture USE='TextSnapshot'/> |
707 | </Appearance> |
708 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceHidden='true false true true true true' faceTexCoordIndex='0 0 0 0 -1 3 1 0 2 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1' shellType='LATTICE_MESH'> |
709 | <Coordinate USE='MESH_COORD'/> |
710 | <TextureCoordinate point='0 0 0 1 1 0 1 1'/> |
711 | </XvlShell> |
712 | </Shape> |
713 | <Shape> |
714 | <Appearance> |
715 | <Material diffuseColor='.5 1 1'/> |
716 | </Appearance> |
717 | <XvlShell faceCoordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1' faceHidden='false true false false false false' shellType='LATTICE_MESH'> |
718 | <Coordinate USE='MESH_COORD'/> |
719 | </XvlShell> |
720 | </Shape> |
721 | <Shape> |
722 | <Appearance> |
723 | <Material emissiveColor='1 1 1'/> |
724 | </Appearance> |
725 | <IndexedLineSet coordIndex='3 7 6 2 -1 7 3 1 5 -1 6 4 0 2 -1 1 3 2 0 -1 5 1 0 4 -1 7 5 4 6 -1'> |
726 | <Coordinate USE='MESH_COORD'/> |
727 | </IndexedLineSet> |
728 | </Shape> |
729 | </Transform> |
730 | </Transform> |
731 | </Scene> |
732 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->