| 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=' LightingAlternatives.x3d '/> |
| 6 | <meta name='description' content='Lighting alternatives for best rendering the cathedral.'/> |
| 7 | <meta name='creator' content='Michele Foti and Don Brutzman'/> |
| 8 | <meta name='created' content='19 March 2012'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='reference' content=' TODO.html '/> |
| 11 | <meta name='reference' content='http://www.sancarloscathedral.net'/> |
| 12 | <meta name='reference' content=' RoyalPresidioChapelHistoricalReferences.pdf '/> |
| 13 | <meta name='reference' content=' CulturalHeritageProjectSanCarlosCathedral.pdf '/> |
| 14 | <meta name='reference' content='originals/'/> |
| 15 | <meta name=' warning ' content=' under development '/> |
| 16 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/SanCarlosCathedral/LightingAlternatives.x3d '/> |
| 17 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 18 | <meta name='license' content='../license.html'/> |
| 19 | </head> |
| 20 | <!-- Index for DEF nodes: DirectionalLights, LightSwitch, Spotlights --> |
| 21 | <Scene> |
| 22 | <!-- Note that turning off initial NavigationInfo headlight for WALK mode (interior viewing) must occur in parent scene, SanCarlosCathedral.x3d --> |
| 23 | <WorldInfo title='LightingAlternatives.x3d'/> |
| 24 |
<!-- ROUTE information for LightSwitch node:
[from Sequenc0.value_changed to whichChoice
]
[from Sequenc1.value_changed to whichChoice
]
[from Sequenc2.value_changed to whichChoice
]
[from Sequenc3.value_changed to whichChoice
]
[from Sequenc4.value_changed to whichChoice
]
[from Sequenc5.value_changed to whichChoice
]
[from Sequenc6.value_changed to whichChoice
]
[from Sequenc7.value_changed to whichChoice
]
[from Sequenc8.value_changed to whichChoice
]
[from Sequenc9.value_changed to whichChoice
]
-->
<Switch DEF='LightSwitch' whichChoice='0'> |
| 25 | <Group DEF='AlternativeLight1'> |
| 26 | <!-- Spotlights from windows (left side) --> |
| 27 | <SpotLight ambientIntensity='0.2' color='0.4 0.4 0.4' cutOffAngle='1' direction='20 1 -40' intensity='0.2' location='-6 1 -35'/> |
| 28 | <SpotLight ambientIntensity='0.2' color='0.4 0.4 0.4' cutOffAngle='1' direction='20 1 -30' intensity='0.2' location='1.7 1 -25.4'/> |
| 29 | <SpotLight ambientIntensity='0.2' color='0.7 0.7 0.7' cutOffAngle='1' direction='20 1 -20' intensity='0.4' location='1.7 1 -17'/> |
| 30 | </Group> |
| 31 | <Group DEF='AlternativeLight2'> |
| 32 | <!-- DirectionalLights. They don't seem to work when child of a group node --> |
| 33 | <DirectionalLight color='0.4 0.4 0.4' direction='-20 1 0'/> |
| 34 | <DirectionalLight color='0.4 0.4 0.4' direction='20 1 0'/> |
| 35 | <DirectionalLight color='0.4 0.4 0.4' direction='0 1 20'/> |
| 36 | <DirectionalLight color='0.4 0.4 0.4' direction='0 1 -60'/> |
| 37 | </Group> |
| 38 | <Group DEF='AlternativeLight3'> |
| 39 | <!-- Spotlights from windows (left side). It simulates a "First morning beam" --> |
| 40 | <DirectionalLight color='0.5 0.5 0.5' direction='20 1 30' intensity='0.5'/> |
| 41 | <DirectionalLight color='0.5 0.5 0.5' direction='-20 1 30' intensity='0.5'/> |
| 42 | <SpotLight ambientIntensity='0.4' beamWidth='1.5' cutOffAngle='1' direction='20 1 -50' location='-6 1 -35' radius='10'/> |
| 43 | <SpotLight ambientIntensity='0.4' beamWidth='1.5' cutOffAngle='1' direction='20 1 -40' location='1.7 1 -25.4' radius='10'/> |
| 44 | <SpotLight ambientIntensity='0.4' beamWidth='1.5' cutOffAngle='1' direction='20 1 -57' location='1.7 1 -17' radius='10'/> |
| 45 | </Group> |
| 46 | <Group DEF='AlternativeLight4'> |
| 47 | <!-- Spotlights from windows (left side). It simulates a "Morning Light" --> |
| 48 | <DirectionalLight color='0.6 0.6 0.6' direction='20 1 -30' intensity='0.6'/> |
| 49 | <DirectionalLight color='0.6 0.6 0.6' direction='-20 1 -30' intensity='0.6'/> |
| 50 | <SpotLight ambientIntensity='0.2' color='0.4 0.4 0.4' cutOffAngle='1' direction='20 1 -40' intensity='0.6' location='-6 1 -35' radius='10'/> |
| 51 | <SpotLight ambientIntensity='0.2' color='0.4 0.4 0.4' cutOffAngle='1' direction='20 1 -30' intensity='0.6' location='1.7 1 -25.4' radius='10'/> |
| 52 | <SpotLight ambientIntensity='0.2' beamWidth='1' color='0.6 0.6 0.6' cutOffAngle='1' direction='20 1 -20' intensity='0.6' location='1.7 1 -17' radius='10'/> |
| 53 | </Group> |
| 54 | <Group DEF='AlternativeLight5'> |
| 55 | <!-- PointLights from chandeliers, simulating artificial light --> |
| 56 | <PointLight DEF='Point1' color='0.8 0.8 0.8' intensity='0.8' location='5.8 2.4 -11.5' radius='12.5'/> |
| 57 | <PointLight DEF='Point2' color='0.8 0.8 0.8' intensity='0.8' location='5.8 2.4 -23' radius='12.5'/> |
| 58 | <PointLight DEF='Point3' color='0.8 0.8 0.8' intensity='0.8' location='-1.4 2.4 -34.5' radius='12.5'/> |
| 59 | <PointLight DEF='Point4' color='0.8 0.8 0.8' intensity='0.8' location='13 2.4 -34.5' radius='12.5'/> |
| 60 | <PointLight DEF='Point5' color='0.8 0.8 0.8' intensity='0.8' location='5.8 2.4 -34.5' radius='12.5'/> |
| 61 | <PointLight DEF='Point6' color='0.8 0.8 0.8' intensity='0.8' location='5.8 1 -1' radius='12.5'/> |
| 62 | <PointLight DEF='Point7' color='0.8 0.8 0.8' intensity='0.8' location='5.8 1 -5' radius='12.5'/> |
| 63 | </Group> |
| 64 | <Group DEF='AlternativeLight6'> |
| 65 | <!-- PointLights from chandeliers, simulating artificial light. Tested with HeadLight ON --> |
| 66 | <PointLight DEF='Point1a' color='0.5 0.5 0.5' intensity='0.5' location='5.8 2.4 -11.5' radius='8'/> |
| 67 | <PointLight DEF='Point2a' color='0.5 0.5 0.5' intensity='0.5' location='5.8 2.4 -23' radius='8'/> |
| 68 | <PointLight DEF='Point3a' color='0.5 0.5 0.5' intensity='0.5' location='-1.4 2.4 -34.5' radius='8'/> |
| 69 | <PointLight DEF='Point4a' color='0.5 0.5 0.5' intensity='0.5' location='13 2.4 -34.5' radius='8'/> |
| 70 | <PointLight DEF='Point5a' color='0.5 0.5 0.5' intensity='0.5' location='5.8 2.4 -34.5' radius='8'/> |
| 71 | <PointLight DEF='Point6a' color='0.5 0.5 0.5' intensity='0.5' location='5.8 1 -1' radius='8'/> |
| 72 | <PointLight DEF='Point7a' color='0.5 0.5 0.5' intensity='0.5' location='5.8 1 -5' radius='8'/> |
| 73 | </Group> |
| 74 | <Group DEF='AlternativeLight7'> |
| 75 | <!-- PointLights from windows (left side). Simulating sunlight --> |
| 76 | <PointLight intensity='0.5' location='-6 1 -35'/> |
| 77 | <PointLight color='0.1 0.1 0.1' intensity='0.05' location='1.7 1 -25.4' radius='10'/> |
| 78 | <PointLight ambientIntensity='0.4' color='0.5 0.5 0.5' intensity='0.7' location='1.7 1 -17' radius='10'/> |
| 79 | <PointLight ambientIntensity='0.4' color='0.5 0.5 0.5' intensity='0.8' location='1.7 1 -7.5' radius='10'/> |
| 80 | </Group> |
| 81 | <Group DEF='AlternativeLight8'> |
| 82 | <!-- PointLights from windows (left side). Simulating sunlight. Changing Radius Changes the "Intensity" --> |
| 83 | <PointLight ambientIntensity='0.2' color='0.4 0.4 0.4' intensity='0.2' location='-6 1 -35' radius='30'/> |
| 84 | <PointLight ambientIntensity='0.2' color='0.4 0.4 0.4' intensity='0.2' location='1.7 1 -25.4' radius='30'/> |
| 85 | <PointLight ambientIntensity='0.4' color='0.7 0.7 0.7' intensity='0.4' location='1.7 1 -17' radius='30'/> |
| 86 | <PointLight ambientIntensity='0.4' color='0.7 0.7 0.7' intensity='0.4' location='1.7 1 -7.5' radius='30'/> |
| 87 | </Group> |
| 88 | <Group DEF='AlternativeLight9'> |
| 89 | <!-- PointLights from windows (both sides, six windows). Good inside navigation. --> |
| 90 | <PointLight ambientIntensity='0.6' color='0.5 0.5 0.5' intensity='0.6' location='1.7 1 -25.4' radius='30'/> |
| 91 | <PointLight ambientIntensity='0.3' color='0.7 0.7 0.7' intensity='0.3' location='1.7 1 -17' radius='10'/> |
| 92 | <PointLight ambientIntensity='0.01' color='0.4 0.4 0.4' intensity='0.01' location='1.7 1 -7.5' radius='5'/> |
| 93 | <PointLight ambientIntensity='0.6' color='0.5 0.5 0.5' intensity='0.6' location='9 1 -25.4' radius='30'/> |
| 94 | <PointLight ambientIntensity='0.3' color='0.7 0.7 0.7' intensity='0.3' location='9 1 -17' radius='10'/> |
| 95 | <PointLight ambientIntensity='0.01' color='0.1 0.1 0.1' intensity='0.01' location='9 1 -7.5' radius='5'/> |
| 96 | </Group> |
| 97 | <Group DEF='AlternativeLight10'> |
| 98 | <!-- PointLights from windows (left side). Good inside navigation, but the light is too uniform on one side --> |
| 99 | <PointLight ambientIntensity='0.2' color='0.4 0.4 0.4' intensity='0.2' location='-6 1 -35'/> |
| 100 | <PointLight ambientIntensity='0.2' color='0.4 0.4 0.4' intensity='0.2' location='1.7 1 -25.4'/> |
| 101 | <PointLight ambientIntensity='0.4' color='0.7 0.7 0.7' intensity='0.4' location='1.7 1 -17'/> |
| 102 | <PointLight ambientIntensity='0.4' color='0.7 0.7 0.7' intensity='0.4' location='1.7 1 -7.5'/> |
| 103 | </Group> |
| 104 | </Switch> |
| 105 | <Transform DEF='Maintch' translation='2 2.4 -16.75'> |
| 106 |
<!-- ROUTE information for touch node:
[from touchTime to time.startTime
]
-->
<TouchSensor DEF='touch' description='Click here to start'/> |
| 107 | <Shape> |
| 108 | <Sphere/> |
| 109 | <Appearance> |
| 110 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 111 | </Appearance> |
| 112 | </Shape> |
| 113 | </Transform> |
| 114 |
<!-- ROUTE information for maintouch node:
[from Sequenc.value_changed to translation
]
-->
<Transform DEF='maintouch' translation='0 -5 0'> |
| 115 | <Transform DEF='tch0' translation='3 1.7 -15.525'> |
| 116 | <Transform DEF='tex0' translation='-0.15 -0.05 0.2'> |
| 117 | <Shape> |
| 118 | <Text string='"Light1"'> |
| 119 | |
| 120 | </Text> |
| 121 | <Appearance> |
| 122 | <Material diffuseColor='1 1 1'/> |
| 123 | </Appearance> |
| 124 | </Shape> |
| 125 | </Transform> |
| 126 | <Transform DEF='tex02' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 127 | <Shape> |
| 128 | <Text string='"Light1"'> |
| 129 | <FontStyle USE='TextFontStyle'/> |
| 130 | </Text> |
| 131 | <Appearance> |
| 132 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 133 | </Appearance> |
| 134 | </Shape> |
| 135 | </Transform> |
| 136 |
<!-- ROUTE information for touch0 node:
[from touchTime to time0.startTime
]
-->
<TouchSensor DEF='touch0' description='Click here to start'/> |
| 137 | <Shape> |
| 138 | <Sphere radius='0.2'/> |
| 139 | <Appearance> |
| 140 | <Material diffuseColor='1 0 1'/> |
| 141 | </Appearance> |
| 142 | </Shape> |
| 143 | </Transform> |
| 144 | <Transform DEF='tch1' translation='3.5 1.7 -15.525'> |
| 145 | <Transform DEF='tex1' translation='-0.15 -0.05 0.2'> |
| 146 | <Shape> |
| 147 | <Text string='"Light2"'> |
| 148 | <FontStyle USE='TextFontStyle'/> |
| 149 | </Text> |
| 150 | <Appearance> |
| 151 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 152 | </Appearance> |
| 153 | </Shape> |
| 154 | </Transform> |
| 155 | <Transform DEF='tex12' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 156 | <Shape> |
| 157 | <Text string='"Light2"'> |
| 158 | <FontStyle USE='TextFontStyle'/> |
| 159 | </Text> |
| 160 | <Appearance> |
| 161 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 162 | </Appearance> |
| 163 | </Shape> |
| 164 | </Transform> |
| 165 |
<!-- ROUTE information for touch1 node:
[from touchTime to time1.startTime
]
-->
<TouchSensor DEF='touch1' description='Click here to start'/> |
| 166 | <Shape> |
| 167 | <Sphere radius='0.2'/> |
| 168 | <Appearance> |
| 169 | <Material diffuseColor='1 0 1'/> |
| 170 | </Appearance> |
| 171 | </Shape> |
| 172 | </Transform> |
| 173 | <Transform DEF='tch2' translation='4 1.7 -15.525'> |
| 174 | <Transform DEF='tex2' translation='-0.15 -0.05 0.2'> |
| 175 | <Shape> |
| 176 | <Text string='"Light3"'> |
| 177 | <FontStyle USE='TextFontStyle'/> |
| 178 | </Text> |
| 179 | <Appearance> |
| 180 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 181 | </Appearance> |
| 182 | </Shape> |
| 183 | </Transform> |
| 184 | <Transform DEF='tex22' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 185 | <Shape> |
| 186 | <Text string='"Light3"'> |
| 187 | <FontStyle USE='TextFontStyle'/> |
| 188 | </Text> |
| 189 | <Appearance> |
| 190 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 191 | </Appearance> |
| 192 | </Shape> |
| 193 | </Transform> |
| 194 |
<!-- ROUTE information for touch2 node:
[from touchTime to time2.startTime
]
-->
<TouchSensor DEF='touch2' description='Click here to start'/> |
| 195 | <Shape> |
| 196 | <Sphere radius='0.2'/> |
| 197 | <Appearance> |
| 198 | <Material diffuseColor='1 0 1'/> |
| 199 | </Appearance> |
| 200 | </Shape> |
| 201 | </Transform> |
| 202 | <Transform DEF='tch3' translation='4.5 1.7 -15.525'> |
| 203 | <Transform DEF='tex3' translation='-0.15 -0.05 0.2'> |
| 204 | <Shape> |
| 205 | <Text string='"Light4"'> |
| 206 | <FontStyle USE='TextFontStyle'/> |
| 207 | </Text> |
| 208 | <Appearance> |
| 209 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 210 | </Appearance> |
| 211 | </Shape> |
| 212 | </Transform> |
| 213 | <Transform DEF='tex32' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 214 | <Shape> |
| 215 | <Text string='"Light4"'> |
| 216 | <FontStyle USE='TextFontStyle'/> |
| 217 | </Text> |
| 218 | <Appearance> |
| 219 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 220 | </Appearance> |
| 221 | </Shape> |
| 222 | </Transform> |
| 223 |
<!-- ROUTE information for touch3 node:
[from touchTime to time3.startTime
]
-->
<TouchSensor DEF='touch3' description='Click here to start'/> |
| 224 | <Shape> |
| 225 | <Sphere radius='0.2'/> |
| 226 | <Appearance> |
| 227 | <Material diffuseColor='1 0 1'/> |
| 228 | </Appearance> |
| 229 | </Shape> |
| 230 | </Transform> |
| 231 | <Transform DEF='tch4' translation='5 1.7 -15.525'> |
| 232 | <Transform DEF='tex4' translation='-0.15 -0.05 0.2'> |
| 233 | <Shape> |
| 234 | <Text string='"Light5"'> |
| 235 | <FontStyle USE='TextFontStyle'/> |
| 236 | </Text> |
| 237 | <Appearance> |
| 238 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 239 | </Appearance> |
| 240 | </Shape> |
| 241 | </Transform> |
| 242 | <Transform DEF='tex42' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 243 | <Shape> |
| 244 | <Text string='"Light5"'> |
| 245 | <FontStyle USE='TextFontStyle'/> |
| 246 | </Text> |
| 247 | <Appearance> |
| 248 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 249 | </Appearance> |
| 250 | </Shape> |
| 251 | </Transform> |
| 252 |
<!-- ROUTE information for touch4 node:
[from touchTime to time4.startTime
]
-->
<TouchSensor DEF='touch4' description='Click here to start'/> |
| 253 | <Shape> |
| 254 | <Sphere radius='0.2'/> |
| 255 | <Appearance> |
| 256 | <Material diffuseColor='1 0 1'/> |
| 257 | </Appearance> |
| 258 | </Shape> |
| 259 | </Transform> |
| 260 | <Transform DEF='tch5' translation='5.5 1.7 -15.525'> |
| 261 | <Transform DEF='tex5' translation='-0.15 -0.05 0.2'> |
| 262 | <Shape> |
| 263 | <Text string='"Light6"'> |
| 264 | <FontStyle USE='TextFontStyle'/> |
| 265 | </Text> |
| 266 | <Appearance> |
| 267 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 268 | </Appearance> |
| 269 | </Shape> |
| 270 | </Transform> |
| 271 | <Transform DEF='tex52' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 272 | <Shape> |
| 273 | <Text string='"Light6"'> |
| 274 | <FontStyle USE='TextFontStyle'/> |
| 275 | </Text> |
| 276 | <Appearance> |
| 277 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 278 | </Appearance> |
| 279 | </Shape> |
| 280 | </Transform> |
| 281 |
<!-- ROUTE information for touch5 node:
[from touchTime to time5.startTime
]
-->
<TouchSensor DEF='touch5' description='Click here to start'/> |
| 282 | <Shape> |
| 283 | <Sphere radius='0.2'/> |
| 284 | <Appearance> |
| 285 | <Material diffuseColor='1 0 1'/> |
| 286 | </Appearance> |
| 287 | </Shape> |
| 288 | </Transform> |
| 289 | <Transform DEF='tch6' translation='6 1.7 -15.525'> |
| 290 | <Transform DEF='tex6' translation='-0.15 -0.05 0.2'> |
| 291 | <Shape> |
| 292 | <Text string='"Light7"'> |
| 293 | <FontStyle USE='TextFontStyle'/> |
| 294 | </Text> |
| 295 | <Appearance> |
| 296 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 297 | </Appearance> |
| 298 | </Shape> |
| 299 | </Transform> |
| 300 | <Transform DEF='tex62' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 301 | <Shape> |
| 302 | <Text string='"Light7"'> |
| 303 | <FontStyle USE='TextFontStyle'/> |
| 304 | </Text> |
| 305 | <Appearance> |
| 306 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 307 | </Appearance> |
| 308 | </Shape> |
| 309 | </Transform> |
| 310 |
<!-- ROUTE information for touch6 node:
[from touchTime to time6.startTime
]
-->
<TouchSensor DEF='touch6' description='Click here to start'/> |
| 311 | <Shape> |
| 312 | <Sphere radius='0.2'/> |
| 313 | <Appearance> |
| 314 | <Material diffuseColor='1 0 1'/> |
| 315 | </Appearance> |
| 316 | </Shape> |
| 317 | </Transform> |
| 318 | <Transform DEF='tch7' translation='6.5 1.7 -15.525'> |
| 319 | <Transform DEF='tex7' translation='-0.15 -0.05 0.2'> |
| 320 | <Shape> |
| 321 | <Text string='"Light8"'> |
| 322 | <FontStyle USE='TextFontStyle'/> |
| 323 | </Text> |
| 324 | <Appearance> |
| 325 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 326 | </Appearance> |
| 327 | </Shape> |
| 328 | </Transform> |
| 329 | <Transform DEF='tex72' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 330 | <Shape> |
| 331 | <Text string='"Light8"'> |
| 332 | <FontStyle USE='TextFontStyle'/> |
| 333 | </Text> |
| 334 | <Appearance> |
| 335 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 336 | </Appearance> |
| 337 | </Shape> |
| 338 | </Transform> |
| 339 |
<!-- ROUTE information for touch7 node:
[from touchTime to time7.startTime
]
-->
<TouchSensor DEF='touch7' description='Click here to start'/> |
| 340 | <Shape> |
| 341 | <Sphere radius='0.2'/> |
| 342 | <Appearance> |
| 343 | <Material diffuseColor='1 0 1'/> |
| 344 | </Appearance> |
| 345 | </Shape> |
| 346 | </Transform> |
| 347 | <Transform DEF='tch8' translation='7 1.7 -15.525'> |
| 348 | <Transform DEF='tex8' translation='-0.15 -0.05 0.2'> |
| 349 | <Shape> |
| 350 | <Text string='"Light9"'> |
| 351 | <FontStyle USE='TextFontStyle'/> |
| 352 | </Text> |
| 353 | <Appearance> |
| 354 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 355 | </Appearance> |
| 356 | </Shape> |
| 357 | </Transform> |
| 358 | <Transform DEF='tex82' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 359 | <Shape> |
| 360 | <Text string='"Light9"'> |
| 361 | <FontStyle USE='TextFontStyle'/> |
| 362 | </Text> |
| 363 | <Appearance> |
| 364 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 365 | </Appearance> |
| 366 | </Shape> |
| 367 | </Transform> |
| 368 |
<!-- ROUTE information for touch8 node:
[from touchTime to time8.startTime
]
-->
<TouchSensor DEF='touch8' description='Click here to start'/> |
| 369 | <Shape> |
| 370 | <Sphere radius='0.2'/> |
| 371 | <Appearance> |
| 372 | <Material diffuseColor='1 0 1'/> |
| 373 | </Appearance> |
| 374 | </Shape> |
| 375 | </Transform> |
| 376 | <Transform DEF='tch9' translation='7.5 1.7 -15.525'> |
| 377 | <Transform DEF='tex9' translation='-0.15 -0.05 0.2'> |
| 378 | <Shape> |
| 379 | <Text string='"Light10"'> |
| 380 | <FontStyle USE='TextFontStyle'/> |
| 381 | </Text> |
| 382 | <Appearance> |
| 383 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 384 | </Appearance> |
| 385 | </Shape> |
| 386 | </Transform> |
| 387 | <Transform DEF='tex92' rotation='0 1 0 3.14' translation='0.15 -0.05 -0.2'> |
| 388 | <Shape> |
| 389 | <Text string='"Light10"'> |
| 390 | <FontStyle USE='TextFontStyle'/> |
| 391 | </Text> |
| 392 | <Appearance> |
| 393 | <Material diffuseColor='1 1 1' transparency='1'/> |
| 394 | </Appearance> |
| 395 | </Shape> |
| 396 | </Transform> |
| 397 |
<!-- ROUTE information for touch9 node:
[from touchTime to time9.startTime
]
-->
<TouchSensor DEF='touch9' description='Click here to start'/> |
| 398 | <Shape> |
| 399 | <Sphere radius='0.2'/> |
| 400 | <Appearance> |
| 401 | <Material diffuseColor='1 0 1'/> |
| 402 | </Appearance> |
| 403 | </Shape> |
| 404 | </Transform> |
| 405 | </Transform> |
| 406 |
<!-- ROUTE information for time node:
[from touch.touchTime to startTime
]
[from fraction_changed to Sequenc.set_fraction
]
-->
<TimeSensor DEF='time' cycleInterval='15'/> |
| 407 |
<!-- ROUTE information for time0 node:
[from touch0.touchTime to startTime
]
[from fraction_changed to Sequenc0.set_fraction
]
-->
<TimeSensor DEF='time0'/> |
| 408 |
<!-- ROUTE information for time1 node:
[from touch1.touchTime to startTime
]
[from fraction_changed to Sequenc1.set_fraction
]
-->
<TimeSensor DEF='time1'/> |
| 409 |
<!-- ROUTE information for time2 node:
[from touch2.touchTime to startTime
]
[from fraction_changed to Sequenc2.set_fraction
]
-->
<TimeSensor DEF='time2'/> |
| 410 |
<!-- ROUTE information for time3 node:
[from touch3.touchTime to startTime
]
[from fraction_changed to Sequenc3.set_fraction
]
-->
<TimeSensor DEF='time3'/> |
| 411 |
<!-- ROUTE information for time4 node:
[from touch4.touchTime to startTime
]
[from fraction_changed to Sequenc4.set_fraction
]
-->
<TimeSensor DEF='time4'/> |
| 412 |
<!-- ROUTE information for time5 node:
[from touch5.touchTime to startTime
]
[from fraction_changed to Sequenc5.set_fraction
]
-->
<TimeSensor DEF='time5'/> |
| 413 |
<!-- ROUTE information for time6 node:
[from touch6.touchTime to startTime
]
[from fraction_changed to Sequenc6.set_fraction
]
-->
<TimeSensor DEF='time6'/> |
| 414 |
<!-- ROUTE information for time7 node:
[from touch7.touchTime to startTime
]
[from fraction_changed to Sequenc7.set_fraction
]
-->
<TimeSensor DEF='time7'/> |
| 415 |
<!-- ROUTE information for time8 node:
[from touch8.touchTime to startTime
]
[from fraction_changed to Sequenc8.set_fraction
]
-->
<TimeSensor DEF='time8'/> |
| 416 |
<!-- ROUTE information for time9 node:
[from touch9.touchTime to startTime
]
[from fraction_changed to Sequenc9.set_fraction
]
-->
<TimeSensor DEF='time9'/> |
| 417 | < ROUTE fromNode='touch' fromField='touchTime' toNode='time' toField='startTime'/> |
| 418 | < ROUTE fromNode='touch0' fromField='touchTime' toNode='time0' toField='startTime'/> |
| 419 | < ROUTE fromNode='touch1' fromField='touchTime' toNode='time1' toField='startTime'/> |
| 420 | < ROUTE fromNode='touch2' fromField='touchTime' toNode='time2' toField='startTime'/> |
| 421 | < ROUTE fromNode='touch3' fromField='touchTime' toNode='time3' toField='startTime'/> |
| 422 | < ROUTE fromNode='touch4' fromField='touchTime' toNode='time4' toField='startTime'/> |
| 423 | < ROUTE fromNode='touch5' fromField='touchTime' toNode='time5' toField='startTime'/> |
| 424 | < ROUTE fromNode='touch6' fromField='touchTime' toNode='time6' toField='startTime'/> |
| 425 | < ROUTE fromNode='touch7' fromField='touchTime' toNode='time7' toField='startTime'/> |
| 426 | < ROUTE fromNode='touch8' fromField='touchTime' toNode='time8' toField='startTime'/> |
| 427 | < ROUTE fromNode='touch9' fromField='touchTime' toNode='time9' toField='startTime'/> |
| 428 |
<!-- ROUTE information for Sequenc node:
[from time.fraction_changed to set_fraction
]
[from value_changed to maintouch.translation
]
-->
<PositionInterpolator DEF='Sequenc' key='0 0.01 0.99 1' keyValue='0 -5 0 0 0 0 0 0 0 0 -5 0'/> |
| 429 |
<!-- ROUTE information for Sequenc0 node:
[from time0.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc0' key='0 1' keyValue='0 0'/> |
| 430 |
<!-- ROUTE information for Sequenc1 node:
[from time1.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc1' key='0 1' keyValue='0 1'/> |
| 431 |
<!-- ROUTE information for Sequenc2 node:
[from time2.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc2' key='0 1' keyValue='0 2'/> |
| 432 |
<!-- ROUTE information for Sequenc3 node:
[from time3.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc3' key='0 1' keyValue='0 3'/> |
| 433 |
<!-- ROUTE information for Sequenc4 node:
[from time4.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc4' key='0 1' keyValue='0 4'/> |
| 434 |
<!-- ROUTE information for Sequenc5 node:
[from time5.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc5' key='0 1' keyValue='0 5'/> |
| 435 |
<!-- ROUTE information for Sequenc6 node:
[from time6.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc6' key='0 1' keyValue='0 6'/> |
| 436 |
<!-- ROUTE information for Sequenc7 node:
[from time7.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc7' key='0 1' keyValue='0 7'/> |
| 437 |
<!-- ROUTE information for Sequenc8 node:
[from time8.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc8' key='0 1' keyValue='0 8'/> |
| 438 |
<!-- ROUTE information for Sequenc9 node:
[from time9.fraction_changed to set_fraction
]
[from value_changed to LightSwitch.whichChoice
]
-->
<IntegerSequencer DEF='Sequenc9' key='0 1' keyValue='0 9'/> |
| 439 | < ROUTE fromNode='time' fromField='fraction_changed' toNode='Sequenc' toField='set_fraction'/> |
| 440 | < ROUTE fromNode='time0' fromField='fraction_changed' toNode='Sequenc0' toField='set_fraction'/> |
| 441 | < ROUTE fromNode='time1' fromField='fraction_changed' toNode='Sequenc1' toField='set_fraction'/> |
| 442 | < ROUTE fromNode='time2' fromField='fraction_changed' toNode='Sequenc2' toField='set_fraction'/> |
| 443 | < ROUTE fromNode='time3' fromField='fraction_changed' toNode='Sequenc3' toField='set_fraction'/> |
| 444 | < ROUTE fromNode='time4' fromField='fraction_changed' toNode='Sequenc4' toField='set_fraction'/> |
| 445 | < ROUTE fromNode='time5' fromField='fraction_changed' toNode='Sequenc5' toField='set_fraction'/> |
| 446 | < ROUTE fromNode='time6' fromField='fraction_changed' toNode='Sequenc6' toField='set_fraction'/> |
| 447 | < ROUTE fromNode='time7' fromField='fraction_changed' toNode='Sequenc7' toField='set_fraction'/> |
| 448 | < ROUTE fromNode='time8' fromField='fraction_changed' toNode='Sequenc8' toField='set_fraction'/> |
| 449 | < ROUTE fromNode='time9' fromField='fraction_changed' toNode='Sequenc9' toField='set_fraction'/> |
| 450 | < ROUTE fromNode='Sequenc' fromField='value_changed' toNode='maintouch' toField='translation'/> |
| 451 | < ROUTE fromNode='Sequenc0' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 452 | < ROUTE fromNode='Sequenc1' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 453 | < ROUTE fromNode='Sequenc2' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 454 | < ROUTE fromNode='Sequenc3' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 455 | < ROUTE fromNode='Sequenc4' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 456 | < ROUTE fromNode='Sequenc5' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 457 | < ROUTE fromNode='Sequenc6' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 458 | < ROUTE fromNode='Sequenc7' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 459 | < ROUTE fromNode='Sequenc8' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 460 | < ROUTE fromNode='Sequenc9' fromField='value_changed' toNode='LightSwitch' toField='whichChoice'/> |
| 461 | </Scene> |
| 462 | </X3D> |
Event Graph ROUTE Table entries with 33 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.
|
touch
TouchSensor touchTime SFTime |
time
TimeSensor startTime SFTime |
then
|
time
TimeSensor fraction_changed SFFloat |
Sequenc
PositionInterpolator set_fraction SFFloat |
then
|
Sequenc
PositionInterpolator value_changed SFVec3f |
maintouch
Transform translation SFVec3f |
|
touch0
TouchSensor touchTime SFTime |
time0
TimeSensor startTime SFTime |
then
|
time0
TimeSensor fraction_changed SFFloat |
Sequenc0
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc0
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch1
TouchSensor touchTime SFTime |
time1
TimeSensor startTime SFTime |
then
|
time1
TimeSensor fraction_changed SFFloat |
Sequenc1
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc1
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch2
TouchSensor touchTime SFTime |
time2
TimeSensor startTime SFTime |
then
|
time2
TimeSensor fraction_changed SFFloat |
Sequenc2
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc2
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch3
TouchSensor touchTime SFTime |
time3
TimeSensor startTime SFTime |
then
|
time3
TimeSensor fraction_changed SFFloat |
Sequenc3
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc3
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch4
TouchSensor touchTime SFTime |
time4
TimeSensor startTime SFTime |
then
|
time4
TimeSensor fraction_changed SFFloat |
Sequenc4
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc4
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch5
TouchSensor touchTime SFTime |
time5
TimeSensor startTime SFTime |
then
|
time5
TimeSensor fraction_changed SFFloat |
Sequenc5
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc5
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch6
TouchSensor touchTime SFTime |
time6
TimeSensor startTime SFTime |
then
|
time6
TimeSensor fraction_changed SFFloat |
Sequenc6
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc6
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch7
TouchSensor touchTime SFTime |
time7
TimeSensor startTime SFTime |
then
|
time7
TimeSensor fraction_changed SFFloat |
Sequenc7
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc7
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch8
TouchSensor touchTime SFTime |
time8
TimeSensor startTime SFTime |
then
|
time8
TimeSensor fraction_changed SFFloat |
Sequenc8
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc8
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
|
touch9
TouchSensor touchTime SFTime |
time9
TimeSensor startTime SFTime |
then
|
time9
TimeSensor fraction_changed SFFloat |
Sequenc9
IntegerSequencer set_fraction SFFloat |
then
|
Sequenc9
IntegerSequencer value_changed SFInt32 |
LightSwitch
Switch whichChoice SFInt32 |
<!--
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.
-->