<?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='Figure20_09GlowingOrbArchwaysExhibit.x3d'/>
<meta name='creatorcontent='Figure 20.9, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
<meta name='referencecontent=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch20/20fig09.htm '/>
<meta name='translatorscontent='Don Brutzman and Colleen Case'/>
<meta name='createdcontent='4 November 2000'/>
<meta name='modifiedcontent='13 October 2015'/>
<meta name='descriptioncontent='A glowing sphere within a gothic building.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/Figure20_09GlowingOrbArchwaysExhibit.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!-- -->
<Scene>
<Group>
<Inline DEF='VAULTbboxCenter='0 1 0bboxSize='6 2 6'
  url=' "../Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.x3d" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.x3d" "../Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.wrl" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.wrl" '/>

<Transform translation='-8.25 0.0 -8.25'>
<Shape>
<ElevationGrid creaseAngle='0.2solid='falsexDimension='12xSpacing='1.5zDimension='12zSpacing='1.5height='0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0'/>
<Appearance>
<Material diffuseColor='0.6 0.4 0'/>
</Appearance>
</Shape>
</Transform>
<Transform DEF='GLOBE_TRANSFORMtranslation='0 1 0'>
<!-- ROUTE information for GLOBELIGHT node:  [from LIGHT_INTENSITY_TWEAKER.value_changed to set_intensity ] -->
<PointLight DEF='GLOBELIGHTambientIntensity='0.2color='0.7 0.5 0radius='15'/>
<Shape>
<Appearance>
<ImageTexture
  url=' "fire.jpg" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/fire.jpg" '/>

<!-- ROUTE information for FIRE_TEXTURETRANSFORM node:  [from TEXTURE_SPIN_INTERPOLATOR.value_changed to set_rotation ] -->
<TextureTransform DEF='FIRE_TEXTURETRANSFORM'/>
</Appearance>
<Sphere radius='0.2'/>
</Shape>
<Viewpoint description='hello orbposition='0 0 3'/>
<!-- ROUTE information for SPINCLOCK node:  [from fraction_changed to TEXTURE_SPIN_INTERPOLATOR.set_fraction ] [from fraction_changed to LIGHT_INTENSITY_TWEAKER.set_fraction ] -->
<TimeSensor DEF='SPINCLOCKcycleInterval='30loop='true'/>
<!-- ROUTE information for TEXTURE_SPIN_INTERPOLATOR node:  [from SPINCLOCK.fraction_changed to set_fraction ] [from value_changed to FIRE_TEXTURETRANSFORM.set_rotation ] -->
<ScalarInterpolator DEF='TEXTURE_SPIN_INTERPOLATORkey='0 0.5 1keyValue='0 -3.14159 -6.28318'/>
<!-- ROUTE information for LIGHT_INTENSITY_TWEAKER node:  [from SPINCLOCK.fraction_changed to set_fraction ] [from value_changed to GLOBELIGHT.set_intensity ] -->
<ScalarInterpolator DEF='LIGHT_INTENSITY_TWEAKERkey='0 0.2 0.35 0.5 0.65 0.85 0.95 1keyValue='1 0.7 0.3 0.5 0.75 0.85 0.4 1'/>
</Transform>
<Shape>
<Appearance DEF='WHITE'>
<Material diffuseColor='0.5 0.5 0.5emissiveColor='0.1 0.1 0.1'/>
</Appearance>
<IndexedFaceSet coordIndex='0 1 4 -1 1 2 4 -1 2 3 4 -1 3 0 4 -1'>
<Coordinate point='-0.12 0.03 0.12 0.12 0.03 0.12 0.12 0.03 -0.12 -0.12 0.03 -0.12 0.0 0.63 0.0'/>
</IndexedFaceSet>
</Shape>
<Transform translation='0 0.015 0'>
<Shape>
<Appearance USE='WHITE'/>
<Box size='0.4 0.03 0.4'/>
</Shape>
</Transform>
</Group>
<ROUTE fromNode='SPINCLOCKfromField='fraction_changedtoNode='TEXTURE_SPIN_INTERPOLATORtoField='set_fraction'/>
<ROUTE fromNode='TEXTURE_SPIN_INTERPOLATORfromField='value_changedtoNode='FIRE_TEXTURETRANSFORMtoField='set_rotation'/>
<ROUTE fromNode='SPINCLOCKfromField='fraction_changedtoNode='LIGHT_INTENSITY_TWEAKERtoField='set_fraction'/>
<ROUTE fromNode='LIGHT_INTENSITY_TWEAKERfromField='value_changedtoNode='GLOBELIGHTtoField='set_intensity'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : FIRE_TEXTURETRANSFORM, GLOBE_TRANSFORM, GLOBELIGHT, LIGHT_INTENSITY_TWEAKER, SPINCLOCK, TEXTURE_SPIN_INTERPOLATOR, VAULT, WHITE

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