X3D Model Documentation: SuperCobraSectionFormBearingDisplay.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=' SuperCobraSectionFormBearingDisplay.x3d '/>
  6            <meta name='descriptioncontent='A demonstration of a Cobra helicopter section using cruise turn principles to conserve fuel'/>
  7            <meta name='creatorcontent='Maj C. B. Lakey, USMC'/>
  8            <meta name='translatorcontent=' Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html '/>
  9            <meta name='createdcontent='10 March 2005'/>
 10            <meta name='translatedcontent='10 March 2005'/>
 11            <meta name='modifiedcontent='12 October 2023'/>
 12            <meta name='referencecontent=' AH1wSuperCobra-MV3204FinalProjectReport.pdf '/>
 13            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1wUnitedStates/SuperCobraSectionFormBearingDisplay.x3d '/>
 14            <meta name='generatorcontent='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 15            <meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
 16            <meta name='referencecontent='http://www.goldwave.com; Goldwave commercial audio creation software used to generate wav file representing sound of rotors turning '/>
 17            <meta name='licensecontent='../../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AircraftPathClock, AircraftPathOrientationInterpolator, AircraftPathTransformation, AircraftRollTransformation, Chasecam1, Chasecam2, Chasecam3, DashTwoAnimatedGroup, DashTwoBearingClock, DashTwoBearingPositionInterpolator, DashTwoBearingTransformation, DashTwoOrientationGroup, DashTwoRollOrientationInterpolator, DashTwoRollTransformation, Overheadcam, OverheadViewTransform, SingleAircraftGroup, SingleAircraftOrientationGroup, TwoAircraftAnimatedGroup

