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=' Wings.x3d '/> |
6 | <meta name='description' content='Osprey MV-22 wings and engines.'/> |
7 | <meta name='creator' content='Major William C. James USMC'/> |
8 | <meta name='created' content='23 September 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/Wings.x3d '/> |
11 | <meta name='reference' content='https://www.navy.mil/Resources/Fact-Files/Display-FactFiles/Article/2417719/v-22b-osprey-tilt-rotor-aircraft'/> |
12 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ac/v-22.htm '/> |
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 | <WorldInfo title='Wings.x3d'/> |
18 | <Background skyColor='.2 .2 .7'/> |
19 | <Viewpoint description='Front, level' position='0 0 30'/> |
20 | <!-- Wings --> |
21 | <Transform> |
22 | <Transform DEF='L_Wing' rotation='0 1 0 .1' translation='-4.5 0 0'> |
23 | <Transform rotation='0 0 1 -.05' scale='1 1 1.25'> |
24 | <Shape DEF='L_Wing_Cross_Span'> |
25 | <Extrusion creaseAngle='1.6' crossSection='0 .3 3.75 .3 3.75 -.3 -3.75 -.3 -3.75 .3 0 .3' scale='1 1 1 .5' solid='false' spine='0 0 0 0 0 -2.5'/> |
26 | <Appearance> |
27 | <Material DEF='L_Wing_Cross_Span_Color' diffuseColor='.5 .5 .5' shininess='.5'/> |
28 | </Appearance> |
29 | </Shape> |
30 | </Transform> |
31 | </Transform> |
32 | <Transform DEF='R_Wing' rotation='0 1 0 -.1' translation='4.5 0 0'> |
33 | <Transform rotation='0 0 1 .05' scale='1 1 1.25'> |
34 | <Shape DEF='R_Wing_Cross_Span'> |
35 | <Extrusion creaseAngle='1.6' crossSection='0 .3 3.75 .3 3.75 -.3 -3.75 -.3 -3.75 .3 0 .3' scale='1 1 1 .5' solid='false' spine='0 0 0 0 0 -2.5'/> |
36 | <Appearance> |
37 | <Material DEF='R_Wing_Cross_Span_Color' diffuseColor='.5 .5 .5' shininess='.5'/> |
38 | </Appearance> |
39 | </Shape> |
40 | </Transform> |
41 | </Transform> |
42 | </Transform> |
43 | <!-- Inline_Right_Engine --> |
44 |
<!-- ROUTE information for Right_Engine node:
[from CowlingInterpolator.value_changed to set_rotation
]
-->
<Transform DEF='Right_Engine' translation='9.3 0 -1'> |
45 | <Inline url=' "RightEngine.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/RightEngine.x3d" "RightEngine.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/RightEngine.wrl" '/> |
46 | <!-- --> |
47 |
<!-- ROUTE information for RCowling_rotation_sensor node:
[from touchTime to CLOCK1.set_startTime
]
[from touchTime to CLOCK2.set_startTime
]
-->
<TouchSensor DEF='RCowling_rotation_sensor' description='right cowling rotation'/> |
48 |
<!-- ROUTE information for CLOCK1 node:
[from RCowling_rotation_sensor.touchTime to set_startTime
]
[from LCowling_rotation_sensor.touchTime to set_startTime
]
[from fraction_changed to CowlingInterpolator.set_fraction
]
-->
<TimeSensor DEF='CLOCK1' cycleInterval='4'/> |
49 |
<!-- OrientationInterpolator
CowlingInterpolator is a DEF node that has 1 USE node: USE_1
<!-- ROUTE information for CowlingInterpolator node: [from CLOCK1.fraction_changed to set_fraction ] [from CLOCK2.fraction_changed to set_fraction ] [from value_changed to Right_Engine.set_rotation ] [from value_changed to Left_Engine.set_rotation ] --> <OrientationInterpolator DEF='CowlingInterpolator' key='0.0 1.0' keyValue='-1.0 0.0 0.0 0.0 -1.0 0.0 0.0 1.57'/> |
50 | </Transform> |
51 | <!-- Inline_Left_Engine --> |
52 |
<!-- ROUTE information for Left_Engine node:
[from CowlingInterpolator.value_changed to set_rotation
]
-->
<Transform DEF='Left_Engine' translation='-9.3 0 -1'> |
53 | <Inline url=' "LeftEngine.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/LeftEngine.x3d" "LeftEngine.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/LeftEngine.wrl" '/> |
54 | <!-- --> |
55 |
<!-- ROUTE information for LCowling_rotation_sensor node:
[from touchTime to CLOCK2.set_startTime
]
[from touchTime to CLOCK1.set_startTime
]
-->
<TouchSensor DEF='LCowling_rotation_sensor' description='left cowling rotation'/> |
56 |
<!-- ROUTE information for CLOCK2 node:
[from RCowling_rotation_sensor.touchTime to set_startTime
]
[from LCowling_rotation_sensor.touchTime to set_startTime
]
[from fraction_changed to CowlingInterpolator.set_fraction
]
-->
<TimeSensor DEF='CLOCK2' cycleInterval='4'/> |
57 | <OrientationInterpolator USE='CowlingInterpolator'/> |
58 | </Transform> |
59 | <!-- RightCowling --> |
60 | < ROUTE fromNode='RCowling_rotation_sensor' fromField='touchTime' toNode='CLOCK1' toField='set_startTime'/> |
61 | < ROUTE fromNode='CowlingInterpolator' fromField='value_changed' toNode='Right_Engine' toField='set_rotation'/> |
62 | <!-- Sensor_routes_for_rotation_together --> |
63 | < ROUTE fromNode='RCowling_rotation_sensor' fromField='touchTime' toNode='CLOCK2' toField='set_startTime'/> |
64 | <!-- Clock_interpolator --> |
65 | < ROUTE fromNode='CLOCK1' fromField='fraction_changed' toNode='CowlingInterpolator' toField='set_fraction'/> |
66 | < ROUTE fromNode='CLOCK2' fromField='fraction_changed' toNode='CowlingInterpolator' toField='set_fraction'/> |
67 | <!-- Left_Cowling --> |
68 | < ROUTE fromNode='LCowling_rotation_sensor' fromField='touchTime' toNode='CLOCK2' toField='set_startTime'/> |
69 | < ROUTE fromNode='CowlingInterpolator' fromField='value_changed' toNode='Left_Engine' toField='set_rotation'/> |
70 | <!-- Sensor_routes_for_rotation_together --> |
71 | < ROUTE fromNode='LCowling_rotation_sensor' fromField='touchTime' toNode='CLOCK1' toField='set_startTime'/> |
72 | </Scene> |
73 | </X3D> |
Event Graph ROUTE Table entries with 8 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.
LCowling_rotation_sensor
TouchSensor touchTime SFTime |
CLOCK2
TimeSensor set_startTime SFTime |
then
|
CLOCK2
TimeSensor fraction_changed SFFloat |
CowlingInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Right_Engine
Transform set_rotation SFRotation |
|||
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Left_Engine
Transform set_rotation SFRotation |
||||||||
LCowling_rotation_sensor
TouchSensor touchTime SFTime |
CLOCK1
TimeSensor set_startTime SFTime |
then
|
CLOCK1
TimeSensor fraction_changed SFFloat |
CowlingInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Right_Engine
Transform set_rotation SFRotation |
|||
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Left_Engine
Transform set_rotation SFRotation |
RCowling_rotation_sensor
TouchSensor touchTime SFTime |
CLOCK1
TimeSensor set_startTime SFTime |
then
|
CLOCK1
TimeSensor fraction_changed SFFloat |
CowlingInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Right_Engine
Transform set_rotation SFRotation |
|||
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Left_Engine
Transform set_rotation SFRotation |
||||||||
RCowling_rotation_sensor
TouchSensor touchTime SFTime |
CLOCK2
TimeSensor set_startTime SFTime |
then
|
CLOCK2
TimeSensor fraction_changed SFFloat |
CowlingInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Right_Engine
Transform set_rotation SFRotation |
|||
then
|
CowlingInterpolator
OrientationInterpolator value_changed SFRotation |
Left_Engine
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.
-->