X3D Model Documentation: PatrolBoatMoving.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
  3  <X3D profile='Immersive' version='3.1 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  4       <head>
  5            <component level='3name='Interpolation'/>
  6            <meta name='titlecontent='PatrolBoatMoving.x3d'/>
  7            <meta name='descriptioncontent='A US Navy security patrol boat'/>
  8            <meta name='creatorcontent='Planet9 Studios http://www.planet9.com'/>
  9            <meta name='createdcontent='1 August 2007'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='referencecontent='PatrolBoatIdle.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='identifiercontent='https://savage.nps.edu/Savage/ShipsMilitary/PatrolBoatUnitedStates/PatrolBoatMoving.x3d'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: WAKE_INTERP, WAKE_TIME, WAKE_TT
-->
 16       <Scene>
 17            <WorldInfo title='PatrolBoatMoving.x3d'/>
 18            <Background groundAngle='1.4 1.57groundColor='0.863 0.549 0.235 0.863 0.549 0.235 0.627 0.275 0.157skyAngle='1.1 1.4 1.57skyColor='0.333 0.118 0.118 0.333 0.118 0.118 0.706 0.392 0.235 0.941 0.863 0.392'/>
 19            <!-- Transform rotation='0 1 0 -1.57075' scale='0.013022 0.0180494 0.0180494' translation='-0.00785065 0.0517558 9.84711' -->
 20            <Transform rotation='0 1 0 -1.57075scale='0.013022 0.0180494 0.0180494translation='-9.84711 0.2 0.0'>
 21                 <Shape>
 22                      <Appearance>
 23 
                         <!-- ROUTE information for WAKE_TT node:  [from WAKE_INTERP.value_changed to set_translation ] -->
                         <TextureTransform DEF='WAKE_TT'/>
 24                           <ImageTexture   url=' "wake.png " "https://savage.nps.edu/Savage/ShipsMilitary/PatrolBoatUnitedStates/wake.png " '/>
 25                      </Appearance>
 26                      <IndexedFaceSet coordIndex='5 0 6 -1 1 6 0 -1 6 1 7 -1 2 7 1 -1 7 2 8 -1 3 8 2 -1 8 3 9 -1 4 9 3 -1 10 5 11 -1 6 11 5 -1 11 6 12 -1 7 12 6 -1 12 7 13 -1 8 13 7 -1 13 8 14 -1 9 14 8 -1 15 10 16 -1 11 16 10 -1 16 11 17 -1 12 17 11 -1 17 12 18 -1 13 18 12 -1 18 13 19 -1 14 19 13 -1 20 15 21 -1 16 21 15 -1 21 16 22 -1 17 22 16 -1 22 17 23 -1 18 23 17 -1 23 18 24 -1 19 24 18 -1texCoordIndex='5 0 6 -1 1 6 0 -1 6 1 7 -1 2 7 1 -1 7 2 8 -1 3 8 2 -1 8 3 9 -1 4 9 3 -1 10 5 11 -1 6 11 5 -1 11 6 12 -1 7 12 6 -1 12 7 13 -1 8 13 7 -1 13 8 14 -1 9 14 8 -1 15 10 16 -1 11 16 10 -1 16 11 17 -1 12 17 11 -1 17 12 18 -1 13 18 12 -1 18 13 19 -1 14 19 13 -1 20 15 21 -1 16 21 15 -1 21 16 22 -1 17 22 16 -1 22 17 23 -1 18 23 17 -1 23 18 24 -1 19 24 18 -1'>
 27                           <Coordinate point='-123.635 0.0 380.689 -61.8176 0.0 380.689 0.0 0.0 380.689 61.8176 0.0 380.689 123.635 0.0 380.689 -123.635 0.0 190.344 -61.8176 0.0 190.344 0.0 0.0 190.344 61.8176 0.0 190.344 123.635 0.0 190.344 -123.635 0.0 0.0 -61.8176 0.0 0.0 0.0 0.0 0.0 61.8176 0.0 0.0 123.635 0.0 0.0 -123.635 0.0 -190.344 -61.8176 0.0 -190.344 0.0 0.0 -190.344 61.8176 0.0 -190.344 123.635 0.0 -190.344 -123.635 0.0 -380.689 -61.8176 0.0 -380.689 0.0 0.0 -380.689 61.8176 0.0 -380.689 123.635 0.0 -380.689'/>
 28                           <TextureCoordinate point='4.99517E-4 4.99606E-4 0.25025 4.99576E-4 0.5 4.99576E-4 0.74975 4.99547E-4 0.9995 4.99517E-4 4.99696E-4 0.25025 0.25025 0.25025 0.5 0.25025 0.74975 0.25025 0.9995 0.25025 4.99874E-4 0.5 0.25025 0.5 0.5 0.5 0.74975 0.5 0.9995 0.5 5.00053E-4 0.74975 0.25025 0.74975 0.5 0.74975 0.74975 0.74975 0.9995 0.74975 5.00232E-4 0.999501 0.25025 0.9995 0.5 0.9995 0.74975 0.9995 0.999501 0.9995'/>
 29                      </IndexedFaceSet>
 30                 </Shape>
 31            </Transform>
 32 
          <!-- ROUTE information for WAKE_TIME node:  [from fraction_changed to WAKE_INTERP.set_fraction ] -->
          <TimeSensor DEF='WAKE_TIMEcycleInterval='0.25loop='true'/>
 33 
          <!-- ROUTE information for WAKE_INTERP node:  [from WAKE_TIME.fraction_changed to set_fraction ] [from value_changed to WAKE_TT.set_translation ] -->
          <PositionInterpolator2D DEF='WAKE_INTERPkey='0 1keyValue='0 0 0 0.02'/>
 34            < ROUTE  fromNode='WAKE_TIME' fromField='fraction_changed' toNode='WAKE_INTERP' toField='set_fraction'/>
 35            < ROUTE  fromNode='WAKE_INTERP' fromField='value_changed' toNode='WAKE_TT' toField='set_translation'/>
 36            <Inline   url=' "PatrolBoatIdle.x3d" "PatrolBoatIdle.wrl" "https://savage.nps.edu/Savage/ShipsMilitary/PatrolBoatUnitedStates/PatrolBoatIdle.x3d" "https://savage.nps.edu/Savage/ShipsMilitary/PatrolBoatUnitedStates/PatrolBoatIdle.wrl" '/>
 37       </Scene>
 38  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: WAKE_INTERP, WAKE_TIME, WAKE_TT
-->
X3D Tooltips element index: Appearance, Background, component, Coordinate, head, ImageTexture, IndexedFaceSet, Inline, meta, PositionInterpolator2D, ROUTE, Scene, Shape, TextureCoordinate, TextureTransform, TimeSensor, Transform, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://savage.nps.edu/Savage/ShipsMilitary/PatrolBoatUnitedStates/PatrolBoatMovingIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/ShipsMilitary/PatrolBoatUnitedStates/PatrolBoatMoving.x3d -->

<!-- Color 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. -->