<?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='Interactive'  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='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='translatorcontent='Don Brutzman'/>
<meta name='translatorcontent='Colleen Case'/>
<meta name='createdcontent='4 November 2000'/>
<meta name='modifiedcontent='1 July 2023'/>
<meta name='descriptioncontent='A glowing sphere within a gothic building.'/>
<meta name='identifiercontent=' https://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>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: FIRE_TEXTURETRANSFORM, GLOBE_TRANSFORM, GLOBELIGHT, LIGHT_INTENSITY_TWEAKER, SPINCLOCK, TEXTURE_SPIN_INTERPOLATOR, VAULT, WHITE

Index for Viewpoint node: Viewpoint_1
-->
<Scene>
<WorldInfo title='Figure20_09GlowingOrbArchwaysExhibit.x3d'/>
<Group>
<Inline DEF='VAULTbboxCenter='0 1 0bboxSize='6 2 6'
  url=' "../Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.x3d" "../Chapter13PointsLinesFaces/Figure13_16VaultedCeiling.wrl" "https://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 " "https://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=' SPINCLOCK' fromField='fraction_changed' toNode=' TEXTURE_SPIN_INTERPOLATOR' toField='set_fraction'/>
< ROUTE  fromNode=' TEXTURE_SPIN_INTERPOLATOR' fromField='value_changed' toNode=' FIRE_TEXTURETRANSFORM' toField='set_rotation'/>
< ROUTE  fromNode=' SPINCLOCK' fromField='fraction_changed' toNode=' LIGHT_INTENSITY_TWEAKER' toField='set_fraction'/>
< ROUTE  fromNode=' LIGHT_INTENSITY_TWEAKER' fromField='value_changed' toNode=' GLOBELIGHT' toField='set_intensity'/>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: FIRE_TEXTURETRANSFORM, GLOBE_TRANSFORM, GLOBELIGHT, LIGHT_INTENSITY_TWEAKER, SPINCLOCK, TEXTURE_SPIN_INTERPOLATOR, VAULT, WHITE

Index for Viewpoint node: Viewpoint_1
-->

Event Graph ROUTE Table with 4 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

SPINCLOCK
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
TEXTURE_SPIN_INTERPOLATOR
ScalarInterpolator
set_fraction
SFFloat

 
 
then
TEXTURE_SPIN_INTERPOLATOR
ScalarInterpolator
value_changed
SFFloat

ROUTE
event to
(2)
FIRE_TEXTURETRANSFORM
TextureTransform
set_rotation
SFFloat
SPINCLOCK
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
LIGHT_INTENSITY_TWEAKER
ScalarInterpolator
set_fraction
SFFloat

 
 
then
LIGHT_INTENSITY_TWEAKER
ScalarInterpolator
value_changed
SFFloat

ROUTE
event to
(2)
GLOBELIGHT
PointLight
set_intensity
SFFloat


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/Figure20_09GlowingOrbArchwaysExhibitIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/Figure20_09GlowingOrbArchwaysExhibit.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->