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='Interactive' 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=' AboveTextureUnderwayDDG.x3d '/> |
6 | <meta name='creator' content='Ryan Ernst, Naval Postgraduate School'/> |
7 | <meta name='contributor' content='Jeff Weekly, Naval Postgraduate School'/> |
8 | <meta name='created' content='13 September 2004'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='description' content='CS3204 class final project: SH-60B Scene'/> |
11 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ac/sh-60.htm '/> |
12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/AboveTextureUnderwayDDG.x3d '/> |
13 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <!-- SH60B scene. --> |
18 | <WorldInfo title='AboveTextureUnderwayDDG.x3d'/> |
19 | <Viewpoint DEF='default' description='default' orientation='1 0 0 -1.57' position='0 250 0'/> |
20 | <Viewpoint DEF='frontfly' description='frontfly' orientation='0 1 0 3.14' position='20 4 -50'/> |
21 |
<!-- ROUTE information for SpinMover node:
[from SpinPos.value_changed to set_translation
]
[from SpinRot.value_changed to set_rotation
]
-->
<Transform DEF='SpinMover'> |
22 | <Viewpoint DEF='spin' description='spin'/> |
23 |
<!-- ROUTE information for SpinPos node:
[from ViewTimer.fraction_changed to set_fraction
]
[from value_changed to SpinMover.set_translation
]
-->
<PositionInterpolator DEF='SpinPos' key='0 .25 .5 .75 1' keyValue='0 4 35 5 2 25 0 4 15 -5 2 25 0 4 35'/> |
24 |
<!-- ROUTE information for SpinRot node:
[from ViewTimer.fraction_changed to set_fraction
]
[from value_changed to SpinMover.set_rotation
]
-->
<OrientationInterpolator DEF='SpinRot' key='0 .25 .5 .75 1' keyValue='0 1 0 0 0 1 0 1.57 0 1 0 3.14 0 1 0 -1.57 0 1 0 0'/> |
25 | </Transform> |
26 | <Viewpoint DEF='side' description='side' orientation='0 1 0 1.57' position='20 2 23'/> |
27 |
<!-- ROUTE information for ViewTimer node:
[from fraction_changed to SpinPos.set_fraction
]
[from fraction_changed to SpinRot.set_fraction
]
-->
<TimeSensor DEF='ViewTimer' cycleInterval='15' loop='true'/> |
28 | <Transform rotation='0 1 0 2.0' translation='0.0 3.35 23.0'> |
29 | <Shape/> |
30 | <Inline DEF='SH60B' url=' "SH60B.wrl" "SH60B.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/SH60B.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/SH60B.x3d" '/> |
31 | </Transform> |
32 | <Transform> |
33 | <Inline url=' "UnderwayDDG.wrl" "UnderwayDDG.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/UnderwayDDG.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/UnderwayDDG.x3d" '/> |
34 | </Transform> |
35 | <PointLight location='0 50 0'/> |
36 | < ROUTE fromNode='ViewTimer' fromField='fraction_changed' toNode='SpinPos' toField='set_fraction'/> |
37 | < ROUTE fromNode='SpinPos' fromField='value_changed' toNode='SpinMover' toField='set_translation'/> |
38 | < ROUTE fromNode='ViewTimer' fromField='fraction_changed' toNode='SpinRot' toField='set_fraction'/> |
39 | < ROUTE fromNode='SpinRot' fromField='value_changed' toNode='SpinMover' toField='set_rotation'/> |
40 | </Scene> |
41 | </X3D> |
Event Graph ROUTE Table entries with 4 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.
ViewTimer
TimeSensor fraction_changed SFFloat |
SpinPos
PositionInterpolator set_fraction SFFloat |
then
|
SpinPos
PositionInterpolator value_changed SFVec3f |
SpinMover
Transform set_translation SFVec3f |
||
ViewTimer
TimeSensor fraction_changed SFFloat |
SpinRot
OrientationInterpolator set_fraction SFFloat |
then
|
SpinRot
OrientationInterpolator value_changed SFRotation |
SpinMover
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.
-->