<?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>
<component level='3name='Interpolation'/>
<meta name='titlecontent='Skirt.x3d'/>
<meta name='descriptioncontent='Animated Skirt for LCAC which animates using a Vector2FloatArray Interpolator - click geometry to activate animation loop.'/>
<meta name='creatorcontent='Jeff Weekley, Don Brutzman and Jane Wu'/>
<meta name='createdcontent='15 July 2001'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent=' https://www.web3d.org/technicalinfo/specifications/vrml97/part1/concepts.html#4.6.8 '/>
<meta name='referencecontent=' https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#CoordinateInterpolator '/>
<meta name='referencecontent=' https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Extrusion '/>
<meta name='subjectcontent='Skirt'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/AmphibiousVehicles/LCAC/Skirt.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : AnimatedCrossSectionExtrusion, Clock, InterpolateCrossSection, Toucher

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='Skirt.x3d'/>
<Background skyColor='0.25 0.4 0.85'/>
<!-- ====================================== -->
<Viewpoint description='Click to inflate/deflate skirtorientation='1 0 0 0.5position='15 -15 30'/>
<!-- ROUTE information for Clock node:  [from Toucher.isActive to enabled ] [from Toucher.touchTime to startTime ] [from fraction_changed to InterpolateCrossSection.set_fraction ] -->
<TimeSensor DEF='ClockcycleInterval='5enabled='falseloop='true'/>
<!-- ROUTE information for InterpolateCrossSection node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to AnimatedCrossSectionExtrusion.set_crossSection ] -->
<CoordinateInterpolator2D DEF='InterpolateCrossSectionkey='0 0.4 0.5 0.9 1keyValue='0 2 -0.05 1.8 -0.05 1.6 -0.0625 1.4 -0.1 1.2 -0.125 1 -0.2 0.8 -0.25 0.6 -0.2625 0.4 -0.275 0.3 -0.225 0.2 -0.15 0.1 -0.075 0.05 0 0 0 0 0 2 -0.2 2 -1.2 1 -1.2 0.9 -1.3 0.85 -1.4 0.8 -1.5 0.7 -1.55 0.5 -1.6 0.4 -1.55 0.2 -1.475 0.1 -1.39 0 0 0 0 0 0 2 -0.2 2 -1.2 1 -1.2 0.9 -1.3 0.85 -1.4 0.8 -1.5 0.7 -1.55 0.5 -1.6 0.4 -1.55 0.2 -1.475 0.1 -1.39 0 0 0 0 2 -0.05 1.8 -0.05 1.6 -0.0625 1.4 -0.1 1.2 -0.125 1 -0.2 0.8 -0.25 0.6 -0.2625 0.4 -0.275 0.3 -0.225 0.2 -0.15 0.1 -0.075 0.05 0 0 0 2 -0.05 1.8 -0.05 1.6 -0.0625 1.4 -0.1 1.2 -0.125 1 -0.2 0.8 -0.25 0.6 -0.2625 0.4 -0.275 0.3 -0.225 0.2 -0.15 0.1 -0.075 0.05 0 0'/>
<ROUTE fromNode='ClockfromField='fraction_changedtoNode='InterpolateCrossSectiontoField='set_fraction'/>
<Group bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<!-- ROUTE information for AnimatedCrossSectionExtrusion node:  [from InterpolateCrossSection.value_changed to set_crossSection ] -->
<Extrusion DEF='AnimatedCrossSectionExtrusionconvex='falsecreaseAngle='3.14crossSection='0 2 -0.05 1.8 -0.05 1.6 -0.0625 1.4 -0.1 1.2 -0.125 1 -0.2 0.8 -0.25 0.6 -0.2625 0.4 -0.275 0.3 -0.225 0.2 -0.15 0.1 -0.075 0.05 0 0scale='1.66 1.66 1.5 1.5 1.25 1.25 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.25 1.25 1.5 1.5 1.66 1.66solid='falsespine='0 0 0 0 6 0 0 7 0 1 7.225 0 29.4 7.225 0 30.1 7 0 30.1 0 0 30.1 -7 0 29.4 -7.225 0 1 -7.225 0 0 -7 0 0 -6 0 0 0 0'/>
<Appearance>
<Material diffuseColor='0.05 0.075 0.15shininess='0.125specularColor='0.4 0.45 0.45'/>
</Appearance>
</Shape>
<!-- ROUTE information for Toucher node:  [from isActive to Clock.enabled ] [from touchTime to Clock.startTime ] -->
<TouchSensor DEF='Toucherdescription='touch skirt to inflate/deflate'/>
<ROUTE fromNode='ToucherfromField='isActivetoNode='ClocktoField='enabled'/>
<!-- also reset clock to restart -->
<ROUTE fromNode='ToucherfromField='touchTimetoNode='ClocktoField='startTime'/>
</Group>
<ROUTE fromNode='InterpolateCrossSectionfromField='value_changedtoNode='AnimatedCrossSectionExtrusiontoField='set_crossSection'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : AnimatedCrossSectionExtrusion, Clock, InterpolateCrossSection, Toucher

Index for Viewpoint image : Viewpoint_1
-->

<!-- 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)
-->

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