/
HelloWorldCommented.x3d
68 lines (68 loc) · 3.44 KB
/
HelloWorldCommented.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
<head>
<meta content='HelloWorldCommented.x3d' name='title'/>
<meta content='Numerous comments added to simple X3D scene example for testing JSON encoding alternatives.' name='description'/>
<meta content='19 December 2015' name='created'/>
<meta content='20 October 2019' name='modified'/>
<meta content='Don Brutzman' name='creator'/>
<meta content='HelloWorldCommented.json is most current, HelloWorldCommentedOriginalEncoding.json and HelloWorldCommentedAlternativeEncoding.json were experimental.' name='info'/>
<meta content='HelloWorldCommented.json' name='reference'/>
<meta content='HelloWorldCommentedOriginalEncoding.json' name='reference'/>
<meta content='HelloWorldCommentedAlternativeEncoding.json' name='reference'/>
<meta content='https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommented.x3d' name='identifier'/>
<meta content='https://www.web3d.org/x3d/content/examples/license.html' name='license'/>
<meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
</head>
<Scene>
<!-- Example scene to illustrate comments interspersed among X3D nodes and fields (XML elements and attributes) -->
<!-- WorldInfo begin -->
<WorldInfo title='Hello world!'/>
<!-- WorldInfo complete, Group begin -->
<Group>
<!-- Viewpoint begin -->
<Viewpoint DEF='ViewUpClose' centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/>
<!-- Viewpoint complete, Transform begin -->
<Transform rotation='0 1 0 3'>
<!-- Shape begin -->
<Shape>
<!-- Sphere begin -->
<Sphere/>
<!-- Sphere complete, Appearance begin -->
<Appearance>
<!-- Material begin -->
<Material DEF='MaterialLightBlue' diffuseColor='0.1 0.5 1'/>
<!-- Material complete, ImageTexture begin -->
<ImageTexture DEF='ImageCloudlessEarth' url='"earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"'/>
<!-- ImageTexture complete -->
</Appearance>
<!-- Appearance complete -->
</Shape>
<!-- Shape complete -->
</Transform>
<!-- Transform complete, Transform begin -->
<Transform translation='0 -2 0'>
<!-- Shape begin -->
<Shape>
<!-- Text begin -->
<Text DEF='TextMessage' string='"Hello" "world!"'>
<!-- FontStyle begin -->
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
<!-- FontStyle complete -->
</Text>
<!-- Text complete, Appearance begin -->
<Appearance>
<!-- Material begin -->
<Material USE='MaterialLightBlue'/>
<!-- Material complete -->
</Appearance>
<!-- Appearance complete -->
</Shape>
<!-- Shape complete -->
</Transform>
<!-- Transform complete -->
</Group>
<!-- Group complete -->
</Scene>
</X3D>