<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='DolphinSwitcher.x3d'/>
<meta name='descriptioncontent='Switch animation among three different dolphin poses in a freeze-frame style.'/>
<meta name='creatorcontent='Chris Lang'/>
<meta name='createdcontent='1 August 2007'/>
<meta name='modifiedcontent='1 April 2020'/>
<meta name='referencecontent='DolphinMorpher.x3d'/>
<meta name='referencecontent='DolphinPose01.x3d'/>
<meta name='referencecontent='DolphinPose02.x3d'/>
<meta name='referencecontent='DolphinPose03.x3d'/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Biologics/Dolphin/DolphinSwitcher.x3d '/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/DolphinSwitcher.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : CurvedDownwardPose, CurvedUpwardPose, NeutralPose, Sequencer, Switch, Time

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='DolphinSwitcher.x3d'/>
<Background groundColor='1 1 1skyColor='1 1 1'/>
<Viewpoint description='Dolphin switcher, 2m awayposition='0 0 2'/>
<!-- Modify the whichChoice value in this Switch to 0, 1 or 2 to see the various versions of the model. Select whichChoice= -1 to show nothing. -->
<!-- ROUTE information for Switch node:  [from Sequencer.value_changed to whichChoice ] -->
<Switch DEF='SwitchwhichChoice='2'>
<!-- whichChoice values are 0, 1, 2 for these three children -->
<Group DEF='CurvedUpwardPose'> </Group>
<Group DEF='NeutralPose'> </Group>
<Group DEF='CurvedDownwardPose'> </Group>
</Switch>
<!-- ROUTE information for Sequencer node:  [from Time.fraction_changed to set_fraction ] [from value_changed to Switch.whichChoice ] -->
<IntegerSequencer DEF='Sequencerkey='0 0.25 0.5 0.75 1keyValue='0 1 2 1 0containerField='children'/>
<!-- ROUTE information for Time node:  [from fraction_changed to Sequencer.set_fraction ] -->
<TimeSensor DEF='TimecycleInterval='4loop='true'/>
<ROUTE fromNode='SequencerfromField='value_changedtoNode='SwitchtoField='whichChoice'/>
<ROUTE fromNode='TimefromField='fraction_changedtoNode='SequencertoField='set_fraction'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : CurvedDownwardPose, CurvedUpwardPose, NeutralPose, Sequencer, Switch, Time

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

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->