X3D Model Documentation: AboveTextureUnderwayDDG.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='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='titlecontent=' AboveTextureUnderwayDDG.x3d '/>
  6            <meta name='creatorcontent='Ryan Ernst, Naval Postgraduate School'/>
  7            <meta name='contributorcontent='Jeff Weekly, Naval Postgraduate School'/>
  8            <meta name='createdcontent='13 September 2004'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='descriptioncontent='CS3204 class final project: SH-60B Scene'/>
 11            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ac/sh-60.htm '/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60bSeahawkUnitedStates/AboveTextureUnderwayDDG.x3d '/>
 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: default, frontfly, SH60B, side, spin, SpinMover, SpinPos, SpinRot, ViewTimer

Index for Viewpoint nodes: default, frontfly, side, spin
-->
 16       <Scene>
 17            <!-- SH60B scene. -->
 18            <WorldInfo title='AboveTextureUnderwayDDG.x3d'/>
 19            <Viewpoint DEF='defaultdescription='defaultorientation='1 0 0 -1.57position='0 250 0'/>
 20            <Viewpoint DEF='frontflydescription='frontflyorientation='0 1 0 3.14position='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='spindescription='spin'/>
 23 
               <!-- ROUTE information for SpinPos node:  [from ViewTimer.fraction_changed to set_fraction ] [from value_changed to SpinMover.set_translation ] -->
               <PositionInterpolator DEF='SpinPoskey='0 .25 .5 .75 1keyValue='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='SpinRotkey='0 .25 .5 .75 1keyValue='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='sidedescription='sideorientation='0 1 0 1.57position='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='ViewTimercycleInterval='15loop='true'/>
 28            <Transform rotation='0 1 0 2.0translation='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 shows event connections.
-->
<!-- to top DEF nodes index: default, frontfly, SH60B, side, spin, SpinMover, SpinPos, SpinRot, ViewTimer

Index for Viewpoint nodes: default, frontfly, side, spin
-->
X3D Tooltips element index: head, Inline, meta, OrientationInterpolator, PointLight, PositionInterpolator, ROUTE, Scene, Shape, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

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

ROUTE
event to
(2)
SpinMover
Transform
set_translation
SFVec3f
ViewTimer
TimeSensor
fraction_changed
SFFloat

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

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