X3D Model Documentation: Wings.x3d

  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='titlecontent=' Wings.x3d '/>
  6            <meta name='descriptioncontent='Osprey MV-22 wings and engines.'/>
  7            <meta name='creatorcontent='Major William C. James USMC'/>
  8            <meta name='createdcontent='23 September 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/Wings.x3d '/>
 11            <meta name='referencecontent='https://www.navy.mil/Resources/Fact-Files/Display-FactFiles/Article/2417719/v-22b-osprey-tilt-rotor-aircraft'/>
 12            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ac/v-22.htm '/>
 13            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: CLOCK1, CLOCK2, CowlingInterpolator, L_Wing, L_Wing_Cross_Span, L_Wing_Cross_Span_Color, LCowling_rotation_sensor, Left_Engine, R_Wing, R_Wing_Cross_Span, R_Wing_Cross_Span_Color, RCowling_rotation_sensor, Right_Engine

Index for Viewpoint node: Viewpoint_1
-->
 16       <Scene>
 17            <WorldInfo title='Wings.x3d'/>
 18            <Background skyColor='.2 .2 .7'/>
 19            <Viewpoint description='Front, levelposition='0 0 30'/>
 20            <!-- Wings -->
 21            <Transform>
 22                 <Transform DEF='L_Wingrotation='0 1 0 .1translation='-4.5 0 0'>
 23                      <Transform rotation='0 0 1 -.05scale='1 1 1.25'>
 24                           <Shape DEF='L_Wing_Cross_Span'>
 25                                <Extrusion creaseAngle='1.6crossSection='0 .3 3.75 .3 3.75 -.3 -3.75 -.3 -3.75 .3 0 .3scale='1 1 1 .5solid='falsespine='0 0 0 0 0 -2.5'/>
 26                                <Appearance>
 27                                     <Material DEF='L_Wing_Cross_Span_ColordiffuseColor='.5 .5 .5shininess='.5'/>
 28                                </Appearance>
 29                           </Shape>
 30                      </Transform>
 31                 </Transform>
 32                 <Transform DEF='R_Wingrotation='0 1 0 -.1translation='4.5 0 0'>
 33                      <Transform rotation='0 0 1 .05scale='1 1 1.25'>
 34                           <Shape DEF='R_Wing_Cross_Span'>
 35                                <Extrusion creaseAngle='1.6crossSection='0 .3 3.75 .3 3.75 -.3 -3.75 -.3 -3.75 .3 0 .3scale='1 1 1 .5solid='falsespine='0 0 0 0 0 -2.5'/>
 36                                <Appearance>
 37                                     <Material DEF='R_Wing_Cross_Span_ColordiffuseColor='.5 .5 .5shininess='.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_Enginetranslation='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_sensordescription='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='CLOCK1cycleInterval='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='CowlingInterpolatorkey='0.0 1.0keyValue='-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_Enginetranslation='-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_sensordescription='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='CLOCK2cycleInterval='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 shows event connections.
-->
<!-- to top DEF nodes index: CLOCK1, CLOCK2, CowlingInterpolator, L_Wing, L_Wing_Cross_Span, L_Wing_Cross_Span_Color, LCowling_rotation_sensor, Left_Engine, R_Wing, R_Wing_Cross_Span, R_Wing_Cross_Span_Color, RCowling_rotation_sensor, Right_Engine

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Extrusion, head, Inline, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, TouchSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

ROUTE
event to
(1)
CLOCK2
TimeSensor
set_startTime
SFTime
then
 
 
 
CLOCK2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
CowlingInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Right_Engine
Transform
set_rotation
SFRotation
  then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Left_Engine
Transform
set_rotation
SFRotation
LCowling_rotation_sensor
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
CLOCK1
TimeSensor
set_startTime
SFTime
then
 
 
 
CLOCK1
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
CowlingInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Right_Engine
Transform
set_rotation
SFRotation
  then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Left_Engine
Transform
set_rotation
SFRotation

RCowling_rotation_sensor
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
CLOCK1
TimeSensor
set_startTime
SFTime
then
 
 
 
CLOCK1
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
CowlingInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Right_Engine
Transform
set_rotation
SFRotation
  then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Left_Engine
Transform
set_rotation
SFRotation
RCowling_rotation_sensor
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
CLOCK2
TimeSensor
set_startTime
SFTime
then
 
 
 
CLOCK2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
CowlingInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Right_Engine
Transform
set_rotation
SFRotation
  then
 
 
 
CowlingInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
Left_Engine
Transform
set_rotation
SFRotation


Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/WingsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/Wings.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->