<?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 content='Figure20.09GlowingOrbArchwaysExhibit.x3d' name='title'/>
    <meta content='Figure 20.9, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland' name='creator'/>
    <meta content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch20/20fig09.htm' name='reference'/>
    <meta content='Don Brutzman and Colleen Case' name='translators'/>
    <meta content='4 November 2000' name='created'/>
    <meta content='13 October 2015' name='modified'/>
    <meta content='A glowing sphere within a gothic building.' name='description'/>
    <meta content='http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20-Lighting/Figure20.09GlowingOrbArchwaysExhibit.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <Group>
      <Inline DEF='VAULT' bboxCenter='0 1 0' bboxSize='6 2 6' url='"../Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.x3d" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.x3d" "../Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.wrl" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.wrl"'/>
      <Transform translation='-8.25 0.0 -8.25'>
        <Shape>
          <ElevationGrid creaseAngle='0.2' height='0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0' solid='false' xDimension='12' xSpacing='1.5' zDimension='12' zSpacing='1.5'/>
          <Appearance>
            <Material diffuseColor='0.6 0.4 0'/>
          </Appearance>
        </Shape>
      </Transform>
      <Transform DEF='GLOBE_TRANSFORM' translation='0 1 0'>
        <PointLight DEF='GLOBELIGHT' ambientIntensity='0.2' color='0.7 0.5 0' radius='15'/>
        <Shape>
          <Appearance>
            <ImageTexture url='"fire.jpg" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20-Lighting/fire.jpg"'/>
            <TextureTransform DEF='FIRE_TEXTURETRANSFORM'/>
          </Appearance>
          <Sphere radius='0.2'/>
        </Shape>
        <Viewpoint description='hello orb' position='0 0 3'/>
        <TimeSensor DEF='SPINCLOCK' cycleInterval='30' loop='true'/>
        <ScalarInterpolator DEF='TEXTURE_SPIN_INTERPOLATOR' key='0 0.5 1' keyValue='0 -3.14159 -6.28318'/>
        <ScalarInterpolator DEF='LIGHT_INTENSITY_TWEAKER' key='0 0.2 0.35 0.5 0.65 0.85 0.95 1' keyValue='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.5' emissiveColor='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 fromField='fraction_changed' fromNode='SPINCLOCK' toField='set_fraction' toNode='TEXTURE_SPIN_INTERPOLATOR'/>
    <ROUTE fromField='value_changed' fromNode='TEXTURE_SPIN_INTERPOLATOR' toField='set_rotation' toNode='FIRE_TEXTURETRANSFORM'/>
    <ROUTE fromField='fraction_changed' fromNode='SPINCLOCK' toField='set_fraction' toNode='LIGHT_INTENSITY_TWEAKER'/>
    <ROUTE fromField='value_changed' fromNode='LIGHT_INTENSITY_TWEAKER' toField='set_intensity' toNode='GLOBELIGHT'/>
  </Scene>
</X3D>