<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://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 =' https://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='Bathtub.x3d'/>
<meta name='descriptioncontent='Bathtub model.'/>
<meta name='creatorcontent='Baris AKTOP'/>
<meta name='createdcontent='12 September 2002'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/Buildings/HouseBarisAktop/Bathtub.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : door, fountain, fountainapp, fountaintrans, nowater, open, shower, showertrans, showertrans1, slide, tub, water, waterflow, wateropen

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='Bathtub.x3d'/>
<Group>
<Transform>
<Shape>
<Extrusion creaseAngle='3.14crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 1 0endCap='falsescale='0.35 0.7 0.375 0.75 0.4 0.8 0.45 0.9 0.5 1solid='falsespine='0 0 0 0 0.1 0 0 0.3 0 0 0.4 0 0 0.5 0'/>
<Appearance>
<Material diffuseColor='0.9 0.9 0.9'/>
</Appearance>
</Shape>
<Transform scale='0.2 0.2 0.2translation='0 0 -0.45'>
<Shape>
<Cylinder height='0.05radius='0.15'/>
<Appearance>
<Material diffuseColor='0.3 0.3 0.3'/>
</Appearance>
</Shape>
<Transform rotation='0 1 0 1.57translation='0 0.1 0'>
<Shape>
<Box size='0.05 0.05 0.3'/>
<Appearance DEF='tub'>
<Material diffuseColor='0.9 0.9 0.9shininess='0.9'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0 0.1 0'>
<Shape>
<Box size='0.05 0.05 0.3'/>
<Appearance USE='tub'/>
</Shape>
</Transform>
</Transform>
</Transform>
<Transform scale='0.5 1 1'>
<Shape>
<Extrusion convex='falsecreaseAngle='3.14crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 0.995 0.005 1.2 0.005 1.2 1 -1.2 1 -1.2 -1.1 1.2 -1.1 1.2 0 1 0solid='falsespine='0 0 0 0 0.5 0'/>
<Appearance>
<Material diffuseColor='0.8 0.8 0.4'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-0.6 1.25 -0.6'>
<Shape>
<Box size='0.05 1.5 1'/>
<Appearance>
<Material diffuseColor='0.8 1 1transparency='0.5'/>
</Appearance>
</Shape>
</Transform>
<Transform rotation='0 1 0 1.57translation='0 1.25 1'>
<Shape>
<Box size='0.05 1.5 1.2'/>
<Appearance>
<Material diffuseColor='0.8 1 1transparency='0.5'/>
</Appearance>
</Shape>
</Transform>
<Transform rotation='1 0 0 -1.57'/>
<Transform rotation='0 1 0 -1.57translation='-0.6 0 0'>
<Group>
<!-- ROUTE information for door node:  [from slide.translation_changed to set_translation ] -->
<Transform DEF='doorrotation='0 1 0 1.57translation='0.45 1.25 0'>
<Shape>
<Box size='0.05 1.5 1.1'/>
<Appearance>
<Material diffuseColor='0.8 1 1transparency='0.5'/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for slide node:  [from translation_changed to door.set_translation ] -->
<PlaneSensor DEF='slidedescription='click and drag to move objectmaxPosition='0.43 1.25minPosition='-0.6 1.25'/>
<ROUTE fromNode='slidefromField='translation_changedtoNode='doortoField='set_translation'/>
</Group>
</Transform>
</Group>
<Group>
<Transform scale='0.5 0.5 0.5translation='0 0.5 -1'>
<Shape>
<Appearance USE='tub'/>
<Extrusion creaseAngle='3.14crossSection='-0.25 -0.05 0.25 -0.05 0.25 0.05 -0.25 0.05 -0.25 -0.05scale='1 1 1 1 0.9 0.9 0.8 0.8solid='falsespine='0 0 0 0 0.03 0 0 0.04 0 0 0.05 0'/>
</Shape>
<!-- ROUTE information for fountaintrans node:  [from fountain.rotation_changed to set_rotation ] -->
<Transform DEF='fountaintransrotation='1 0 0 0.5scale='0.05 0.05 0.05translation='0 0.03 0'>
<Shape>
<Extrusion creaseAngle='3.14crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 1 0endCap='falsesolid='falsespine='0 0 0 0 5 0 0 6.76 0.16 0 7.42 0.58 0 7.84 1.24 0 8 2 0 7.84 2.76 0 7.42 3.42 0 6.76 3.84'/>
<Appearance DEF='fountainapp'>
<Material diffuseColor='0.95 0.95 0.95shininess='1'/>
</Appearance>
</Shape>
<!-- ROUTE information for fountain node:  [from rotation_changed to fountaintrans.set_rotation ] -->
<SphereSensor DEF='fountaindescription='click and drag to rotate'/>
<ROUTE fromNode='fountainfromField='rotation_changedtoNode='fountaintranstoField='set_rotation'/>
</Transform>
<Transform DEF='wateropentranslation='-0.15 0.05 0'>
<Shape>
<Sphere DEF='openradius='0.05'/>
<Appearance USE='fountainapp'/>
</Shape>
<Sound maxBack='30maxFront='30minBack='10minFront='10'>
<!-- ROUTE information for waterflow node:  [from water.touchTime to set_startTime ] [from nowater.touchTime to set_stopTime ] -->
<AudioClip DEF='waterflowdescription='water flowloop='truestartTime='-1'
  url=' "waterflow.wav" "https://savage.nps.edu/Savage/Buildings/HouseBarisAktop/waterflow.wav" '/>
