<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='RHIBPrototype.x3d'/>
<meta name='creatorcontent='James Harney'/>
<meta name='createdcontent='12 November 2001'/>
<meta name='modifiedcontent='10 October 2015'/>
<meta name='descriptioncontent='Simple model of US Navy non-Spec War RHIB boat. Aligned down positive x axis as required for Savage vehicle models.'/>
<meta name='referencecontent='RHIBBoatControlPanel.bat'/>
<meta name='referencecontent=' http://www.foia.navy.mil/usscole/index.html '/>
<meta name='referencecontent=' http://www.fas.org/man/dod-101/navy/docs/swos/eng/62b-416/sld005.htm '/>
<meta name='referencecontent=' http://www.fas.org/man/dod-101/navy/docs/swos/eng/62b-416/sld006.htm '/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlag.x3d '/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/RHIBPrototype.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ProtoDeclare definition : RHIB

Index for DEF nodes : Boat, BoatPosit, BoatPositClock, BoatTransform, Flag, FlagCoor, FRONT, MoveFlag, PORT, REAR, STBD, timer, Touch

Index for Viewpoint images : Viewpoint_1, FRONT, PORT, REAR, STBD
-->
<Scene>
<ProtoDeclare name='RHIBappinfo='Rigid Hull Inflatable Boat'>
<ProtoInterface>
<field name='startExplosiontype='SFTimeaccessType='inputOnly'/>
</ProtoInterface>
<ProtoBody>
<Group>
<Transform>
<Viewpoint DEF='STBDdescription='RHIB Boat stbd Viewjump='falseorientation='1 0 0 -0.2position='0 10 25'/>
<Viewpoint DEF='FRONTcenterOfRotation='0 8 0description='RHIB Boat Front Viewjump='falseorientation='0 1 0 1.57position='27 8 0'/>
<Viewpoint DEF='PORTcenterOfRotation='0 8 0description='RHIB Boat Port Viewjump='falseorientation='0 1 0 3.14position='0 8 -25'/>
<Viewpoint DEF='REARcenterOfRotation='0 8 0description='RHIB Boat Rear Viewjump='falseorientation='0 1 0 -1.57position='-25 8 0'/>
</Transform>
<!-- ROUTE information for BoatPositClock node:  [from fraction_changed to BoatPosit.set_fraction ] -->
<TimeSensor DEF='BoatPositClockcycleInterval='1.8'>
<IS>
<connect nodeField='startTimeprotoField='startExplosion'/>
</IS>
</TimeSensor>
<!-- ROUTE information for BoatPosit node:  [from BoatPositClock.fraction_changed to set_fraction ] [from value_changed to BoatTransform.set_translation ] -->
<PositionInterpolator DEF='BoatPositkey='.9 1keyValue='0 0 0 0 -15 0'/>
<!-- ROUTE information for BoatTransform node:  [from BoatPosit.value_changed to set_translation ] -->
<Transform DEF='BoatTransform'>
<Transform>
<!-- Hull -->
<Shape>
<Extrusion creaseAngle='1.57crossSection='0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00orientation='0 1 0 0 0 1 0 0 0 0 1 -0.5scale='1.25 2 1.25 2 1.25 .1solid='falsespine='0 0 0 5.775 0 0 7.9 0.25 0'/>
<Appearance>
<Material diffuseColor='.9 .9 .9shininess='1'/>
</Appearance>
</Shape>
<!-- Deck -->
<Shape>
<Extrusion creaseAngle='1.57crossSection='0.10 0.96 0.10 -0.96scale='1 1.75 1 1.75 1 .1solid='falsespine='.1 -.5 0 5.6 -.5 0 7.8 0.25 0'/>
<Appearance>
<Material diffuseColor='.05 .05 .05emissiveColor='.05 .05 .05'/>
</Appearance>
</Shape>
<!-- Air cushion -->
<Shape>
<Appearance>
<Material diffuseColor='.7 .7 .7shininess='.3'/>
</Appearance>
<Extrusion creaseAngle='.785crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00scale='.1 .1 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .1 .1solid='falsespine='-.66 0 -1.75 0 0 -1.75 5.775 0 -1.75 7.62 .25 -.25 7.62 .25 .25 5.775 0 1.75 0 0 1.75 -.66 0 1.75'/>
</Shape>
</Transform>
<!-- Driving console -->
<Transform translation='0 -.2 0'>
<Shape>
<IndexedFaceSet solid='falsecoordIndex='0 2 6 4 0 -1 1 3 7 5 1 -1 0 1 5 4 0 -1 2 3 7 6 2 -1 4 6 7 5 4 -1'>
<Coordinate point='2 0 .5 3 0 .5 2 0 -.5 3 0 -.5 2 1 .5 3 1.5 .5 2 1 -.5 3 1.5 -.5'/>
</IndexedFaceSet>
<Appearance>
<Material diffuseColor='.8 .8 .8'/>
</Appearance>
</Shape>
</Transform>
<!-- Flag code, based off Turkish Frigate in meta ref. -->
<Transform rotation='0 0 1 .2'>
<Group>
<Transform rotation='0 1 0 3.14scale='.2 .2 .2translation='0 1.0 0.0'>
<Shape>
<IndexedFaceSet DEF='Flagconvex='falsesolid='falsecoordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 0'>
<!-- ROUTE information for FlagCoor node:  [from MoveFlag.value_changed to set_point ] -->
<Coordinate DEF='FlagCoorpoint='0.0 0.0 0.0 0.5 0.0 0.0 1.0 0.0 0.0 1.5 0.0 0.0 2.0 0.0 0.0 2.5 0.0 0.0 3.0 0.0 0.0 3.5 0.0 0.0 4.0 0.0 0.0 4.5 0.0 0.0 5.0 0.0 0.0 5.5 0.0 0.0 6.0 0.0 0.0 6.5 0.0 0.0 7.0 0.0 0.0 7.5 0.0 0.0 7.5 0.5 0.0 7.5 1.0 0.0 7.5 1.5 0.0 7.5 2.0 0.0 7.5 2.5 0.0 7.5 3.0 0.0 7.5 3.5 0.0 7.5 4.0 0.0 7.5 4.5 0.0 7.5 5.0 0.0 7.0 5.0 0.0 6.5 5.0 0.0 6.0 5.0 0.0 5.5 5.0 0.0 5.0 5.0 0.0 4.5 5.0 0.0 4.0 5.0 0.0 3.5 5.0 0.0 3.0 5.0 0.0 2.5 5.0 0.0 2.0 5.0 0.0 1.5 5.0 0.0 1.0 5.0 0.0 0.5 5.0 0.0 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0'/>
</IndexedFaceSet>
<Appearance>
<Material shininess='0.8'/>
<ImageTexture repeatS='falserepeatT='false'
  url=' "UsaFlag.png" "UsaFlag.gif" "https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/UsaFlag.png" "https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/UsaFlag.gif" '/>

