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='XvlShellAttributeNumberOfDivisions.x3d'/> |
6 | <meta name='description' content='Examples of XvlShell numberOfDivisions attribute values.'/> |
7 | <meta name='creator' content='Marc Jablonski'/> |
8 | <meta name='created' content='23 November 2001'/> |
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/XvlShellAttributeNumberOfDivisions.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='XvlShellAttributeNumberOfDivisions.x3d'/> |
22 | <Background groundColor='0 .1 .2' skyColor='0 .1 .2'/> |
23 | <Transform translation='0 1.5 0'> |
24 | <Shape> |
25 | <Appearance> |
26 | <Material emissiveColor='1 1 1'/> |
27 | </Appearance> |
28 | <Text string='"XvlShell Number Of Divisions"'> |
29 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
30 | </Text> |
31 | </Shape> |
32 | </Transform> |
33 | <Transform translation='-3 -1 0'> |
34 | <Transform translation='0 1.5 0'> |
35 | <Shape> |
36 | <Appearance> |
37 | <Material emissiveColor='1 1 1'/> |
38 | </Appearance> |
39 | <Text maxExtent='2' string='"numberOfDivisions = 2"'> |
40 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
41 | </Text> |
42 | </Shape> |
43 | </Transform> |
44 | <Shape> |
45 | <Appearance> |
46 | <Material diffuseColor='.5 1 1'/> |
47 | </Appearance> |
48 | <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'> |
49 | |
50 | </XvlShell> |
51 | </Shape> |
52 | <Shape> |
53 | <Appearance> |
54 | <Material emissiveColor='1 1 1'/> |
55 | </Appearance> |
56 | <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'> |
57 | <Coordinate USE='MESH_COORD'/> |
58 | </IndexedLineSet> |
59 | </Shape> |
60 | </Transform> |
61 | <Transform translation='0 -1 0'> |
62 | <Transform translation='0 1.5 0'> |
63 | <Shape> |
64 | <Appearance> |
65 | <Material emissiveColor='1 1 1'/> |
66 | </Appearance> |
67 | <Text maxExtent='2' string='"numberOfDivisions = 4"'> |
68 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
69 | </Text> |
70 | </Shape> |
71 | </Transform> |
72 | <Shape> |
73 | <Appearance> |
74 | <Material diffuseColor='.5 1 1'/> |
75 | </Appearance> |
76 | <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'> |
77 | <Coordinate USE='MESH_COORD'/> |
78 | </XvlShell> |
79 | </Shape> |
80 | <Shape> |
81 | <Appearance> |
82 | <Material emissiveColor='1 1 1'/> |
83 | </Appearance> |
84 | <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'> |
85 | <Coordinate USE='MESH_COORD'/> |
86 | </IndexedLineSet> |
87 | </Shape> |
88 | </Transform> |
89 | <Transform translation='3 -1 0'> |
90 | <Transform translation='0 1.5 0'> |
91 | <Shape> |
92 | <Appearance> |
93 | <Material emissiveColor='1 1 1'/> |
94 | </Appearance> |
95 | <Text maxExtent='2' string='"numberOfDivisions = 16"'> |
96 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
97 | </Text> |
98 | </Shape> |
99 | </Transform> |
100 | <Shape> |
101 | <Appearance> |
102 | <Material diffuseColor='.5 1 1'/> |
103 | </Appearance> |
104 | <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'> |
105 | <Coordinate USE='MESH_COORD'/> |
106 | </XvlShell> |
107 | </Shape> |
108 | <Shape> |
109 | <Appearance> |
110 | <Material emissiveColor='1 1 1'/> |
111 | </Appearance> |
112 | <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'> |
113 | <Coordinate USE='MESH_COORD'/> |
114 | </IndexedLineSet> |
115 | </Shape> |
116 | </Transform> |
117 | </Scene> |
118 | </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. -->