</Sound>
<!-- ROUTE information for water node:  [from touchTime to waterflow.set_startTime ] -->
<TouchSensor DEF='waterdescription='touch to start water sound'/>
<ROUTE fromNode='waterfromField='touchTimetoNode='waterflowtoField='set_startTime'/>
</Transform>
<Transform translation='0.15 0.05 0'>
<Shape>
<Sphere USE='open'/>
<Appearance USE='fountainapp'/>
</Shape>
<!-- ROUTE information for nowater node:  [from touchTime to waterflow.set_stopTime ] -->
<TouchSensor DEF='nowaterdescription='touch to silence water sound'/>
<ROUTE fromNode='nowaterfromField='touchTimetoNode='waterflowtoField='set_stopTime'/>
</Transform>
</Transform>
</Group>
<Transform DEF='showertransrotation='1 0 0 0.5scale='0.05 0.05 0.05translation='0 1.5 -1.1'>
<Shape>
<Extrusion creaseAngle='3.14crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 1 0endCap='falsescale='0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5spine='0 0 0 0 5 0 0 6.76 0.16 0 7.42 0.58 0 7.84 1.24 0 8 2 0 7.84 2.76'/>
<Appearance>
<Material diffuseColor='0.95 0.95 0.95shininess='1'/>
</Appearance>
</Shape>
</Transform>
<Viewpoint description='showerorientation='1 0 0 -0.6position='0 2.5 1.5'/>
<Transform rotation='1 0 0 0.5scale='0.05 0.05 0.05translation='0 1.52 -1.12'>
<!-- ROUTE information for showertrans1 node:  [from shower.rotation_changed to set_rotation ] -->
<Transform DEF='showertrans1center='0 7.84 2.76'>
<Shape>
<Extrusion beginCap='falsecreaseAngle='3.14crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 1 0scale='0.7 0.7 1.5 1.5 1.4 1.4solid='falsespine='0 7.84 2.76 0 7.42 3.42 0 6.76 3.84'/>
<Appearance>
<Material diffuseColor='0.95 0.95 0.95shininess='1'/>
</Appearance>
</Shape>
<!-- ROUTE information for shower node:  [from rotation_changed to showertrans1.set_rotation ] -->
<SphereSensor DEF='showerdescription='click and drag to rotate'/>
<ROUTE fromNode='showerfromField='rotation_changedtoNode='showertrans1toField='set_rotation'/>
</Transform>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : door, fountain, fountainapp, fountaintrans, nowater, open, shower, showertrans, showertrans1, slide, tub, water, waterflow, wateropen

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