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=' GoldenGateBridge.x3d '/> |
6 | <meta name='description' content='Golden Gate Bridge, looking from San Francisco.'/> |
7 | <meta name='creator' content='Yeo Chee Beng'/> |
8 | <meta name='created' content='22 September 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='http://www.GoldenGateBridge.org'/> |
11 | <meta name='reference' content=' http://gocalifornia.about.com/library/weekly/aa030899.htm '/> |
12 | <meta name='reference' content=' http://www.sfmuseum.org/assoc/bridge00.html '/> |
13 | <meta name='reference' content='http://www.nps.gov/goga'/> |
14 | <meta name='reference' content=' http://www.thoma.com/thoma/ggbfacts.html '/> |
15 | <meta name='Image' content='*enter movie filename/url here*'/> |
16 | <meta name='photo' content='*enter photo filename/url here*'/> |
17 | <meta name='subject' content='San Francisco Golden Gate Bridge'/> |
18 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Locations/SanFranciscoCalifornia/GoldenGateBridge.x3d '/> |
19 | <meta name='license' content='../../license.html'/> |
20 | </head> |
21 | <Scene> |
22 | <WorldInfo title='GoldenGateBridge.x3d'/> |
23 | <Background skyColor='.3 .3 .8'/> |
24 | <Viewpoint description='View from embankment' fieldOfView='0.9' position='300 80 2000'/> |
25 | <Viewpoint description='View from the bay (1)' position='200 20 1000'/> |
26 | <Viewpoint description='View from the bay (2)' orientation='0 1 0 1.57' position='2000 20 0'/> |
27 | <Viewpoint description='Lamp post' position='15 3.5 10'/> |
28 | <Viewpoint description='Bridge centre' position='0 20 20'/> |
29 | <Viewpoint description='Beacon' position='60 133 -480'/> |
30 | <Viewpoint description='Service door' fieldOfView='1' orientation='0 1 0 .3' position='-5 123 -620'/> |
31 | <!-- Bridge with the lanes and walkways. --> |
32 | <Group> |
33 | <!-- Road --> |
34 | <Transform> |
35 | <Shape> |
36 | <Appearance> |
37 | <Material/> |
38 | </Appearance> |
39 | <Extrusion convex='false' crossSection='17 -0.01 17 1.2 13 1.2 13 1 9.7 1 9.7 1.1 9.3 1.1 9.3 1 0.4 1 0.4 1.1 -0.4 1.1 -0.4 1 -9.3 1 -9.3 1.1 -9.7 1.1 -9.7 1 -13 1 -13 1.2 -17 1.2 -17 -0.01 17 -0.01' solid='false' spine='0.0 0.0 1450 0 0 -1450'/> |
40 | </Shape> |
41 | </Transform> |
42 | <!-- Right railing --> |
43 | |
44 | <!-- Above road --> |
45 | <Transform> |
46 | <Shape> |
47 | <Appearance> |
48 | <Material diffuseColor='1 0 0'/> |
49 | </Appearance> |
50 | <Extrusion convex='false' crossSection='.125 .075 .125 -.075 -.125 -.075 -.125 .075 .125 .075' solid='false' spine='17 2.2 1350 17 2.2 -1350'/> |
51 | </Shape> |
52 | </Transform> |
53 | <Transform> |
54 | <Shape> |
55 | <Appearance> |
56 | <Material diffuseColor='1 0 0'/> |
57 | </Appearance> |
58 | <Extrusion convex='false' crossSection='.125 .075 .125 -.075 -.125 -.075 -.125 .075 .125 .075' solid='false' spine='17 1.4 1350 17 1.4 -1350'/> |
59 | </Shape> |
60 | </Transform> |
61 | <!-- Below road --> |
62 | <Transform> |
63 | <Shape> |
64 | <Appearance> |
65 | <Material diffuseColor='1 0 0'/> |
66 | </Appearance> |
67 | <Extrusion convex='false' crossSection='.125 .075 .125 -.075 -.125 -.075 -.125 .075 .125 .075' solid='false' spine='17 -1 1350 17 -1 -1350'/> |
68 | </Shape> |
69 | </Transform> |
70 | </Transform> |
71 | <!-- Left railing --> |
72 | <Transform translation='-34 0 0'> |
73 | <Transform USE='Railing'/> |
74 | </Transform> |
75 | </Group> |
76 | <!-- Pillars --> |
77 | <Group> |
78 | <!-- Pillars on the bridge. --> |
79 |
<!-- Group
Rightpillars is a DEF node that has 1 USE node: USE_1 -->
<Group DEF='Rightpillars'> |
80 | <!-- Front right --> |
81 | |
82 | <Transform> |
83 | <Shape> |
84 | <Appearance> |
85 | <Material/> |
86 | </Appearance> |
87 | <Extrusion convex='false' crossSection='3 3 3 -3 -3 -3 -3 3 3 3' solid='false' spine='17 4 970 17 -70 970'/> |
88 | </Shape> |
89 | </Transform> |
90 | <Transform> |
91 | <Shape> |
92 | <Appearance> |
93 | <Material/> |
94 | </Appearance> |
95 | <Extrusion convex='false' crossSection='3 3 3 -3 -3 -3 -3 3 3 3' scale='1 1 .5 .5' solid='false' spine='17 4 970 17 6 970'/> |
96 | </Shape> |
97 | </Transform> |
98 | <Transform translation='17 -65 970'> |
99 | <Shape> |
100 | <Appearance> |
101 | <Material/> |
102 | </Appearance> |
103 | <Box size='10 10 10'/> |
104 | </Shape> |
105 | </Transform> |
106 | </Transform> |
107 | <!-- Back right --> |
108 | <Transform translation='0 0 -1940'> |
109 | <Transform USE='Pillar'/> |
110 | </Transform> |
111 | </Group> |
112 | <Transform translation='-34 0 0'> |
113 | <Group USE='Rightpillars'/> |
114 | </Transform> |
115 | <!-- Pillars at entrance and exit of bridge. --> |
116 |
<!-- Group
EntrancePillar is a DEF node that has 1 USE node: USE_1 -->
<Group DEF='EntrancePillar'> |
117 | <!-- Front right --> |
118 |
<!-- Transform
EntrancePillar1 is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='EntrancePillar1'> |
119 | <Transform> |
120 | <Shape> |
121 | <Appearance> |
122 | <Material/> |
123 | </Appearance> |
124 | <Extrusion convex='false' crossSection='3 3 3 -3 -3 -3 -3 3 3 3' solid='false' spine='17 4 1350 17 -8 1350'/> |
125 | </Shape> |
126 | </Transform> |
127 | <Transform> |
128 | <Shape> |
129 | <Appearance> |
130 | <Material/> |
131 | </Appearance> |
132 | <Extrusion convex='false' crossSection='3 3 3 -3 -3 -3 -3 3 3 3' scale='1 1 .5 .5' solid='false' spine='17 4 1350 17 6 1350'/> |
133 | </Shape> |
134 | </Transform> |
135 | </Transform> |
136 | <!-- Back right --> |
137 | <Transform translation='0 0 -2700'> |
138 | <Transform USE='EntrancePillar1'/> |
139 | </Transform> |
140 | </Group> |
141 | <Transform translation='-34 0 0'> |
142 | <Group USE='EntrancePillar'/> |
143 | </Transform> |
144 | </Group> |
145 | <!-- Lamp posts --> |
146 | <Group> |
147 | <!-- Centre of bridge --> |
148 | <Transform translation='16 0 0'> |
149 | |
150 | <!-- Lamp support --> |
151 | <Transform DEF='lampsupport' translation='0 1.8 0'> |
152 | <Shape> |
153 |
<!-- Appearance
lampcolour is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='lampcolour'> |
154 | <Material diffuseColor='1 0 0'/> |
155 | </Appearance> |
156 | <Cylinder height='3.6' radius='.06'/> |
157 | </Shape> |
158 | </Transform> |
159 | <!-- Lamp beam --> |
160 | <Transform> |
161 | <Transform DEF='lampbeam' translation='-.2 3.58 0'> |
162 | <Shape> |
163 | <Appearance USE='lampcolour'/> |
164 | <Box size='.4 .04 .08'/> |
165 | </Shape> |
166 | </Transform> |
167 | </Transform> |
168 | <!-- Lamp shade and bulb --> |
169 | <Transform DEF='lampshade' translation='-.48 3.58 0'> |
170 | <Shape> |
171 | <Appearance USE='lampcolour'/> |
172 | <Box size='.2 .05 .1'/> |
173 | </Shape> |
174 | <Transform DEF='bulb' translation='0 -0.02 0'> |
175 | <Shape> |
176 | <Appearance> |
177 | <Material diffuseColor='.4 .4 .1' emissiveColor='.8 .8 .2'/> |
178 | </Appearance> |
179 | <Box size='.16 .04 .08'/> |
180 | </Shape> |
181 | <SpotLight beamWidth='1.570796' color='.8 .8 .1' cutOffAngle='.785398' direction='0 -1 0'/> |
182 | </Transform> |
183 | </Transform> |
184 | </Group> |
185 | </Transform> |
186 | <Transform rotation='0 1 0 3.1415' translation='-16 0 0'> |
187 | <Group USE='Lamppost'/> |
188 | </Transform> |
189 | <!-- Sides of bridge, 50m apart --> |
190 | <Group DEF='lampright'> |
191 | <Transform translation='16 0 -50'> |
192 | <Group USE='Lamppost'/> |
193 | </Transform> |
194 | <Transform translation='16 0 -100'> |
195 | <Group USE='Lamppost'/> |
196 | </Transform> |
197 | <Transform translation='16 0 -150'> |
198 | <Group USE='Lamppost'/> |
199 | </Transform> |
200 | </Group> |
201 | <Group DEF='lampleft'> |
202 | <Transform rotation='0 1 0 3.1415' translation='-16 0 -50'> |
203 | <Group USE='Lamppost'/> |
204 | </Transform> |
205 | <Transform rotation='0 1 0 3.1415' translation='-16 0 -100'> |
206 | <Group USE='Lamppost'/> |
207 | </Transform> |
208 | </Group> |
209 | <!-- --> |
210 | </Group> |
211 | <!-- Embankment --> |
212 | <Group> |
213 |
<!-- Transform
SouthEmbankment is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='SouthEmbankment'> |
214 | <Transform> |
215 | <Shape> |
216 | <Appearance> |
217 | <Material/> |
218 | </Appearance> |
219 | <Extrusion convex='false' crossSection='39.5 100 39.5 10 29.5 -10 -20.5 -40 -30 -100 -30 100 39.5 100' spine='200 -39.2 1350 -200 -39.2 1350'/> |
220 | </Shape> |
221 | <Shape> |
222 | <Appearance> |
223 |
<ImageTexture
url=' "grass.jpg![]() ![]() |
224 | </Appearance> |
225 | <Extrusion convex='false' crossSection='40.1 100 40.1 10 30.15 -10 -19.85 -40 -30 -100.15 -30 -99.9 -20.1 -40 29.9 -10 39.9 10 39.9 100 40.1 100' spine='200 -39.2 1350 -200 -39.2 1350'/> |
226 | </Shape> |
227 | </Transform> |
228 | </Transform> |
229 | <Transform rotation='0 1 0 3.142'> |
230 | <Transform USE='SouthEmbankment'/> |
231 | </Transform> |
232 | </Group> |
233 | <!-- Towers --> |
234 | <Group> |
235 | <Transform translation='0 0 -630'> |
236 | |
237 | <Group> |
238 | <Transform DEF='Segment0'> |
239 | <Shape> |
240 | |
241 | <Material diffuseColor='1 0 0'/> |
242 | </Appearance> |
243 | <Extrusion convex='false' crossSection='14 0 21 0 21 50 -21 50 -21 0 -14 0 -14 40 14 40 14 0' solid='false' spine='0.0 0.0 0.0 0 0 -16'/> |
244 | </Shape> |
245 | </Transform> |
246 | <Transform DEF='Segment1'> |
247 | <Shape> |
248 | <Appearance USE='TowerColour'/> |
249 | <Extrusion convex='false' crossSection='14 0 21 0 21 40 -21 40 -21 0 -14 0 -14 32 14 32 14 0' solid='false' spine='0.0 50.0 -1 0 50 -15'/> |
250 | </Shape> |
251 | </Transform> |
252 | <Transform DEF='Segment2'> |
253 | <Shape> |
254 | <Appearance USE='TowerColour'/> |
255 | <Extrusion convex='false' crossSection='14 0 21 0 21 30 -21 30 -21 0 -14 0 -14 24 14 24 14 0' solid='false' spine='0.0 90.0 -2 0 90 -14'/> |
256 | </Shape> |
257 | </Transform> |
258 | <Transform DEF='Segment3'> |
259 | <Shape> |
260 | <Appearance USE='TowerColour'/> |
261 | <Extrusion convex='false' crossSection='14 0 21 0 21 30 -21 30 -21 0 -14 0 -14 25 14 25 14 0' solid='false' spine='0.0 120.0 -3 0 120 -13'/> |
262 | </Shape> |
263 | </Transform> |
264 | <Transform DEF='SegmentUnder1'> |
265 | <Shape> |
266 | <Appearance USE='TowerColour'/> |
267 | <Extrusion convex='false' crossSection='14 0 21 0 21 30 -21 30 -21 0 -14 0 -14 25 14 25 14 0' solid='false' spine='0.0 -30 0 0 -30 -16'/> |
268 | </Shape> |
269 | </Transform> |
270 | <Transform DEF='SegmentUnder2'> |
271 | <Shape> |
272 | <Appearance USE='TowerColour'/> |
273 | <Extrusion convex='false' crossSection='14 0 21 0 21 30 -21 30 -21 0 -14 0 -14 25 14 25 14 0' solid='false' spine='0.0 -60 0 0 -60 -16'/> |
274 | </Shape> |
275 | </Transform> |
276 | <Transform DEF='SegmentUnder3'> |
277 | <Shape> |
278 | <Appearance USE='TowerColour'/> |
279 | <Extrusion convex='false' crossSection='14 0 21 0 21 5 -21 5 -21 0 -14 0 -14 2 14 2 14 0' solid='false' spine='0.0 -65 0 0 -65 -16'/> |
280 | </Shape> |
281 | </Transform> |
282 | <Transform DEF='XBeam1'> |
283 | <Shape> |
284 | <Appearance USE='TowerColour'/> |
285 | <Extrusion convex='false' crossSection='-11 0 -14 0 -14 3 11 25 14 25 14 22 -11 0' solid='false' spine='0.0 -60 0 0 -60 -16'/> |
286 | </Shape> |
287 | </Transform> |
288 | <Transform DEF='XBeam2'> |
289 | <Shape> |
290 | <Appearance USE='TowerColour'/> |
291 | <Extrusion convex='false' crossSection='-11 0 -14 0 -14 3 11 25 14 25 14 22 -11 0' solid='false' spine='0.0 -30 0 0 -30 -16'/> |
292 | </Shape> |
293 | </Transform> |
294 | <Transform DEF='XBeam3'> |
295 | <Shape> |
296 | <Appearance USE='TowerColour'/> |
297 | <Extrusion convex='false' crossSection='11 0 14 0 14 3 -11 25 -14 25 -14 22 11 0' solid='false' spine='0.0 -60 0 0 -60 -16'/> |
298 | </Shape> |
299 | </Transform> |
300 | <Transform DEF='XBeam4'> |
301 | <Shape> |
302 | <Appearance USE='TowerColour'/> |
303 | <Extrusion convex='false' crossSection='11 0 14 0 14 3 -11 25 -14 25 -14 22 11 0' solid='false' spine='0.0 -30 0 0 -30 -16'/> |
304 | </Shape> |
305 | </Transform> |
306 | |
307 | <Transform translation='17 153 -8'> |
308 | <Shape> |
309 | <Appearance USE='TowerColour'/> |
310 | <Cylinder height='6' radius='2'/> |
311 | </Shape> |
312 | </Transform> |
313 | <Transform translation='17 156 -8'> |
314 | <Shape> |
315 | <Appearance USE='TowerColour'/> |
316 | <Sphere radius='2.2'/> |
317 | </Shape> |
318 | </Transform> |
319 | </Transform> |
320 | <Transform DEF='Tip2' translation='-34 0 0'> |
321 | <Transform USE='Tip1'/> |
322 | </Transform> |
323 | <Transform DEF='Base' translation='0 -67.5 -8'> |
324 | <Shape> |
325 | <Appearance> |
326 | <Material/> |
327 | </Appearance> |
328 | <Box size='50 5 24'/> |
329 | </Shape> |
330 | </Transform> |
331 | </Group> |
332 | </Transform> |
333 | </Transform> |
334 | <Transform translation='0 0 630'> |
335 | <Transform USE='Tower'/> |
336 | </Transform> |
337 | <Transform DEF='Beacon'> |
338 | <Transform translation='0 157.5 -630'> |
339 | <Shape> |
340 | <Appearance USE='TowerColour'/> |
341 | <Cylinder height='15' radius='.6'/> |
342 | </Shape> |
343 | </Transform> |
344 | <Transform translation='0 152 -630'> |
345 | <Shape> |
346 | <Appearance USE='TowerColour'/> |
347 | <Cone bottomRadius='2' height='4'/> |
348 | </Shape> |
349 | </Transform> |
350 | <Transform translation='0 165 -630'> |
351 | <Shape> |
352 | <Appearance> |
353 |
<!-- ROUTE information for blinkingtip node:
[from blinkingpath.value_changed to set_emissiveColor
]
-->
<Material DEF='blinkingtip' diffuseColor='.3 .4 .5'/> |
354 | </Appearance> |
355 | <Sphere radius='.65'/> |
356 | </Shape> |
357 |
<!-- ROUTE information for blinkingclock node:
[from fraction_changed to blinkingpath.set_fraction
]
-->
<TimeSensor DEF='blinkingclock' cycleInterval='2' loop='true'/> |
358 |
<!-- ROUTE information for blinkingpath node:
[from blinkingclock.fraction_changed to set_fraction
]
[from value_changed to blinkingtip.set_emissiveColor
]
-->
<ColorInterpolator DEF='blinkingpath' key='0.0 0.5 0.5 1.0' keyValue='0 1 0 0 1 0 0 0 1 0 0 1'/> |
359 | </Transform> |
360 | </Transform> |
361 | <Transform rotation='0 1 0 1.57' translation='-14.1 121 -630'> |
362 | <Transform translation='0.5 0 -.08'> |
363 | <Shape DEF='Shade'> |
364 | <Appearance> |
365 | <Material diffuseColor='.2 .2 0'/> |
366 | </Appearance> |
367 | <Box size='1 2 .01'/> |
368 | </Shape> |
369 | </Transform> |
370 | <Transform rotation='1 0 0 1.57'> |
371 | <Transform rotation='1 0 0 1.57'> |
372 |
<!-- ROUTE information for WellDoorSensor node:
[from rotation_changed to WellDoorTransform.set_rotation
]
-->
<CylinderSensor DEF='WellDoorSensor' maxAngle='1.57'/> |
373 |
<!-- ROUTE information for WellDoorTransform node:
[from WellDoorSensor.rotation_changed to set_rotation
]
-->
<Transform DEF='WellDoorTransform'> |
374 | <Transform rotation='1 0 0 -1.57'> |
375 | <Shape DEF='Door'> |
376 | <Appearance> |
377 | <Material diffuseColor='1 0 0'/> |
378 | </Appearance> |
379 | <Box size='2 .2 2'/> |
380 | </Shape> |
381 | <Transform translation='0.8 0.1 0'> |
382 | <Shape DEF='Doorknob'> |
383 | <Appearance> |
384 | <Material diffuseColor='.2 0.2 0.2'/> |
385 | </Appearance> |
386 | <Cylinder height='.2' radius='.05'/> |
387 | </Shape> |
388 | </Transform> |
389 | </Transform> |
390 | </Transform> |
391 | </Transform> |
392 | </Transform> |
393 | </Transform> |
394 | </Group> |
395 | < ROUTE fromNode='blinkingclock' fromField='fraction_changed' toNode='blinkingpath' toField='set_fraction'/> |
396 | < ROUTE fromNode='blinkingpath' fromField='value_changed' toNode='blinkingtip' toField='set_emissiveColor'/> |
397 | < ROUTE fromNode='WellDoorSensor' fromField='rotation_changed' toNode='WellDoorTransform' toField='set_rotation'/> |
398 | <!-- Insert cables --> |
399 | <Group> |
400 | <Transform translation='17 0 0'> |
401 |
<!-- Inline
Cable1 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='Cable1' url=' "GoldenGateCables.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Locations/SanFranciscoCalifornia/GoldenGateCables.wrl" "GoldenGateCables.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Locations/SanFranciscoCalifornia/GoldenGateCables.x3d" '/> |
402 | </Transform> |
403 | <Transform translation='-17 0 0'> |
404 | <Inline USE='Cable1'/> |
405 | </Transform> |
406 | </Group> |
407 | <!-- Insert sea surface --> |
408 | <Group> |
409 | <Transform translation='0 -70 0'> |
410 | <Inline url=' "Sea.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Locations/SanFranciscoCalifornia/Sea.wrl" "Sea.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Locations/SanFranciscoCalifornia/Sea.x3d" '/> |
411 | </Transform> |
412 | </Group> |
413 | </Scene> |
414 | </X3D> |
Event Graph ROUTE Table entries with 3 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.
blinkingclock
TimeSensor fraction_changed SFFloat |
blinkingpath
ColorInterpolator set_fraction SFFloat |
then
|
blinkingpath
ColorInterpolator value_changed SFColor |
blinkingtip
Material set_emissiveColor SFColor |
WellDoorSensor
CylinderSensor rotation_changed SFRotation |
WellDoorTransform
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.
-->