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=' Main.x3d '/> |
6 | <meta name='description' content='This is a playround for joy. There is a dragonfly to lead you around the playground. There are sound effect includes dooring opening, bell and birds singing songs.'/> |
7 | <meta name='creator' content='Kok Keng Ng'/> |
8 | <meta name='created' content='20 September 2002'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Main.x3d '/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='Main.x3d'/> |
16 | <Transform> |
17 | <Inline url=' "Fence.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/SandPit.wrl" "SandPit.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Fence.wrl" "Fence.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/SandPit.wrl" "SandPit.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Fence.x3d" '/> |
18 | </Transform> |
19 | <Transform> |
20 | <Transform DEF='TREE' translation='7 -0.8 -7.5'> |
21 | |
22 | <Appearance> |
23 |
<ImageTexture
url=' "tree1.png![]() ![]() ![]() |
24 | </Appearance> |
25 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3'> |
26 | <Coordinate point='-1.51 0 0 1.51 0 0 1.51 3 0 -1.51 3 0'/> |
27 | </IndexedFaceSet> |
28 | </Shape> |
29 | <Transform rotation='0 1 0 1.57'> |
30 | <Shape USE='HALF_TREE'/> |
31 | </Transform> |
32 | </Transform> |
33 | </Transform> |
34 | <Transform translation='3 -0.8 0'> |
35 | <Inline url=' "SandPit.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/SandPit.wrl" "SandPit.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/SandPit.x3d" '/> |
36 | </Transform> |
37 | <Group DEF='WoodenBenchGroup'> |
38 | <Transform rotation='0 1 0 -1.575' translation='8 -0.8 2'> |
39 |
<!-- Inline
WoodenBench is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='WoodenBench' url=' "../NavalPostgraduateSchool/WoodenBench.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Locations/NavalPostgraduateSchool/WoodenBench.wrl" "../NavalPostgraduateSchool/WoodenBench.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Locations/NavalPostgraduateSchool/WoodenBench.x3d" '/> |
40 | </Transform> |
41 | <Transform rotation='0 1 0 -1.575' translation='8 -0.8 0'> |
42 | <Inline USE='WoodenBench'/> |
43 | </Transform> |
44 | </Group> |
45 | <Transform> |
46 | <Transform rotation='0 1 0 1.575' scale='0.5 0.5 0.5' translation='-7.5 0.95 0'> |
47 | <Inline url=' "Bell.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Bell.wrl" "Bell.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Bell.x3d" '/> |
48 | </Transform> |
49 | </Transform> |
50 | <Transform translation='-7.6 0 0.5'> |
51 |
<!-- Inline
TulipCluster1 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='TulipCluster1' url=' "TulipCluster1.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster1.wrl" "TulipCluster1.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster1.x3d" '/> |
52 | </Transform> |
53 | <Transform> |
54 | <Transform rotation='0 1 0 1' scale='1 1.55 1' translation='-6 0.45 -5.5'> |
55 | <Inline url=' "Swing.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Swing.wrl" "Swing.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Swing.x3d" '/> |
56 | </Transform> |
57 | </Transform> |
58 | <Transform translation='-7 -0.8 -8.5'> |
59 |
<!-- Inline
TulipRed is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='TulipRed' url=' "TulipRed.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipRed.wrl" "TulipRed.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipRed.x3d" '/> |
60 | </Transform> |
61 | <Transform translation='-7.8 0 -7.5'> |
62 |
<!-- Inline
TulipCluster2 is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <Inline DEF='TulipCluster2' url=' "TulipCluster2.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster2.wrl" "TulipCluster2.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster2.x3d" '/> |
63 | </Transform> |
64 | <Transform> |
65 | <Transform rotation='0 1 0 1' translation='5.5 -0.3 6'> |
66 | <Inline url=' "Seesaw.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Seesaw.wrl" "Seesaw.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Seesaw.x3d" '/> |
67 | </Transform> |
68 | </Transform> |
69 | <Transform scale='0.75 0.75 0.75' translation='5.95 -0.8 6.15'> |
70 | <Inline url=' "TulipYellow.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipYellow.wrl" "TulipYellow.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipYellow.x3d" '/> |
71 | </Transform> |
72 | <Transform scale='0.65 0.65 0.65' translation='5.8 -0.8 6.3'> |
73 | <Inline USE='TulipRed'/> |
74 | </Transform> |
75 | <Transform> |
76 | <Transform rotation='0 1 0 2.2' scale='0.75 0.75 0.75' translation='-4.5 -0.775 4.5'> |
77 | <Inline url=' "Slides.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Slides.wrl" "Slides.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Slides.x3d" '/> |
78 | </Transform> |
79 | </Transform> |
80 | <Transform scale='0.75 0.75 0.75' translation='5.25 0.72 -3.75'> |
81 | <Inline url=' "Hut.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Hut.wrl" "Hut.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Hut.x3d" '/> |
82 | </Transform> |
83 | <!-- Place Flowers --> |
84 | <Group> |
85 | <Transform> |
86 | <Transform rotation='0 1 0 1.575' translation='8.5 0 9.02'> |
87 | <Inline USE='TulipCluster1'/> |
88 | </Transform> |
89 | </Transform> |
90 | <Transform> |
91 | <Transform rotation='0 1 0 1.575' translation='7.8 0 9'> |
92 | <Inline USE='TulipCluster2'/> |
93 | </Transform> |
94 | </Transform> |
95 | <Transform> |
96 | <Transform rotation='0 1 0 1.575' translation='7.1 0 9.045'> |
97 |
<!-- Inline
TulipCluster3 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='TulipCluster3' url=' "TulipCluster3.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster3.wrl" "TulipCluster3.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster3.x3d" '/> |
98 | </Transform> |
99 | </Transform> |
100 | <Transform rotation='0 1 0 1.575' translation='6.4 0 9.03'> |
101 |
<!-- Inline
TulipCluster4 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='TulipCluster4' url=' "TulipCluster4.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster4.wrl" "TulipCluster4.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster4.x3d" '/> |
102 | </Transform> |
103 |
<!-- ROUTE information for FlowerTS node:
[from touchTime to Clock1.set_startTime
]
-->
<TouchSensor DEF='FlowerTS'/> |
104 | </Group> |
105 | <Transform rotation='0 1 0 1.575' translation='0 0 -8.5'> |
106 | <Inline url=' "TulipCluster5.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster5.wrl" "TulipCluster5.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/TulipCluster5.x3d" '/> |
107 | </Transform> |
108 | <Transform rotation='0 1 0 1.575' translation='0.65 0 -8.5'> |
109 | <Inline USE='TulipCluster3'/> |
110 | </Transform> |
111 | <Transform rotation='0 1 0 1.575' translation='2.5 0 9'> |
112 | <Inline USE='TulipCluster4'/> |
113 | </Transform> |
114 | <Transform rotation='0 1 0 1.575' translation='-2 0 9'> |
115 | <Inline USE='TulipCluster2'/> |
116 | </Transform> |
117 | <Transform> |
118 | <Group> |
119 |
<!-- ROUTE information for DragonFlyTx node:
[from DragonFlyPIP.value_changed to set_translation
]
[from DragonFlyOIP.value_changed to set_rotation
]
-->
<Transform DEF='DragonFlyTx' translation='7.15 0 9.045'> |
120 | <Transform scale='0.016 0.016 0.016'> |
121 | <Inline url=' "DragonFly.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/DragonFly.wrl" "DragonFly.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/DragonFly.x3d" '/> |
122 | </Transform> |
123 | </Transform> |
124 |
<!-- ROUTE information for Clock1 node:
[from FlowerTS.touchTime to set_startTime
]
[from fraction_changed to DragonFlyPIP.set_fraction
]
[from fraction_changed to DragonFlyOIP.set_fraction
]
-->
<TimeSensor DEF='Clock1' cycleInterval='20'/> |
125 |
<!-- ROUTE information for DragonFlyPIP node:
[from Clock1.fraction_changed to set_fraction
]
[from value_changed to DragonFlyTx.set_translation
]
-->
<PositionInterpolator DEF='DragonFlyPIP' key='0.00 0.05 0.15 0.2 1.0' keyValue='7.15 0 9.045 6.85 0.5 9.045 6. 1. 8.045 -4.15 2 6 7.15 0 9.045'/> |
126 |
<!-- ROUTE information for DragonFlyOIP node:
[from Clock1.fraction_changed to set_fraction
]
[from value_changed to DragonFlyTx.set_rotation
]
-->
<OrientationInterpolator DEF='DragonFlyOIP' key='0.00 0.05 0.15 0.2 1.0' keyValue='0 1 0 0 0 1 0 -0.5 0 1 0 -0.5 0 1 0 -3.6415 0 1 0 0'/> |
127 | </Group> |
128 | </Transform> |
129 | <Transform rotation='0 1 0 -1.575'> |
130 | <Viewpoint description='Left side' orientation='1 0 0 -0.3' position='0 2 12'/> |
131 | </Transform> |
132 | <Transform rotation='0 1 0 -.1'> |
133 | <Viewpoint description='Far side' orientation='0 1 0 3.141' position='3 1 -12'/> |
134 | </Transform> |
135 | <Transform rotation='0 1 0 1.575'> |
136 | <Viewpoint description='Right side' orientation='1 0 0 -0.3' position='0 2 12'/> |
137 | </Transform> |
138 | <Transform> |
139 | <Viewpoint description='Flower' position='7.3 0.6 12'/> |
140 | </Transform> |
141 | <Transform> |
142 | <Viewpoint description='Another flower' orientation='1 0 0 -1.575' position='7.3 0.6 9.1'/> |
143 | </Transform> |
144 | < ROUTE fromNode='FlowerTS' fromField='touchTime' toNode='Clock1' toField='set_startTime'/> |
145 | < ROUTE fromNode='Clock1' fromField='fraction_changed' toNode='DragonFlyPIP' toField='set_fraction'/> |
146 | < ROUTE fromNode='DragonFlyPIP' fromField='value_changed' toNode='DragonFlyTx' toField='set_translation'/> |
147 | < ROUTE fromNode='Clock1' fromField='fraction_changed' toNode='DragonFlyOIP' toField='set_fraction'/> |
148 | < ROUTE fromNode='DragonFlyOIP' fromField='value_changed' toNode='DragonFlyTx' toField='set_rotation'/> |
149 | <Background skyAngle='1.309 1.571' skyColor='0 0.2 0.7 0 0.5 1'/> |
150 | </Scene> |
151 | </X3D> |
Event Graph ROUTE Table entries with 5 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
FlowerTS
TouchSensor touchTime SFTime |
Clock1
TimeSensor set_startTime SFTime |
then
|
Clock1
TimeSensor fraction_changed SFFloat |
DragonFlyPIP
PositionInterpolator set_fraction SFFloat |
then
|
DragonFlyPIP
PositionInterpolator value_changed SFVec3f |
DragonFlyTx
Transform set_translation SFVec3f |
|||
then
|
Clock1
TimeSensor fraction_changed SFFloat |
DragonFlyOIP
OrientationInterpolator set_fraction SFFloat |
then
|
DragonFlyOIP
OrientationInterpolator value_changed SFRotation |
DragonFlyTx
Transform set_rotation SFRotation |
<!--
Color-coding 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.
-->