<?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='Interactive' 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='Door.x3d'/>
<meta name='descriptioncontent='A door which has an opening capability.'/>
<meta name='creatorcontent='Selcuk OZTURK'/>
<meta name='createdcontent='10 August 2002'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Door.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : CLOCK, CubePathInterpolator, DOOR_TRANSFORM, MyTouchSensor

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<!-- Rotating Cube, the Door35.jpg is dowloaded from 3DCafe.com for free. -->
<WorldInfo title='Door.x3d'/>
<Viewpoint description='Doorposition='0 0 15'/>
<Group bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<!-- ROUTE information for DOOR_TRANSFORM node:  [from CubePathInterpolator.value_changed to set_rotation ] -->
<Transform DEF='DOOR_TRANSFORMcenter='0.5 0 0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Box size='1 2.5 0.1solid='true'/>
<Appearance> </Appearance>
</Shape>
<Transform translation='-0.4 0 0.07bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Sphere radius='0.1'/>
<Appearance>
<Material diffuseColor='0.6 0.4 0.3'/>
</Appearance>
</Shape>
</Transform>
</Transform>
<!-- ROUTE information for MyTouchSensor node:  [from touchTime to CLOCK.set_startTime ] -->
<TouchSensor DEF='MyTouchSensordescription='touch to operate door'/>
<!-- ROUTE information for CLOCK node:  [from MyTouchSensor.touchTime to set_startTime ] [from fraction_changed to CubePathInterpolator.set_fraction ] -->
<TimeSensor DEF='CLOCKcycleInterval='10'/>
<!-- ROUTE information for CubePathInterpolator node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to DOOR_TRANSFORM.set_rotation ] -->
<OrientationInterpolator DEF='CubePathInterpolatorkey='0.0 0.50 1.0keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.57 0.0 1.0 0.0 0.0'/>
</Group>
<ROUTE fromNode='MyTouchSensorfromField='touchTimetoNode='CLOCKtoField='set_startTime'/>
<ROUTE fromNode='CLOCKfromField='fraction_changedtoNode='CubePathInterpolatortoField='set_fraction'/>
<ROUTE fromNode='CubePathInterpolatorfromField='value_changedtoNode='DOOR_TRANSFORMtoField='set_rotation'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : CLOCK, CubePathInterpolator, DOOR_TRANSFORM, MyTouchSensor

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