<TextureTransform scale='1.0 1.3translation='0.0 0.05'/>
</Appearance>
</Shape>
<Shape>
<IndexedFaceSet solid='falsecoordIndex='0 1 2 3 0'>
<Coordinate point='-0.3 -5.0 0.0 0.0 -5.0 0.0 0.0 5.0 0.0 -0.3 5.0 0.0'/>
</IndexedFaceSet>
<Appearance>
<Material diffuseColor='.7 .7 .7'/>
</Appearance>
</Shape>
<!-- ROUTE information for timer node:  [from fraction_changed to MoveFlag.set_fraction ] -->
<TimeSensor DEF='timercycleInterval='4.0loop='true'/>
<!-- ROUTE information for MoveFlag node:  [from timer.fraction_changed to set_fraction ] [from value_changed to FlagCoor.set_point ] -->
<CoordinateInterpolator DEF='MoveFlagkey='0.0 0.25 0.5 0.75 1.0keyValue='0.0 0.0 0.0 0.5 0.0 0.87 1.0 0.0 1.0 1.5 0.0 0.87 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.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0'/>
</Transform>
</Group>
</Transform>
</Transform>
<ROUTE fromNode='timerfromField='fraction_changedtoNode='MoveFlagtoField='set_fraction'/>
<ROUTE fromNode='MoveFlagfromField='value_changedtoNode='FlagCoortoField='set_point'/>
<ROUTE fromNode='BoatPositClockfromField='fraction_changedtoNode='BoatPosittoField='set_fraction'/>
<ROUTE fromNode='BoatPositfromField='value_changedtoNode='BoatTransformtoField='set_translation'/>
</Group>
</ProtoBody>
</ProtoDeclare>
<NavigationInfo speed='10type='"EXAMINE" "FLY" "ANY"visibilityLimit='7000'/>
<Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6skyAngle='1.309 1.571skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/>
<!-- ROUTE information for Boat node:  [from Touch.touchTime to startExplosion ] -->
<ProtoInstance name='RHIBDEF='Boat'/>
<Viewpoint description='RHIB Viewjump='falseorientation='1 0 0 -0.2position='0 10 25'/>
<!-- ROUTE information for Touch node:  [from touchTime to Boat.startExplosion ] -->
<TouchSensor DEF='Touchdescription='touch to activate'/>
<ROUTE fromNode='TouchfromField='touchTimetoNode='BoattoField='startExplosion'/>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definition : RHIB

Index for DEF nodes : Boat, BoatPosit, BoatPositClock, BoatTransform, Flag, FlagCoor, FRONT, MoveFlag, PORT, REAR, STBD, timer, Touch

Index for Viewpoint images : Viewpoint_1, FRONT, PORT, REAR, STBD
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->