/
HelloWorldProgramOutput.x3d
384 lines (382 loc) · 23 KB
/
HelloWorldProgramOutput.x3d
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D class='x3dModel.class' id='x3dModel.id' profile='Full' style='x3dModel.style' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
<!-- x3dVersionComparisonTest for this model: supportsX3dVersion(X3D.VERSION_3_0)=true -->
<head>
<!-- comment #1 -->
<!-- comment #2 -->
<!-- comment #3 -->
<!-- comment #4 -->
<component name='Navigation' level='3'/>
<component name='Shaders' level='1'/>
<component name='CADGeometry' level='2'/>
<component name='DIS' level='2'/>
<component name='H-Anim' level='1'/>
<component name='Grouping' level='1'/>
<component name='Layering' level='1'/>
<unit name='AngleUnitConversion' category='angle' conversionFactor='1.0'/>
<unit name='LengthUnitConversion' category='length' conversionFactor='1.0'/>
<unit name='ForceFromPoundsToNewtons' category='force' conversionFactor='4.4482'/>
<meta content='HelloWorldProgramOutput.x3d' name='title'/>
<meta content='continued development and testing in progress' name='info'/>
<meta content='Example HelloWorldProgram creates an X3D model using the X3D Java Scene Access Interface Library (X3DJSAIL)' name='description'/>
<meta content='https://www.web3d.org/specifications/java/X3DJSAIL.html' name='reference'/>
<meta content='HelloWorldProgramOutput.java' name='generator'/>
<meta content='6 September 2016' name='created'/>
<meta content='29 April 2023' name='modified'/>
<meta content='X3D Java Scene Access Interface Library (X3DJSAIL)' name='generator'/>
<meta content='https://www.web3d.org/specifications/java/examples/HelloWorldProgram.java' name='generator'/>
<meta content='Netbeans https://www.netbeans.org' name='generator'/>
<meta content='Don Brutzman' name='creator'/>
<meta content='https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.x3d' name='reference'/>
<meta content='Console output, ClassicVRML encoding, VRML97 encoding and pretty-print documentation:' name='reference'/>
<meta content='HelloWorldProgramOutput.txt' name='reference'/>
<meta content='HelloWorldProgramOutput.x3dv' name='reference'/>
<meta content='HelloWorldProgramOutput.wrl' name='reference'/>
<meta content='HelloWorldProgramOutput.html' name='reference'/>
<meta content='https://savage.nps.edu/X3dValidator?url=https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d' name='reference'/>
<meta content='https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d' name='identifier'/>
<meta content='../license.html' name='license'/>
</head>
<Scene>
<MetadataSet name='topLevelSceneMetadata'/>
<ViewpointGroup description='Available viewpoints'>
<Viewpoint DEF='DefaultView' description='Hello X3DJSAIL'/>
<Viewpoint DEF='TopDownView' description='top-down view from above' orientation='1 0 0 -1.570796' position='0 100 0'/>
</ViewpointGroup>
<NavigationInfo avatarSize='0.25 1.6 0.75' transitionType='"LINEAR"' type='"EXAMINE" "FLY" "ANY"'/>
<WorldInfo DEF='WorldInfoDEF' class='worldInfoNode.class' id='worldInfoNode.id' style='worldInfoNode.style' title='HelloWorldProgram produced by X3D Java SAI Library (X3DJSAIL)'/>
<WorldInfo USE='WorldInfoDEF'/>
<WorldInfo USE='WorldInfoDEF'/>
<MetadataString DEF='scene.addChildMetadata' name='test' value='"Top-level root Metadata node beneath Scene needs to be one of '-children' in JSON encoding"'/>
<LayerSet DEF='scene.addChildLayerSetTest' order='0'/>
<Transform DEF='LogoGeometryTransform' translation='0 1.5 0'>
<Anchor DEF='siteAnchor' description='select for X3D Java SAI Library (X3DJSAIL) description' url='"../X3DJSAIL.html" "https://www.web3d.org/specifications/java/X3DJSAIL.html"'>
<Shape DEF='BoxShape' id='BoxShapeID'>
<Appearance>
<Material DEF='GreenMaterial' diffuseColor='0 1 1' emissiveColor='0.8 0 0' transparency='0.1'/>
<ImageTexture url='"images/X3dJavaSceneAccessInterfaceSaiLibrary.png" "https://www.web3d.org/specifications/java/examples/images/X3dJavaSceneAccessInterfaceSaiLibrary.png"'/>
</Appearance>
<Box DEF='test-NMTOKEN_regex.0123456789' class='untextured'/>
</Shape>
</Anchor>
</Transform>
<Shape DEF='LineShape'>
<Appearance>
<Material emissiveColor='0.6 0.19607843 0.8'/>
</Appearance>
<IndexedLineSet coordIndex='0 1 2 3 4 0'>
<!-- Coordinate 3-tuple point count: 6 -->
<Coordinate point='0 1.5 0 2 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5 0 0 1.5 0'/>
</IndexedLineSet>
</Shape>
<PositionInterpolator DEF='BoxPathAnimator' key='0 0.125 0.375 0.625 0.875 1' keyValue='0 1.5 0 2 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5 0 0 1.5 0'/>
<TimeSensor DEF='OrbitClock' cycleInterval='8.0' loop='true'/>
<ROUTE fromField='fraction_changed' fromNode='OrbitClock' toField='set_fraction' toNode='BoxPathAnimator'/>
<ROUTE fromField='value_changed' fromNode='BoxPathAnimator' toField='set_translation' toNode='LogoGeometryTransform'/>
<Transform DEF='TextTransform' translation='0 -1.5 0'>
<Shape>
<Appearance>
<Material USE='GreenMaterial'/>
</Appearance>
<Text string='"X3D Java" "SAI Library" "X3DJSAIL"'>
<!-- Comment example A, plain quotation marks: He said, "Immel did it!" -->
<!-- Comment example B, XML character entities: He said, "Immel did it!" -->
<MetadataSet name='EscapedQuotationMarksMetadataSet' containerField='metadata'>
<MetadataString name='quotesTestC' value='"MFString example C, backslash-escaped quotes: He said, \"Immel did it!\""'/>
<MetadataString name='extraChildTest' value='"checks MetadataSet addValue() method"'/>
</MetadataSet>
<FontStyle family='"SERIF"' justify='"MIDDLE" "MIDDLE"'/>
</Text>
</Shape>
<Collision>
<!-- test containerField='proxy' -->
<Shape DEF='ProxyShape' containerField='proxy'>
<!-- alternative XML encoding: Text string='"One, Two, Comment" "" "He said, \"Immel did it!\""' -->
<!-- alternative XML encoding: Text string='"One, Two, Comment" "" "He said, \"Immel did it!\"" ""' -->
<!-- alternative Java source: .setString(new String [] {"One, Two, Comment", "", "He said, \"Immel did it!\""}) -->
<!-- reference: https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamplesIndex.html -->
<Text string='"One, Two, Text" "" "He said, \"Immel did it!\" \"\""'/>
</Shape>
</Collision>
<!-- It's a beautiful world -->
<!-- ... for you! -->
<!-- https://en.wikipedia.org/wiki/Beautiful_World_(Devo_song) -->
</Transform>
<!-- repeatedly spin 180 degrees as a readable special effect -->
<OrientationInterpolator DEF='SpinInterpolator' key='0 0.5 1' keyValue='0 1 0 4.712389 0 1 0 0 0 1 0 1.5707964'/>
<TimeSensor DEF='SpinClock' cycleInterval='5.0' loop='true'/>
<ROUTE fromField='fraction_changed' fromNode='SpinClock' toField='set_fraction' toNode='SpinInterpolator'/>
<ROUTE fromField='value_changed' fromNode='SpinInterpolator' toField='rotation' toNode='TextTransform'/>
<Group DEF='BackgroundGroup'>
<Background DEF='GradualBackground'/>
<Script DEF='colorTypeConversionScript'>
<field name='colorInput' accessType='inputOnly' type='SFColor'/>
<field name='colorsOutput' accessType='outputOnly' type='MFColor'/>
<![CDATA[
ecmascript:
function colorInput (eventValue) // Example source code
{
colorsOutput = new MFColor(eventValue); // assigning value sends output event
// Browser.print('colorInput=' + eventValue + ', colorsOutput=' + colorsOutput + '\n');
}
]]>
</Script>
<ColorInterpolator DEF='ColorAnimator' key='0 0.5 1' keyValue='0.9411765 1 1 0.29411766 0 0.50980395 0.9411765 1 1'>
<!-- AZURE to INDIGO and back again -->
</ColorInterpolator>
<TimeSensor DEF='ColorClock' cycleInterval='60.0' loop='true'/>
<ROUTE fromField='colorsOutput' fromNode='colorTypeConversionScript' toField='skyColor' toNode='GradualBackground'/>
<ROUTE fromField='value_changed' fromNode='ColorAnimator' toField='colorInput' toNode='colorTypeConversionScript'/>
<ROUTE fromField='fraction_changed' fromNode='ColorClock' toField='set_fraction' toNode='ColorAnimator'/>
</Group>
<ProtoDeclare name='ArtDeco01Material' appinfo='tooltip: ArtDeco01Material prototype is a Material node'>
<ProtoInterface>
<field name='description' accessType='inputOutput' appinfo='tooltip for descriptionField' type='SFString' value='ArtDeco01Material prototype is a Material node'/>
<field name='enabled' accessType='inputOutput' type='SFBool' value='true'/>
</ProtoInterface>
<ProtoBody>
<!-- Initial node of ProtoBody determines prototype node type -->
<Material ambientIntensity='0.25' diffuseColor='0.282435 0.085159 0.134462' shininess='0.127273' specularColor='0.276305 0.11431 0.139857'/>
<!-- [HelloWorldProgram diagnostic] should be connected to scene graph: artDeco01ProtoDeclare.getNodeType()="Material" -->
<!-- presence of follow-on TouchSensor shows that additional nodes are allowed in ProtoBody after initial node, regardless of node types -->
<TouchSensor description='within ProtoBody'>
<IS>
<connect nodeField='description' protoField='description'/>
<connect nodeField='enabled' protoField='enabled'/>
</IS>
</TouchSensor>
</ProtoBody>
</ProtoDeclare>
<ExternProtoDeclare name='ArtDeco02Material' appinfo='this is a different Material node' url='"https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco02Material" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3dv#ArtDeco02Material"'>
<!-- [HelloWorldProgram diagnostic] artDeco02ExternProtoDeclare.getNodeType()="ERROR_UNKNOWN_EXTERNPROTODECLARE_NODE_TYPE: ExternProtoDeclare name='ArtDeco02Material' type cannot be remotely accessed at run time. TODO X3DJSAIL needs to add further capability that retrieves the ExternProtoDeclare file." -->
<field name='description' accessType='inputOutput' appinfo='tooltip for descriptionField' type='SFString'/>
</ExternProtoDeclare>
<!-- Tested ArtDeco01ProtoInstance, ArtDeco02ProtoInstance for improper node type when ProtoInstance is added in wrong place -->
<Shape DEF='TestShape1'>
<Appearance DEF='TestAppearance1'>
<!-- ArtDeco01Material prototype goes here... TODO ensure setContainerField is handled in exported Java -->
<ProtoInstance name='ArtDeco01Material' containerField='material'>
<!-- [HelloWorldProgram diagnostic] ArtDeco01ProtoInstance.getNodeType()="Material" -->
<fieldValue name='description' value='ArtDeco01Material can substitute for a Material node'/>
</ProtoInstance>
</Appearance>
<Sphere radius='0.001'/>
</Shape>
<Shape DEF='TestShape2'>
<Appearance DEF='TestAppearance2'>
<!-- ArtDeco02Material prototype goes here... TODO ensure setContainerField is handled in exported Java -->
<ProtoInstance DEF='ArtDeco02MaterialDEF' name='ArtDeco02Material' containerField='material'>
<!-- [HelloWorldProgram diagnostic] ArtDeco02ProtoInstance.getNodeType()="ERROR_UNKNOWN_EXTERNPROTODECLARE_NODE_TYPE: ExternProtoDeclare name='ArtDeco02Material' type cannot be remotely accessed at run time. TODO X3DJSAIL needs to add further capability that retrieves the ExternProtoDeclare file." -->
<fieldValue name='description' value='ArtDeco02Material can substitute for another Material node'/>
</ProtoInstance>
</Appearance>
<Cone bottomRadius='0.001' height='0.001'/>
</Shape>
<Shape DEF='TestShape3'>
<Appearance DEF='TestAppearance3'>
<!-- ArtDeco02Material ProtoInstance USE goes here. Note that name field is NOT defined as part of ProtoInstance USE. -->
<ProtoInstance USE='ArtDeco02MaterialDEF' containerField='material'/>
</Appearance>
<Cylinder height='0.001' radius='0.001'/>
</Shape>
<Inline DEF='inlineScene' url='"someOtherScene.x3d" "https://www.web3d.org/specifications/java/examples/someOtherScene.x3d"'/>
<IMPORT AS='WorldInfoDEF2' importedDEF='WorldInfoDEF' inlineDEF='inlineScene'/>
<EXPORT AS='WorldInfoDEF3' localDEF='WorldInfoDEF'/>
<ProtoDeclare name='MaterialModulator' appinfo='mimic a Material node and modulate fields as an animation effect' documentation='https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/MaterialModulatorIndex.html'>
<ProtoInterface>
<field name='enabled' accessType='inputOutput' type='SFBool' value='true'/>
<field name='diffuseColor' accessType='inputOutput' type='SFColor' value='0 0 0'/>
<field name='emissiveColor' accessType='inputOutput' type='SFColor' value='0.05 0.05 0.5'/>
<field name='specularColor' accessType='inputOutput' type='SFColor' value='0 0 0'/>
<field name='transparency' accessType='inputOutput' type='SFFloat' value='0.0'/>
<field name='shininess' accessType='inputOutput' type='SFFloat' value='0.0'/>
<field name='ambientIntensity' accessType='inputOutput' type='SFFloat' value='0.0'/>
</ProtoInterface>
<ProtoBody>
<Material DEF='MaterialNode'>
<IS>
<connect nodeField='diffuseColor' protoField='diffuseColor'/>
<connect nodeField='emissiveColor' protoField='emissiveColor'/>
<connect nodeField='specularColor' protoField='specularColor'/>
<connect nodeField='transparency' protoField='transparency'/>
<connect nodeField='shininess' protoField='shininess'/>
<connect nodeField='ambientIntensity' protoField='ambientIntensity'/>
</IS>
</Material>
<!-- Only first node (the node type) is renderable, others are along for the ride -->
<Script DEF='MaterialModulatorScript'>
<field name='enabled' accessType='inputOutput' type='SFBool'/>
<field name='diffuseColor' accessType='inputOutput' type='SFColor'/>
<field name='newColor' accessType='outputOnly' type='SFColor'/>
<field name='clockTrigger' accessType='inputOnly' type='SFTime'/>
<IS>
<connect nodeField='enabled' protoField='enabled'/>
<connect nodeField='diffuseColor' protoField='diffuseColor'/>
</IS>
<![CDATA[
ecmascript:
function initialize ()
{
newColor = diffuseColor; // start with correct color
}
function set_enabled (newValue)
{
enabled = newValue;
}
function clockTrigger (timeValue)
{
if (!enabled) return;
red = newColor.r;
green = newColor.g;
blue = newColor.b;
// note different modulation rates for each color component, % is modulus operator
newColor = new SFColor ((red + 0.02) % 1, (green + 0.03) % 1, (blue + 0.04) % 1);
if (enabled)
{
Browser.print ('diffuseColor=(' + red + ',' + green + ',' + blue + ') newColor=' + newColor.toString() + '\n');
}
}
]]>
</Script>
</ProtoBody>
</ProtoDeclare>
<!-- Test success: declarative statement createDeclarativeShapeTests() -->
<Group DEF='DeclarativeGroupExample'>
<Shape>
<MetadataString DEF='FindableMetadataStringTest' name='findThisNameValue' value='"test case"'/>
<Appearance DEF='DeclarativeAppearanceExample'>
<!-- DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance -->
<ProtoInstance DEF='MyMaterialModulator' name='MaterialModulator' containerField='material'/>
</Appearance>
<Cone bottom='false' bottomRadius='0.05' height='0.1'/>
</Shape>
<!-- Test success: declarativeGroup.addChild() singleton pipeline method -->
</Group>
<!-- Test success: declarative statement addChild() -->
<!-- Test success: x3dModel.findNodeByDEF(DeclarativeAppearanceExample) = <Appearance DEF='DeclarativeAppearanceExample'/> i.e. <Appearance DEF='DeclarativeAppearanceExample'> <!- - DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance - -> <ProtoInstance DEF='MyMaterialModulator' name='MaterialModulator' containerField='material'/> </Appearance> -->
<!-- Test success: x3dModel.findElementByNameValue(findThisNameValue) = <MetadataString DEF='FindableMetadataStringTest' name='findThisNameValue' value='"test case"'/> -->
<!-- Test success: x3dModel.findElementByNameValue("ArtDeco01Material", "ProtoDeclare") found -->
<!-- Test success: x3dModel.findElementByNameValue("MaterialModulator", "ProtoDeclare") found -->
<!-- Test success: x3dModel.findElementByNameValue("MaterialModulator", "ProtoInstance") found -->
<Group DEF='TestFieldObjectsGroup'>
<!-- testFieldObjects() results -->
<!-- SFBool default=false, true=true, false=false, negate()=true -->
<!-- MFBool default=, initial=true false true, negate()=false true false -->
<!-- SFFloat default=0.0, initial=1.0, setValue(2)=2.0, setValue(3.0f)=3.0, setValue(4.0)=4.0 -->
<!-- MFFloat default=, initial=1 2 3, append(5)=1 2 3 5, inserts(3,4)(0,0)=0 1 2 3 4 5, append(6)=0 1 2 3 4 5 6, size()=7 -->
<!-- ... get1Value[3]=3.0, remove[1]=0 2 3 4 5 6, set1Value(0,10)=10 2 3 4 5 6, multiply(2)=20 4 6 8 10 12, clear= -->
<!-- SFVec3f default=0 0 0, initial=1 2 3, setValue=4 5 6, multiply(2)=8 10 12, normalize()=0.45584232 0.5698029 0.68376344, regex matches()=true -->
<!-- regex test SFVec3f().matches("1 2 3")=true, regex test SFVec3f().matches("1 2 3 4")=false, regex test (SFRotation.matches("0 0 0 0")=true, failure detecting illegal (zero axis) rotation value -->
</Group>
<Sound location='0 1.6 0'>
<!-- set sound-ellipsoid location height at 1.6m to match typical avatar height -->
<AudioClip description='chimes' url='"chimes.wav" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav"'>
<!-- Scene example fragment from https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/default.x3d -->
</AudioClip>
</Sound>
<Sound location='0 1.6 0'>
<!-- set sound-ellipsoid location height at 1.6m to match typical avatar height -->
<MovieTexture containerField='source' description='mpgsys.mpg from ConformanceNist suite' url='"mpgsys.mpg" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpgsys.mpg"'>
<!-- Scene example fragment from https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpeg1-systems.x3d -->
<!-- Expected containerField='source', allowed containerField values="texture" "source" "back" "bottom" "front" "left" "right" "top" "backTexture" "bottomTexture" "frontTexture" "leftTexture" "rightTexture" "topTexture" "children" -->
</MovieTexture>
</Sound>
<!-- Test success: Anchor.isNode()=true, siteAnchor.isNode()=true -->
<!-- Test success: Anchor.isStatement()=false, siteAnchor.isStatement()=false -->
<!-- Test success: ROUTE.isNode()=false, orbitPositionROUTE.isNode()=false -->
<!-- Test success: ROUTE.isStatement()=true, orbitPositionROUTE.isStatement()=true -->
<!-- Test success: CommentsBlock.isNode()=false, testComments.isNode()=false -->
<!-- Test failure: CommentsBlock.isStatement()=true, testComments.isStatement()=true -->
<Shape DEF='ExtrusionShape'>
<!-- ExampleExtrusion isCrossSectionClosed()=true, crossSection='[1.0, 1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0]' -->
<!-- ExampleExtrusion isSpineClosed()=false, spine='[0.0, 0.0, 0.0, 0.0, 1.0, 0.0]' -->
<Appearance DEF='TransparentAppearance'>
<Material transparency='1.0'/>
</Appearance>
<Extrusion DEF='ExampleExtrusion'/>
</Shape>
<Group>
<!-- Test MFNode children array as an ordered list consisting of comments, statements, ProtoInstance and nodes -->
<ProtoDeclare name='NewWorldInfo'>
<ProtoInterface>
<field name='description' accessType='initializeOnly' type='SFString'/>
</ProtoInterface>
<ProtoBody>
<WorldInfo/>
</ProtoBody>
</ProtoDeclare>
<ProtoInstance DEF='Proto1' name='NewWorldInfo'>
<fieldValue name='description' value='testing 1 2 3'/>
</ProtoInstance>
<Group DEF='Node2'>
<!-- intentionally empty -->
</Group>
<ProtoInstance DEF='Proto3' name='NewWorldInfo'/>
<Transform DEF='Node4'>
<!-- intentionally empty -->
</Transform>
<!-- Test satisfactorily creates MFNode children array as an ordered list with mixed content -->
</Group>
<ProtoDeclare name='ShaderProto'>
<ProtoBody>
<ProgramShader/>
</ProtoBody>
</ProtoDeclare>
<Shape>
<Appearance>
<!-- Test MFNode shaders array as an ordered list consisting of comments, ProtoInstance and nodes -->
<!-- Test satisfactorily creates MFNode shaders array as an ordered list with mixed content -->
<ProgramShader DEF='TestShader1'>
<ShaderProgram DEF='TestShader2'/>
</ProgramShader>
<ProtoInstance DEF='TestShader3' name='ShaderProto' containerField='shaders'/>
<ComposedShader DEF='TestShader4'>
<ShaderPart DEF='TestShader5'/>
</ComposedShader>
</Appearance>
</Shape>
<Transform DEF='SpecialtyNodes'>
<CADLayer>
<CADAssembly>
<CADPart>
<CADFace/>
</CADPart>
</CADAssembly>
</CADLayer>
<EspduTransform geoSystem='"GD" "WE"'/>
<ReceiverPdu geoSystem='"GD" "WE"'/>
<SignalPdu geoSystem='"GD" "WE"'/>
<TransmitterPdu geoSystem='"GD" "WE"'/>
<DISEntityManager>
<DISEntityTypeMapping/>
</DISEntityManager>
</Transform>
<EspduTransform geoSystem='"GD" "WE"'>
<WorldInfo/>
</EspduTransform>
<ReceiverPdu geoSystem='"GD" "WE"'/>
<SignalPdu geoSystem='"GD" "WE"'/>
<TransmitterPdu geoSystem='"GD" "WE"'/>
<DISEntityManager>
<DISEntityTypeMapping/>
</DISEntityManager>
<LoadSensor>
<!-- Contained nodes typically must be USE references for nodes previously DEFined in the scene -->
<!-- The following nodes are test cases for all X3DUrlObject nodes -->
<Anchor USE='siteAnchor'/>
<Inline USE='inlineScene'/>
<DISEntityTypeMapping/>
<GeoMetadata/>
<AudioClip containerField='children'/>
<ImageCubeMapTexture containerField='children'/>
<ImageTexture3D containerField='children'/>
<ImageTexture containerField='children'/>
<MovieTexture containerField='children'/>
<Script/>
<PackagedShader containerField='children'/>
<ShaderPart containerField='children'/>
<ShaderProgram containerField='children'/>
</LoadSensor>
</Scene>
</X3D>