X3D Model Documentation: HeloFlying.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=' HeloFlying.x3d '/>
  6            <meta name='creatorcontent='Boon Chuan LEE'/>
  7            <meta name='createdcontent='6 September 2001'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Helo Flight Path'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/HeloFlying.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: clock, Helo, Helo1Pitch, Helo1Roll, Helobanker, HeloFlyingAudioClip, HeloGroup, Helomover, Helopitch, Heloyawer, Touch

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='HeloFlying.x3d'/>
 16            <Background groundAngle='1.309 1.570796groundColor='0 .2 1 0 .5 1 0.8 0.9 0.9skyAngle='1.309 1.571skyColor='.5 .5 .9 0 .5 1 1 0.8 0.8'/>
 17            <Viewpoint position='0 16 225'/>
 18            <Group DEF='HeloGroup'>
 19 
               <!-- ROUTE information for Helo node:  [from Helomover.value_changed to set_translation ] [from Helopitch.value_changed to set_rotation ] -->
               <Transform DEF='Helo'>
 20 
                    <!-- ROUTE information for Helo1Roll node:  [from Heloyawer.value_changed to set_rotation ] -->
                    <Transform DEF='Helo1Roll'>
 21 
                         <!-- ROUTE information for Helo1Pitch node:  [from Helobanker.value_changed to set_rotation ] -->
                         <Transform DEF='Helo1Pitch'>
 22                                <Transform>
 23                                     <Inline   url=' "Seahawk.wrl" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/Seahawk.wrl" "Seahawk.x3d" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/Seahawk.x3d" '/>
 24                                </Transform>
 25                           </Transform>
 26                      </Transform>
 27                 </Transform>
 28 
               <!-- ROUTE information for Touch node:  [from touchTime to clock.set_startTime ] -->
               <TouchSensor DEF='Touch'/>
 29 
 30 
               <!-- ROUTE information for Helomover node:  [from clock.fraction_changed to set_fraction ] [from value_changed to Helo.set_translation ] -->
               <PositionInterpolator DEF='Helomoverkey='0 0.1 0.15 0.2 0.3 0.4 0.5 0.56 0.62 0.68 0.73 0.8 0.88 0.94 1keyValue='0.0 0.0 0.0 1.0 30.0 -10.0 115.0 40.0 -35.0 195.0 45.0 -30.0 310.0 60.0 10.0 160.0 50.0 50.0 0.0 50.0 55.0 -100.0 55.0 30.0 -135.0 60.0 10.0 -140.0 60.0 -20.0 -90.0 40.0 -25.0 -30.0 20.0 -15.0 -5.0 15.0 -10.0 0.0 10.0 0.0 0.0 0.0 0.0'/>
 31 
               <!-- ROUTE information for Heloyawer node:  [from clock.fraction_changed to set_fraction ] [from value_changed to Helo1Roll.set_rotation ] -->
               <OrientationInterpolator DEF='Heloyawerkey='0 0.1 0.2 0.3 0.35 0.4 0.43 0.45 0.47 0.5 0.6 0.7keyValue='1 0 0 0 1 0 0 -0.12 1 0 0 -0.1 1 0 0 0.18 1 0 0 0.2 1 0 0 0.15 1 0 0 0.785 1 0 0 3.14 1 0 0 4.71 1 0 0 -0.08 1 0 0 0 1 0 0 0'/>
 32 
               <!-- ROUTE information for Helobanker node:  [from clock.fraction_changed to set_fraction ] [from value_changed to Helo1Pitch.set_rotation ] -->
               <OrientationInterpolator DEF='Helobankerkey='0 0.05 0.1 0.14 0.2 0.3 0.4 0.5 0.64 0.7 0.76 0.86 0.9 0.93 0.96 1keyValue='0 1 0 0 0 1 0 0 0 1 0 0.7 0 1 0 0 0 1 0 -0.5 0 1 0 -1.57 0 1 0 -3.14 0 1 0 -3.14 0 1 0 -3.14 0 1 0 -6 0 1 0 0 0 1 0 -0.15 0 1 0 0.15 0 1 0 0 0 1 0 0 0 1 0 0'/>
 33 
               <!-- ROUTE information for Helopitch node:  [from clock.fraction_changed to set_fraction ] [from value_changed to Helo.set_rotation ] -->
               <OrientationInterpolator DEF='Helopitchkey='0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.76 0.86 0.9 0.93 0.96 1keyValue='0 0 1 0 0 0 1 0 0 0 1 0.3 0 0 1 0.3 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 -0.3 0 0 1 -0.2 0 0 1 -0.2 0 0 1 0.13 0 0 1 0.08 0 0 1 0 0 0 1 0'/>
 34                 <Sound direction='1.0 1.0 1.0maxBack='200.0maxFront='200.0minBack='20.0minFront='20.0'>
 35                      <AudioClip DEF='HeloFlyingAudioCliploop='true'   url=' "HeloRotorSound.wav" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/HeloRotorSound.wav" '/>
 36                 </Sound>
 37            </Group>
 38            < ROUTE  fromNode='Touch' fromField='touchTime' toNode='clock' toField='set_startTime'/>
 39            < ROUTE  fromNode='clock' fromField='fraction_changed' toNode='Helomover' toField='set_fraction'/>
 40            < ROUTE  fromNode='Helomover' fromField='value_changed' toNode='Helo' toField='set_translation'/>
 41            < ROUTE  fromNode='clock' fromField='fraction_changed' toNode='Helobanker' toField='set_fraction'/>
 42            < ROUTE  fromNode='clock' fromField='fraction_changed' toNode='Heloyawer' toField='set_fraction'/>
 43            < ROUTE  fromNode='Heloyawer' fromField='value_changed' toNode='Helo1Roll' toField='set_rotation'/>
 44            < ROUTE  fromNode='Helobanker' fromField='value_changed' toNode='Helo1Pitch' toField='set_rotation'/>
 45            < ROUTE  fromNode='clock' fromField='fraction_changed' toNode='Helopitch' toField='set_fraction'/>
 46            < ROUTE  fromNode='Helopitch' fromField='value_changed' toNode='Helo' toField='set_rotation'/>
 47       </Scene>
 48  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: clock, Helo, Helo1Pitch, Helo1Roll, Helobanker, HeloFlyingAudioClip, HeloGroup, Helomover, Helopitch, Heloyawer, Touch

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: AudioClip, Background, Group, head, Inline, meta, OrientationInterpolator, PositionInterpolator, ROUTE, Scene, Sound, 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 9 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.

Touch
TouchSensor
touchTime
SFTime

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

ROUTE
event to
(2)
Helomover
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
Helomover
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
Helo
Transform
set_translation
SFVec3f
  then
 
 
 
clock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(3)
Helo1Pitch
Transform
set_rotation
SFRotation
  then
 
 
 
clock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(3)
Helo1Roll
Transform
set_rotation
SFRotation
  then
 
 
 
clock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(3)
Helo
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/ShipsMilitary/LandingShipTankEnduranceSingapore/HeloFlyingIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/HeloFlying.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. -->