<?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='Immersiveversion='3.0xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='Torch.x3d'/>
<meta name='descriptioncontent='Example torch using MovieTexture and flickering lights.'/>
<meta name='creatorcontent='Panos Michalopoulos'/>
<meta name='createdcontent='19 Feb 2001'/>
<meta name='modifiedcontent='17 May 2006'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/StudentProjects/Torch.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../license.html'/>
</head>
<!--

Index for DEF nodes: Flame, Light, LightTimer, LightValues, Torch, TorchMetal, Wall
Index for Viewpoint image: Viewpoint_1
-->
<Scene>
<NavigationInfo headlight='falsetype='"EXAMINE" "ANY"transitionType='"ANIMATE"'/>
<Viewpoint description='Standardorientation='0 1 0 0.1position='0.5 0 8'/>
<Transform scale='0.2 0.2 0.2translation='-2.3 1 0'>
<Group DEF='Torch'>
<Shape>
<Extrusion creaseAngle='2crossSection='-1 0 0 1 1 0 0 -1 -1 0scale='0.1 0.1 0.2 0.2spine='0 -1 0 0 1 0'/>
<Appearance DEF='TorchMetal'>
<Material diffuseColor='1 0.9 0.3'/>
</Appearance>
</Shape>
<Transform translation='0 1.15 0'>
<Shape>
<Cylinder height='0.3radius='0.3'/>
<Appearance USE='TorchMetal'/>
</Shape>
</Transform>
<Transform rotation='0 1 0 -1.7scale='1.5 1.5 1.5translation='0 1.3 0'>
<Shape>
<Extrusion crossSection='-1 0 0 1 1 0 0 -1 -1 0scale='0.1 0.1 0.3 0.3 0.5 0.5 0.5 0.5 0.3 0.3 0.1 0.1 0.001 0.001spine='0 0 0 0 0.2 0 0 0.5 0 0 0.6 0 0 1 0 0 1.5 0 0 2 0'/>
<Appearance DEF='Flame'>
<MovieTexture loop='truerepeatS='falserepeatT='false'
  url='flames.mpg'/>
</Appearance>
</Shape>
</Transform>
<!-- Light ROUTE:  [from LightValues.value_changed to set_intensity ] -->
<PointLight DEF='LightambientIntensity='0.3attenuation='0 0 0.1color='1 1 0.5location='0 2 0'/>
<!-- LightTimer ROUTE:  [from fraction_changed to LightValues.set_fraction ] -->
<TimeSensor DEF='LightTimercycleInterval='1.5loop='true'/>
<!-- LightValues ROUTEs:  [from LightTimer.fraction_changed to set_fraction ] [from value_changed to Light.set_intensity ] -->
<ScalarInterpolator DEF='LightValueskey='0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1keyValue='1 0.7 0.5 0.8 1 0.5 0.8 0.7 1 0.5 1'/>
</Group>
</Transform>
<Transform scale='0.2 0.2 0.2translation='2.3 1 0'>
<Group USE='Torch'/>
</Transform>
<Transform translation='0 -2.5 0'>
<Shape>
<Box size='5 0.1 5'/>
<Appearance DEF='Wall'>
<Material diffuseColor='0.9 0.9 0.9specularColor='0 0.1 0'/>
<ImageTexture
  url='Soil1.jpg'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0 2.5 0'>
<Shape>
<Box size='5 0.1 5'/>
<Appearance USE='Wall'/>
</Shape>
</Transform>
<Transform translation='-2.5 0 0'>
<Shape>
<Box size='0.1 5 5'/>
<Appearance USE='Wall'/>
</Shape>
</Transform>
<Transform translation='2.5 0 0'>
<Shape>
<Box size='0.1 5 5'/>
<Appearance USE='Wall'/>
</Shape>
</Transform>
<Transform translation='0 0 -2.5'>
<Shape>
<Box size='5 5 0.1'/>
<Appearance USE='Wall'/>
</Shape>
</Transform>
<ROUTE fromNode='LightTimerfromField='fraction_changedtoNode='LightValuestoField='set_fraction'/>
<ROUTE fromNode='LightValuesfromField='value_changedtoNode='LighttoField='set_intensity'/>
</Scene>
</X3D>
<!--

Index for DEF nodes: Flame, Light, LightTimer, LightValues, Torch, TorchMetal, Wall
Index for Viewpoint image: Viewpoint_1
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> -->