| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
| 3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' Temple.x3d '/> |
| 6 | <meta name='description' content='Temple of the Glowing Orb: this world creates a glowing rotating orb when the pedestal is touched.'/> |
| 7 | <meta name='creator' content='David R. Nadeau, John L. Moreland, Michael M. Heck'/> |
| 8 | <meta name='translator' content='Don Brutzman'/> |
| 9 | <meta name='created' content='1 July 1998'/> |
| 10 | <meta name='translated' content='2 February 2014'/> |
| 11 | <meta name='modified' content='20 October 2019'/> |
| 12 | <meta name='reference' content='originals/temple.wrl'/> |
| 13 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
| 14 | <meta name='reference' content=' http://www.siggraph.org/s98/conference/courses/18.html '/> |
| 15 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0008.htm '/> |
| 16 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0309.htm '/> |
| 17 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0383.htm '/> |
| 18 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/> |
| 19 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/> |
| 20 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Temple.x3d '/> |
| 21 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 22 | <meta name='generator' content='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 23 | <meta name='license' content='../license.html'/> |
| 24 | </head> |
| 25 | <Scene> |
| 26 | <!-- The orb animations include: --> |
| 27 | <!-- 1. An OrientationInterpolator rotating an inner emissive textured sphere. --> |
| 28 | <!-- 2. An OrientationInterpolator rotating an outer emissive textured semi-transparent sphere. --> |
| 29 | <!-- 3. An OrientationInterpolator rotating a pair of rings, angled at a 45 degree angle. --> |
| 30 | <!-- 4. An OrientationInterpolator rotating a second pair of rings, angled at a 45 degree angle. --> |
| 31 | <!-- A ScalarInterpolator with semi-random floating point keyValue that are routed in to a PointLight, thereby causing a flickering effect. That effect is turned on only after the pedestal has been touched. --> |
| 32 | <WorldInfo info='"Copyright (c) 1997, David R. Nadeau"' title='Temple of the Orb'/> |
| 33 | <Viewpoint description='Entry view' position='0.0 1.6 9.0'/> |
| 34 | <NavigationInfo headlight='false' speed='2.0' type='"WALK" "ANY"'/> |
| 35 | <Background skyAngle='1.371 1.571' skyColor='0.0 0.1 0.2 0.0 0.1 0.3 0.0 0.0 0.0'/> |
| 36 |
<!-- ROUTE information for OrbLight node:
[from OrbLightIntensity.value_changed to set_intensity
]
-->
<PointLight DEF='OrbLight' color='0.3 0.7 1.0' intensity='0.0' location='0.0 2.0 0.0'/> |
| 37 | <DirectionalLight color='1.0 0.5 0.0' direction='1.0 0.1 -0.5'/> |
| 38 | <DirectionalLight color='1.0 0.5 0.0' direction='1.0 0.1 -0.5'/> |
| 39 | <DirectionalLight color='1.0 0.0 0.0' direction='-1.0 -0.4 -0.5'/> |
| 40 | <DirectionalLight color='1.0 0.0 0.0' direction='-1.0 -0.4 -0.5'/> |
| 41 | <Transform translation='0.0 3.64 0.0'> |
| 42 |
<!-- Group
VaultedCeiling is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
<Group DEF='VaultedCeiling'> |
| 43 |
<!-- Inline
Vault is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 --> <Inline DEF='Vault' url=' "vault.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/vault.x3d" "vault.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/vault.wrl" '/> |
| 44 | <Transform rotation='0.0 1.0 0.0 1.57'> |
| 45 | <Inline USE='Vault'/> |
| 46 | </Transform> |
| 47 | <Transform rotation='0.0 1.0 0.0 3.14'> |
| 48 | <Inline USE='Vault'/> |
| 49 | </Transform> |
| 50 | <Transform rotation='0.0 1.0 0.0 -1.57'> |
| 51 | <Inline USE='Vault'/> |
| 52 | </Transform> |
| 53 | </Group> |
| 54 | <Transform translation='-2.0 0.0 0.0'> |
| 55 | <Group USE='VaultedCeiling'/> |
| 56 | </Transform> |
| 57 | <Transform translation='2.0 0.0 0.0'> |
| 58 | <Group USE='VaultedCeiling'/> |
| 59 | </Transform> |
| 60 | <Transform translation='0.0 0.0 -2.0'> |
| 61 | <Group USE='VaultedCeiling'/> |
| 62 | </Transform> |
| 63 | <Transform translation='0.0 0.0 2.0'> |
| 64 | <Group USE='VaultedCeiling'/> |
| 65 | </Transform> |
| 66 | </Transform> |
| 67 | <Transform translation='-3.0 0.0 -1.0'> |
| 68 | |
| 69 | <Inline url=' "column.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/column.x3d" "column.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/column.wrl" '/> |
| 70 | </Transform> |
| 71 | </Transform> |
| 72 | <Transform translation='-1.0 0.0 -1.0'> |
| 73 | <Transform USE='Column'/> |
| 74 | </Transform> |
| 75 | <Transform translation='1.0 0.0 -1.0'> |
| 76 | <Transform USE='Column'/> |
| 77 | </Transform> |
| 78 | <Transform translation='3.0 0.0 -1.0'> |
| 79 | <Transform USE='Column'/> |
| 80 | </Transform> |
| 81 | <Transform translation='-3.0 0.0 1.0'> |
| 82 | <Transform USE='Column'/> |
| 83 | </Transform> |
| 84 | <Transform translation='-1.0 0.0 1.0'> |
| 85 | <Transform USE='Column'/> |
| 86 | </Transform> |
| 87 | <Transform translation='1.0 0.0 1.0'> |
| 88 | <Transform USE='Column'/> |
| 89 | </Transform> |
| 90 | <Transform translation='3.0 0.0 1.0'> |
| 91 | <Transform USE='Column'/> |
| 92 | </Transform> |
| 93 | <Transform translation='-1.0 0.0 -3.0'> |
| 94 | <Transform USE='Column'/> |
| 95 | </Transform> |
| 96 | <Transform translation='-1.0 0.0 3.0'> |
| 97 | <Transform USE='Column'/> |
| 98 | </Transform> |
| 99 | <Transform translation='1.0 0.0 -3.0'> |
| 100 | <Transform USE='Column'/> |
| 101 | </Transform> |
| 102 | <Transform translation='1.0 0.0 3.0'> |
| 103 | <Transform USE='Column'/> |
| 104 | </Transform> |
| 105 | <Transform translation='-11.5 0.0 -11.5'> |
| 106 | <Shape> |
| 107 | <Appearance> |
| 108 | <TextureTransform scale='16.0 16.0'/> |
| 109 | <Material ambientIntensity='0.5' diffuseColor='1.0 1.0 1.0'/> |
| 110 |
<ImageTexture
url=' "stone2.jpg
" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/stone2.jpg
" '/>
|
| 111 | </Appearance> |
| 112 | <ElevationGrid solid='false' xDimension='8' xSpacing='3.0' zDimension='8' zSpacing='3.0' 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'/> |
| 113 | </Shape> |
| 114 | </Transform> |
| 115 | <Collision enabled='false'> |
| 116 |
<!-- ROUTE information for OrbAll node:
[from OrbScaler.value_changed to set_scale
]
-->
<Transform DEF='OrbAll' scale='0.01 0.01 0.01' translation='0.0 1.625 0.0'> |
| 117 | <Transform rotation='0.0 0.0 1.0 0.785'> |
| 118 |
<!-- ROUTE information for RingSet1 node:
[from RingSet1Rotator.value_changed to set_rotation
]
-->
<Transform DEF='RingSet1'> |
| 119 | |
| 120 | |
| 121 | <Appearance> |
| 122 | <Material ambientIntensity='0.0' diffuseColor='0.0 0.0 0.0' emissiveColor='0.0 0.3 0.8' shininess='1.0' specularColor='0.0 0.1 0.1'/> |
| 123 | </Appearance> |
| 124 | <Cylinder bottom='false' height='0.008' radius='0.15' top='false'/> |
| 125 | </Shape> |
| 126 | </Transform> |
| 127 | |
| 128 | <Shape USE='Ring'/> |
| 129 | </Transform> |
| 130 | </Transform> |
| 131 | </Transform> |
| 132 | <Transform rotation='0.0 0.0 1.0 -0.785'> |
| 133 |
<!-- ROUTE information for RingSet2 node:
[from RingSet2Rotator.value_changed to set_rotation
]
-->
<Transform DEF='RingSet2' scale='0.9 0.9 0.9'> |
| 134 | <Transform USE='Ring1'/> |
| 135 | <Transform USE='Ring2'/> |
| 136 | </Transform> |
| 137 | </Transform> |
| 138 |
<!-- ROUTE information for Orb node:
[from OrbRotator.value_changed to set_rotation
]
-->
<Transform DEF='Orb'> |
| 139 | <Shape> |
| 140 | <Appearance> |
| 141 | <TextureTransform scale='2.0 2.0'/> |
| 142 |
<ImageTexture
url=' "brtsky.jpg
" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/brtsky.jpg
" '/>
|
| 143 | </Appearance> |
| 144 | <Sphere radius='0.1'/> |
| 145 | </Shape> |
| 146 | </Transform> |
| 147 | </Transform> |
| 148 | </Collision> |
| 149 | <Transform translation='0.0 1.625 0.0'> |
| 150 |
<!-- ROUTE information for OrbSound node:
[from OrbVolume.value_changed to set_intensity
]
-->
<Sound DEF='OrbSound' intensity='0.0' maxBack='15.0' maxFront='15.0'> |
| 151 |
<!-- ROUTE information for OrbClip node:
[from PedestalTouch.touchTime to set_startTime
]
-->
<AudioClip DEF='OrbClip' startTime='-1.0' url=' "willow1.wav" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/willow1.wav" '/> |
| 152 | </Sound> |
| 153 | </Transform> |
| 154 | <Collision enabled='false'> |
| 155 | <Transform scale='3.25 3.25 3.25' translation='0.0 0.015 0.0'> |
| 156 | <Shape> |
| 157 | <Appearance> |
| 158 |
<!-- Material
GranitMaterial is a DEF node that has 1 USE node: USE_1 --> <Material DEF='GranitMaterial' ambientIntensity='0.0' diffuseColor='0.8 0.8 1.0'/> |
| 159 |
<!-- ImageTexture
GranitTexture is a DEF node that has 1 USE node: USE_1 --> <ImageTexture DEF='GranitTexture' url=' "granit_g.jpg
" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/granit_g.jpg
" '/>
|
| 160 | </Appearance> |
| 161 | <IndexedFaceSet coordIndex='0 1 4 -1 1 2 4 -1 2 3 4 -1 3 0 4 -1' texCoordIndex='0 1 2 -1 0 1 2 -1 0 1 2 -1 0 1 2 -1'> |
| 162 | <TextureCoordinate point='0.0 0.0 1.0 0.0 0.5 1.0'/> |
| 163 | <Coordinate point='-0.06 0.0 0.06 0.06 0.0 0.06 0.06 0.0 -0.06 -0.06 0.0 -0.06 0.0 0.3 0.0'/> |
| 164 | </IndexedFaceSet> |
| 165 | </Shape> |
| 166 |
<!-- ROUTE information for PedestalTouch node:
[from touchTime to OrbScaleTimer.set_startTime
]
[from touchTime to OrbLightTimer.set_startTime
]
[from touchTime to OrbClip.set_startTime
]
[from touchTime to OrbTimer.set_startTime
]
[from touchTime to RingSet1Timer.set_startTime
]
[from touchTime to RingSet2Timer.set_startTime
]
-->
<TouchSensor DEF='PedestalTouch' description='Touch center pedestal to see and hear the orb'/> |
| 167 | </Transform> |
| 168 | <Transform scale='3.25 3.25 3.25' translation='0.0 0.008 0.0'> |
| 169 | <Shape> |
| 170 | <Appearance> |
| 171 | <Material USE='GranitMaterial'/> |
| 172 | <ImageTexture USE='GranitTexture'/> |
| 173 | </Appearance> |
| 174 | <Box size='0.2 0.025 0.2'/> |
| 175 | </Shape> |
| 176 | </Transform> |
| 177 | </Collision> |
| 178 |
<!-- ROUTE information for OrbTimer node:
[from PedestalTouch.touchTime to set_startTime
]
[from fraction_changed to OrbRotator.set_fraction
]
-->
<TimeSensor DEF='OrbTimer' cycleInterval='20.0' loop='true' startTime='-1.0'/> |
| 179 |
<!-- ROUTE information for OrbRotator node:
[from OrbTimer.fraction_changed to set_fraction
]
[from value_changed to Orb.set_rotation
]
-->
<OrientationInterpolator DEF='OrbRotator' key='0.0 0.5 1.0' keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28'/> |
| 180 | < ROUTE fromNode='OrbTimer' fromField='fraction_changed' toNode='OrbRotator' toField='set_fraction'/> |
| 181 | < ROUTE fromNode='OrbRotator' fromField='value_changed' toNode='Orb' toField='set_rotation'/> |
| 182 |
<!-- ROUTE information for RingSet1Timer node:
[from PedestalTouch.touchTime to set_startTime
]
[from fraction_changed to RingSet1Rotator.set_fraction
]
-->
<TimeSensor DEF='RingSet1Timer' cycleInterval='2.0' loop='true' startTime='-1.0'/> |
| 183 |
<!-- ROUTE information for RingSet2Timer node:
[from PedestalTouch.touchTime to set_startTime
]
[from fraction_changed to RingSet2Rotator.set_fraction
]
-->
<TimeSensor DEF='RingSet2Timer' cycleInterval='2.2' loop='true' startTime='-1.0'/> |
| 184 |
<!-- ROUTE information for RingSet1Rotator node:
[from RingSet1Timer.fraction_changed to set_fraction
]
[from value_changed to RingSet1.set_rotation
]
-->
<OrientationInterpolator DEF='RingSet1Rotator' key='0.0 0.5 1.0' keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 -3.14 0.0 1.0 0.0 -6.28'/> |
| 185 | < ROUTE fromNode='RingSet1Timer' fromField='fraction_changed' toNode='RingSet1Rotator' toField='set_fraction'/> |
| 186 | < ROUTE fromNode='RingSet1Rotator' fromField='value_changed' toNode='RingSet1' toField='set_rotation'/> |
| 187 |
<!-- ROUTE information for RingSet2Rotator node:
[from RingSet2Timer.fraction_changed to set_fraction
]
[from value_changed to RingSet2.set_rotation
]
-->
<OrientationInterpolator DEF='RingSet2Rotator' key='0.0 0.5 1.0' keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28'/> |
| 188 | < ROUTE fromNode='RingSet2Timer' fromField='fraction_changed' toNode='RingSet2Rotator' toField='set_fraction'/> |
| 189 | < ROUTE fromNode='RingSet2Rotator' fromField='value_changed' toNode='RingSet2' toField='set_rotation'/> |
| 190 |
<!-- ROUTE information for OrbLightTimer node:
[from PedestalTouch.touchTime to set_startTime
]
[from fraction_changed to OrbLightIntensity.set_fraction
]
-->
<TimeSensor DEF='OrbLightTimer' cycleInterval='12.0' startTime='-1.0'/> |
| 191 |
<!-- ROUTE information for OrbLightIntensity node:
[from OrbLightTimer.fraction_changed to set_fraction
]
[from value_changed to OrbLight.set_intensity
]
-->
<ScalarInterpolator DEF='OrbLightIntensity' key='0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0' keyValue='0.0 0.5 0.7 1.0 0.9 0.8 1.0 0.9 0.9 0.5 0.0'/> |
| 192 | < ROUTE fromNode='OrbLightTimer' fromField='fraction_changed' toNode='OrbLightIntensity' toField='set_fraction'/> |
| 193 | < ROUTE fromNode='OrbLightIntensity' fromField='value_changed' toNode='OrbLight' toField='set_intensity'/> |
| 194 |
<!-- ROUTE information for OrbScaleTimer node:
[from PedestalTouch.touchTime to set_startTime
]
[from fraction_changed to OrbScaler.set_fraction
]
[from fraction_changed to OrbVolume.set_fraction
]
-->
<TimeSensor DEF='OrbScaleTimer' cycleInterval='12.0' startTime='-1.0'/> |
| 195 |
<!-- ROUTE information for OrbScaler node:
[from OrbScaleTimer.fraction_changed to set_fraction
]
[from value_changed to OrbAll.set_scale
]
-->
<PositionInterpolator DEF='OrbScaler' key='0.0 0.3 0.9 1.0' keyValue='0.001 0.001 0.001 3.25 3.25 3.25 3.25 3.25 3.25 0.001 0.001 0.001'/> |
| 196 |
<!-- ROUTE information for OrbVolume node:
[from OrbScaleTimer.fraction_changed to set_fraction
]
[from value_changed to OrbSound.set_intensity
]
-->
<ScalarInterpolator DEF='OrbVolume' key='0.0 0.3 0.9 1.0' keyValue='0.0 1.0 1.0 0.0'/> |
| 197 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='OrbScaleTimer' toField='set_startTime'/> |
| 198 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='OrbLightTimer' toField='set_startTime'/> |
| 199 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='OrbClip' toField='set_startTime'/> |
| 200 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='OrbTimer' toField='set_startTime'/> |
| 201 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='RingSet1Timer' toField='set_startTime'/> |
| 202 | < ROUTE fromNode='PedestalTouch' fromField='touchTime' toNode='RingSet2Timer' toField='set_startTime'/> |
| 203 | < ROUTE fromNode='OrbScaleTimer' fromField='fraction_changed' toNode='OrbScaler' toField='set_fraction'/> |
| 204 | < ROUTE fromNode='OrbScaleTimer' fromField='fraction_changed' toNode='OrbVolume' toField='set_fraction'/> |
| 205 | < ROUTE fromNode='OrbScaler' fromField='value_changed' toNode='OrbAll' toField='set_scale'/> |
| 206 | < ROUTE fromNode='OrbVolume' fromField='value_changed' toNode='OrbSound' toField='set_intensity'/> |
| 207 | </Scene> |
| 208 | </X3D> |
Event Graph ROUTE Table entries with 18 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.
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->