<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interactive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='Elevator.x3d'/>
<meta name='descriptioncontent='X3D encodings example: example of animating the camera by depicting an elevator to ease access to a multi-story building. For this example, a 2 story building is shown and it is assumed that the elevator is already at the ground floor. To go up, the user just steps onto the elevator platform. A ProximitySensor fires and starts the elevator up automatically. Additional features such as call buttons for outside the elevator, elevator doors, and floor selector buttons could be added to make the elevator easier to use.'/>
<meta name='creatorcontent='Don Brutzman and Joe Williams'/>
<meta name='Imagecontent='ElevatorAnimation.png'/>
<meta name='createdcontent='1 June 2002'/>
<meta name='modifiedcontent='28 October 2019'/>
<meta name='specificationSectioncontent=' X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.18 Elevator'/>
<meta name='specificationUrlcontent=' https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/examples.html#Elevator '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Elevator.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : ElevatorPI, EProximity, ETransform, EViewpoint, TS

Index for Viewpoint image : EViewpoint
-->
<Scene>
<WorldInfo title='Elevator.x3d'/>
<NavigationInfo type='"WALK" "ANY"'/>
<Transform translation='0.0 0.0 -3.5'>
<Shape>
<Cone/>
<Appearance>
<Material diffuseColor='0.0 1.0 0.0'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0.0 4.0 -3.5'>
<Shape>
<Cone/>
<Appearance>
<Material diffuseColor='1.0 0.0 0.0'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0.0 8.0 -3.5'>
<Shape>
<Cone/>
<Appearance>
<Material diffuseColor='0.0 0.0 1.0'/>
</Appearance>
</Shape>
</Transform>
<Group>
<!-- ROUTE information for ETransform node:  [from ElevatorPI.value_changed to translation ] -->
<Transform DEF='ETransform'>
<!-- ROUTE information for EViewpoint node:  [from TS.isActive to set_bind ] -->
<Viewpoint DEF='EViewpointdescription='Elevator Viewpointjump='false'/>
<!-- ROUTE information for EProximity node:  [from enterTime to TS.startTime ] -->
<ProximitySensor DEF='EProximitysize='2.0 5.0 5.0'/>
<Transform translation='0.0 -1.0 0.0'>
<Shape>
<Box size='2.0 0.2 5.0'/>
<Appearance>
<Material/>
</Appearance>
</Shape>
</Transform>
</Transform>
</Group>
<!-- ROUTE information for ElevatorPI node:  [from TS.fraction_changed to set_fraction ] [from value_changed to ETransform.translation ] -->
<PositionInterpolator DEF='ElevatorPIkey='0.0 1.0keyValue='0.0 0.0 0.0 0.0 8.0 0.0'/>
<!-- ROUTE information for TS node:  [from EProximity.enterTime to startTime ] [from isActive to EViewpoint.set_bind ] [from fraction_changed to ElevatorPI.set_fraction ] -->
<TimeSensor DEF='TScycleInterval='10.0'/>
<ROUTE fromNode='EProximityfromField='enterTimetoNode='TStoField='startTime'/>
<ROUTE fromNode='TSfromField='isActivetoNode='EViewpointtoField='set_bind'/>
<ROUTE fromNode='TSfromField='fraction_changedtoNode='ElevatorPItoField='set_fraction'/>
<ROUTE fromNode='ElevatorPIfromField='value_changedtoNode='ETransformtoField='translation'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : ElevatorPI, EProximity, ETransform, EViewpoint, TS

Index for Viewpoint image : EViewpoint
-->

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