X3D Model Documentation: Figure20_09GlowingOrbArchwaysExhibit.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent='Figure20_09GlowingOrbArchwaysExhibit.x3d'/>
  6            <meta name='creatorcontent='Figure 20.9, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
  7            <meta name='referencecontent='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch20/20fig09.htm'/>
  8            <meta name='translatorcontent='Don Brutzman'/>
  9            <meta name='translatorcontent='Colleen Case'/>
 10            <meta name='createdcontent='4 November 2000'/>
 11            <meta name='modifiedcontent='1 July 2023'/>
 12            <meta name='descriptioncontent='A glowing sphere within a gothic building.'/>
 13            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/Figure20_09GlowingOrbArchwaysExhibit.x3d'/>
 14            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: FIRE_TEXTURETRANSFORM, GLOBE_TRANSFORM, GLOBELIGHT, LIGHT_INTENSITY_TWEAKER, SPINCLOCK, TEXTURE_SPIN_INTERPOLATOR, VAULT, WHITE

Index for Viewpoint node: Viewpoint_1
-->
 17       <Scene>
 18            <WorldInfo title='Figure20_09GlowingOrbArchwaysExhibit.x3d'/>
 19            <Group>
 20                 <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" '/>
 21                 <Transform translation='-8.25 0.0 -8.25'>
 22                      <Shape>
 23                           <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'/>
 24                           <Appearance>
 25                                <Material diffuseColor='0.6 0.4 0'/>
 26                           </Appearance>
 27                      </Shape>
 28                 </Transform>
 29                 <Transform DEF='GLOBE_TRANSFORMtranslation='0 1 0'>
 30 
                    <!-- 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'/>
 31                      <Shape>
 32                           <Appearance>
 33                                <ImageTexture   url=' "fire.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/fire.jpg " '/>
 34 
                              <!-- ROUTE information for FIRE_TEXTURETRANSFORM node:  [from TEXTURE_SPIN_INTERPOLATOR.value_changed to set_rotation ] -->
                              <TextureTransform DEF='FIRE_TEXTURETRANSFORM'/>
 35                           </Appearance>
 36                           <Sphere radius='0.2'/>
 37                      </Shape>
 38                      <Viewpoint description='hello orbposition='0 0 3'/>
 39 
                    <!-- 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'/>
 40 
                    <!-- 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'/>
 41 
                    <!-- 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'/>
 42                 </Transform>
 43                 <Shape>
 44 
                    <!-- Appearance WHITE is a DEF node that has 1 USE node: USE_1 -->
                    <Appearance DEF='WHITE'>
 45                           <Material diffuseColor='0.5 0.5 0.5emissiveColor='0.1 0.1 0.1'/>
 46                      </Appearance>
 47                      <IndexedFaceSet coordIndex='0 1 4 -1 1 2 4 -1 2 3 4 -1 3 0 4 -1'>
 48                           <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'/>
 49                      </IndexedFaceSet>
 50                 </Shape>
 51                 <Transform translation='0 0.015 0'>
 52                      <Shape>
 53                           <Appearance USE='WHITE'/>
 54                           <Box size='0.4 0.03 0.4'/>
 55                      </Shape>
 56                 </Transform>
 57            </Group>
 58            < ROUTE  fromNode='SPINCLOCK' fromField='fraction_changed' toNode='TEXTURE_SPIN_INTERPOLATOR' toField='set_fraction'/>
 59            < ROUTE  fromNode='TEXTURE_SPIN_INTERPOLATOR' fromField='value_changed' toNode='FIRE_TEXTURETRANSFORM' toField='set_rotation'/>
 60            < ROUTE  fromNode='SPINCLOCK' fromField='fraction_changed' toNode='LIGHT_INTENSITY_TWEAKER' toField='set_fraction'/>
 61            < ROUTE  fromNode='LIGHT_INTENSITY_TWEAKER' fromField='value_changed' toNode='GLOBELIGHT' toField='set_intensity'/>
 62       </Scene>
 63  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: FIRE_TEXTURETRANSFORM, GLOBE_TRANSFORM, GLOBELIGHT, LIGHT_INTENSITY_TWEAKER, SPINCLOCK, TEXTURE_SPIN_INTERPOLATOR, VAULT, WHITE

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Box, Coordinate, ElevationGrid, Group, head, ImageTexture, IndexedFaceSet, Inline, Material, meta, PointLight, ROUTE, ScalarInterpolator, Scene, Shape, Sphere, TextureTransform, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

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