Index for Viewpoint nodes: Chasecam1, Chasecam2, Chasecam3, Overheadcam
-->
 19       <Scene>
 20            <!-- Background simulates an overwater scene -->
 21            <WorldInfo title='SuperCobraSectionFormBearingDisplay.x3d'/>
 22            <Background groundColor='0 0 0'   backUrl=' "urn:web3d:media:textures/panoramas/ocean_2_back.jpg" "../../../Basic/UniversalMediaPanoramas/ocean_2_back.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_back.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_back.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_back.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_back.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_back.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_back.jpg " '   bottomUrl=' "urn:web3d:media:textures/panoramas/ocean_2_bottom.jpg" "ocean_2_bottom.jpg " "../../../Basic/UniversalMediaPanoramas/ocean_2_bottom.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_bottom.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_bottom.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_bottom.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_bottom.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_bottom.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_bottom.jpg " '   frontUrl=' "urn:web3d:media:textures/panoramas/ocean_2_front.jpg" "../../../Basic/UniversalMediaPanoramas/ocean_2_front.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_front.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_front.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_front.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_front.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_front.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_front.jpg " '   leftUrl=' "urn:web3d:media:textures/panoramas/ocean_2_left.jpg" "../../../Basic/UniversalMediaPanoramas/ocean_2_left.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_left.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_left.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_left.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_left.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_left.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_left.jpg " '   rightUrl=' "urn:web3d:media:textures/panoramas/ocean_2_right.jpg" "../../../Basic/UniversalMediaPanoramas/ocean_2_right.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_right.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_right.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_right.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_right.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_right.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_right.jpg " '   topUrl=' "urn:web3d:media:textures/panoramas/ocean_2_top.jpg" "ocean_2_top.jpg " "../../../Basic/UniversalMediaPanoramas/ocean_2_top.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/ocean_2_top.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/ocean_2_top.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/ocean_2_top.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/ocean_2_top.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/ocean_2_top.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/ocean_2_top.jpg " '/>
 23            <Group DEF='TwoAircraftAnimatedGroup'>
 24 
               <!-- ROUTE information for AircraftPathClock node:  [from fraction_changed to AircraftPathOrientationInterpolator.set_fraction ] -->
               <TimeSensor DEF='AircraftPathClockcycleInterval='20loop='true'/>
 25                 <!-- The aircraft path transform acts as a 'hinge' for moving the section in a circular path -->
 26 
               <!-- ROUTE information for AircraftPathTransformation node:  [from AircraftPathOrientationInterpolator.value_changed to set_rotation ] -->
               <Transform DEF='AircraftPathTransformationcenter='-30 0 0translation='30 0 0'>
 27                      <Group DEF='SingleAircraftOrientationGroup'>
 28                           <Transform DEF='AircraftRollTransformationrotation='0 0 1 0.785'>
 29                                <!-- The single aircraft group contains an inline of an AH-1W SuperCobra model; it currently uses the model with no animated lights; although there is also a model with lights animated, it is not advisable to inline it unless the CPU used is capable of high clock cycles (> 3 GHz) -->
 30 
                              <!-- Group SingleAircraftGroup is a DEF node that has 1 USE node: USE_1 -->
                              <Group DEF='SingleAircraftGroup'>
 31                                     <Transform rotation='0 1 0 -1.57079'>
 32                                          <Inline   url=' "SuperCobra.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1wUnitedStates/SuperCobra.x3d" "SuperCobra.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1wUnitedStates/SuperCobra.wrl" '/>
 33                                     </Transform>
 34                                     <Sound maxBack='150maxFront='150minBack='3minFront='3'>
 35                                          <AudioClip description='Helicopter rotors turningloop='true'   url=' "sounds/rotors.wav" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1wUnitedStates/rotors.wav" '/>
 36                                     </Sound>
 37                                </Group>
 38                           </Transform>
 39                           <!-- The DashTwo AnimatedGroup contains all transformations that are distinc from the Lead aircraft (i.e., roll angle and bearing) -->
 40                           <Group DEF='DashTwoAnimatedGroup'>
 41 
                              <!-- ROUTE information for DashTwoBearingClock node:  [from fraction_changed to DashTwoBearingPositionInterpolator.set_fraction ] [from fraction_changed to DashTwoRollOrientationInterpolator.set_fraction ] -->
                              <TimeSensor DEF='DashTwoBearingClockcycleInterval='15loop='true'/>
 42 
                              <!-- ROUTE information for DashTwoBearingTransformation node:  [from DashTwoBearingPositionInterpolator.value_changed to set_translation ] -->
                              <Transform DEF='DashTwoBearingTransformationtranslation='10 1 -10'>
 43                                     <Group DEF='DashTwoOrientationGroup'>
 44                                          <!-- DashTwoRollTransformation contains a'USE' node for the single aircraft, as well as two viewing nodes; the viewing nodes are slaved to the wingman position: one is a cockpit view, while the other is stationed approximately 20 meters behind the wingman -->
 45 
                                        <!-- ROUTE information for DashTwoRollTransformation node:  [from DashTwoRollOrientationInterpolator.value_changed to set_rotation ] -->
                                        <Transform DEF='DashTwoRollTransformationrotation='0 0 1 -0.15'>
 46                                               <Group USE='SingleAircraftGroup'/>
 47                                               <Viewpoint DEF='Chasecam1description='Dash two chase camerafieldOfView='1orientation='0 1 0 3.14position='0 5 -20'/>
 48                                               <Viewpoint DEF='Chasecam2description='Dash two cockpit camerafieldOfView='1orientation='0 1 0 3.14position='0 0 2.2'/>
 49                                          </Transform>
 50                                     </Group>
 51                                     <!-- The itnerpolators and routing nodes combine to describe the roll and position changes of the wingman -->
 52 
                                   <!-- ROUTE information for DashTwoBearingPositionInterpolator node:  [from DashTwoBearingClock.fraction_changed to set_fraction ] [from value_changed to DashTwoBearingTransformation.set_translation ] -->
                                   <PositionInterpolator DEF='DashTwoBearingPositionInterpolatorkey='0.00 0.01 0.05 0.25 0.45 0.49 0.50 0.51 0.55 0.75 0.95 0.9999keyValue='15 5 -15 14 5 -15 12 5 -15 0 5 -12 -12 5 -8 -14 5 -6 -15 5 -5 -14 5 -6 -12 5 -8 0 5 -12 12 5 -15 14 5 -15'/>
 53                                     < ROUTE  fromNode='DashTwoBearingClock' fromField='fraction_changed' toNode='DashTwoBearingPositionInterpolator' toField='set_fraction'/>
 54                                     < ROUTE  fromNode='DashTwoBearingPositionInterpolator' fromField='value_changed' toNode='DashTwoBearingTransformation' toField='set_translation'/>
 55 
                                   <!-- ROUTE information for DashTwoRollOrientationInterpolator node:  [from DashTwoBearingClock.fraction_changed to set_fraction ] [from value_changed to DashTwoRollTransformation.set_rotation ] -->
                                   <OrientationInterpolator DEF='DashTwoRollOrientationInterpolatorkey='0.000 0.004 0.005 0.010 0.050 0.250 0.450 0.490 0.495 0.496 0.500 0.504 0.505 0.510 0.550 0.750 0.950 0.990 0.995 0.996keyValue='0 0 1 1.000 0 0 1 1.000 0 0 1 1.000 0 0 1 0.990 0 0 1 0.950 0 0 1 0.600 0 0 1 0.050 0 0 1 0.010 0 0 1 0.000 0 0 1 0.000 0 0 1 0.000 0 0 1 0.000 0 0 1 0.000 0 0 1 0.010 0 0 1 0.050 0 0 1 0.600 0 0 1 0.950 0 0 1 0.990 0 0 1 1.000 0 0 1 1.000'/>
 56                                     < ROUTE  fromNode='DashTwoBearingClock' fromField='fraction_changed' toNode='DashTwoRollOrientationInterpolator' toField='set_fraction'/>
 57                                     < ROUTE  fromNode='DashTwoRollOrientationInterpolator' fromField='value_changed' toNode='DashTwoRollTransformation' toField='set_rotation'/>
 58                                </Transform>
 59                           </Group>
 60                      </Group>
 61                      <Viewpoint DEF='Chasecam3description='Section chase camerafieldOfView='1orientation='0 1 0 3.14position='0 5 -35'/>
 62                 </Transform>
 63 
               <!-- ROUTE information for AircraftPathOrientationInterpolator node:  [from AircraftPathClock.fraction_changed to set_fraction ] [from value_changed to AircraftPathTransformation.set_rotation ] -->
               <OrientationInterpolator DEF='AircraftPathOrientationInterpolatorkey='0.0 0.5 1.0keyValue='0 1 0 0.0 0 1 0 -3.14 0 1 0 -6.28'/>
 64                 < ROUTE  fromNode='AircraftPathClock' fromField='fraction_changed' toNode='AircraftPathOrientationInterpolator' toField='set_fraction'/>
 65                 < ROUTE  fromNode='AircraftPathOrientationInterpolator' fromField='value_changed' toNode='AircraftPathTransformation' toField='set_rotation'/>
 66                 <!-- The overhead view is transformed up along the Y-axis prior to orienting it straight downward -->
 67                 <Transform DEF='OverheadViewTransformtranslation='0 40 0'>
 68                      <Viewpoint DEF='Overheadcamdescription='Overhead view of cruise turnsfieldOfView='2orientation='1 0 0 -1.57'/>
 69                 </Transform>
 70            </Group>
 71       </Scene>
 72  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AircraftPathClock, AircraftPathOrientationInterpolator, AircraftPathTransformation, AircraftRollTransformation, Chasecam1, Chasecam2, Chasecam3, DashTwoAnimatedGroup, DashTwoBearingClock, DashTwoBearingPositionInterpolator, DashTwoBearingTransformation, DashTwoOrientationGroup, DashTwoRollOrientationInterpolator, DashTwoRollTransformation, Overheadcam, OverheadViewTransform, SingleAircraftGroup, SingleAircraftOrientationGroup, TwoAircraftAnimatedGroup

Index for Viewpoint nodes: Chasecam1, Chasecam2, Chasecam3, Overheadcam
-->
X3D Tooltips element index: AudioClip, Background, Group, head, Inline, meta, OrientationInterpolator, PositionInterpolator, ROUTE, Scene, Sound, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 6 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.

AircraftPathClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
AircraftPathOrientationInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
AircraftPathOrientationInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
AircraftPathTransformation
Transform
set_rotation
SFRotation

DashTwoBearingClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
DashTwoBearingPositionInterpolator
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
DashTwoBearingPositionInterpolator
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(2)
DashTwoBearingTransformation
Transform
set_translation
SFVec3f
DashTwoBearingClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
DashTwoRollOrientationInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
DashTwoRollOrientationInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
DashTwoRollTransformation
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/AircraftHelicopters/AH1wUnitedStates/SuperCobraSectionFormBearingDisplayIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1wUnitedStates/SuperCobraSectionFormBearingDisplay.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. -->