X3D Model Documentation: LightsAndTurnSignals.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
  3  <X3D profile='Immersive' version='3.1 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  4       <head>
  5            <meta name='titlecontent=' LightsAndTurnSignals.x3d '/>
  6            <meta name='descriptioncontent='Turn signal lights, break lights, and head lights with beams for black midsize truck Turn signals blink and break lights stay on for a short period of time after being touched'/>
  7            <meta name='creatorcontent='Donald Coomes'/>
  8            <meta name='createdcontent='9 September 2006'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='subjectcontent='ground vehicle'/>
 11            <meta name='generatorcontent='X3D-Edit, Winds3d, and Flux Studio'/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Truck/LightsAndTurnSignals.x3d '/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BreakClock, BreakColor1, BreakColor2, BreakLights, BreakSensor, ColorINT, ColorINT2, ColorINT3, ColorINT4, FrntLftTurnSignal, FrntRtTurnSignal, HeadLights, Import_LightBeams_wrl, LftYellow2, LightBeams, Lights, RearLftTurnSignal, RearRtTurnSignal, Red, TurnClock, TurnClock2, TurnSensor, TurnSensor2, WhiteLight, Yellow2
-->
 15       <Scene>
 16            <WorldInfo title='LightsAndTurnSignals.x3d'/>
 17            <Transform DEF='HeadLights'>
 18                 <Shape>
 19                      <Appearance>
 20                           <Material DEF='LightsdiffuseColor='1 1 1transparency='.1'/>
 21                      </Appearance>
 22                      <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='2 1 17 -1 2 17 16 -1 2 16 7 -1 2 7 3 -1 1 0 19 -1 1 19 18 -1 1 18 17 -1 19 0 4 -1 1 5 27 -1 1 27 50 -1 1 50 51 -1 1 46 45 -1 1 45 26 -1 1 26 5 -1 2 6 25 -1 2 25 47 -1 2 47 48 -1 2 41 40 -1 2 40 24 -1 2 24 6 -1 4 5 35 -1 4 35 77 -1 4 77 78 -1 4 53 52 -1 4 52 27 -1 4 27 5 -1 5 6 34 -1 5 34 33 -1 5 18 80 -1 5 80 79 -1 5 79 35 -1 5 26 25 -1 5 25 6 -1 5 33 75 -1 5 75 76 -1 5 76 18 -1 6 7 69 -1 6 69 68 -1 6 68 32 -1 6 17 74 -1 6 74 73 -1 6 73 34 -1 6 24 43 -1 6 43 44 -1 6 44 7 -1 6 32 71 -1 6 71 72 -1 6 72 17 -1 20 21 10 -1 10 21 22 -1 10 22 11 -1 11 22 23 -1 11 23 15 -1 9 8 12 -1 9 12 20 -1 9 20 10 -1 9 13 28 -1 9 28 55 -1 9 55 56 -1 9 60 59 -1 9 59 30 -1 9 30 13 -1 10 14 29 -1 10 29 61 -1 10 61 62 -1 10 64 63 -1 10 63 31 -1 10 31 14 -1 12 13 36 -1 12 36 82 -1 12 82 83 -1 12 58 57 -1 12 57 28 -1 12 28 13 -1 13 14 38 -1 13 38 37 -1 13 21 85 -1 13 85 84 -1 13 84 36 -1 13 30 29 -1 13 29 14 -1 13 37 89 -1 13 89 90 -1 13 90 21 -1 14 15 92 -1 14 92 91 -1 14 91 39 -1 14 22 88 -1 14 88 87 -1 14 87 38 -1 14 31 66 -1 14 66 67 -1 14 67 15 -1 14 39 94 -1 14 94 95 -1 14 95 22 -1 24 40 103 -1 24 103 43 -1 25 26 45 -1 25 45 47 -1 27 52 98 -1 27 98 50 -1 28 57 100 -1 28 100 55 -1 29 30 59 -1 29 59 61 -1 31 63 96 -1 31 96 66 -1 32 68 99 -1 32 99 71 -1 33 34 73 -1 33 73 75 -1 35 79 101 -1 35 101 77 -1 36 84 97 -1 36 97 82 -1 37 38 87 -1 37 87 89 -1 39 91 102 -1 39 102 94 -1 40 41 42 -1 40 42 103 -1 42 44 43 -1 42 43 103 -1 45 46 48 -1 45 48 47 -1 49 51 50 -1 49 50 98 -1 49 98 52 -1 49 52 53 -1 54 56 55 -1 54 55 100 -1 54 100 57 -1 54 57 58 -1 59 60 62 -1 59 62 61 -1 63 64 65 -1 63 65 96 -1 65 67 66 -1 65 66 96 -1 68 69 70 -1 68 70 99 -1 70 72 71 -1 70 71 99 -1 73 74 76 -1 73 76 75 -1 77 101 81 -1 77 81 78 -1 79 80 81 -1 79 81 101 -1 82 97 86 -1 82 86 83 -1 84 85 86 -1 84 86 97 -1 87 88 90 -1 87 90 89 -1 91 92 93 -1 91 93 102 -1 93 95 94 -1 93 94 102 -1'>
 23                           <Coordinate point='1.40063 .1272 3.41801 1.56541 .1272 3.40094 1.73019 .1272 3.39198 1.89497 .1272 3.37918 1.38745 .3816 3.41801 1.53904 .3816 3.40094 1.69064 .3816 3.39198 1.84224 .3816 3.37918 -1.89497 .1272 3.37918 -1.73019 .1272 3.39198 -1.56541 .1272 3.40094 -1.40063 .1272 3.41801 -1.84224 .3816 3.37918 -1.69064 .3816 3.39198 -1.53904 .3816 3.40094 -1.38745 .3816 3.41801 1.70822 .44566 3.35642 1.59012 .44566 3.37491 1.47203 .44566 3.38956 1.41893 .44566 3.41232 -1.70822 .44566 3.35642 -1.59012 .44566 3.37491 -1.47203 .44566 3.38956 -1.39727 .44566 3.41232 1.69064 .3816 3.41119 1.69064 .3816 3.41119 1.53904 .3816 3.42015 1.53904 .3816 3.42015 -1.69064 .3816 3.41119 -1.53904 .3816 3.42015 -1.69064 .3816 3.41119 -1.53904 .3816 3.42015 1.69064 .3816 3.41119 1.53904 .3816 3.42015 1.69064 .3816 3.41119 1.53904 .3816 3.42015 -1.69064 .3816 3.41119 -1.69064 .3816 3.41119 -1.53904 .3816 3.42015 -1.53904 .3816 3.42015 1.72724 .14618 3.41119 1.73019 .1272 3.39198 1.89497 .1272 3.37918 1.8231 .3816 3.4 1.84224 .3816 3.37918 1.56343 .1463 3.42015 1.56541 .1272 3.40094 1.72724 .14618 3.41119 1.73019 .1272 3.39198 1.40063 .1272 3.41801 1.56343 .1463 3.42015 1.56541 .1272 3.40094 1.40653 .3816 3.43506 1.38745 .3816 3.41801 -1.89497 .1272 3.37918 -1.72724 .14618 3.41119 -1.73019 .1272 3.39198 -1.8231 .3816 3.4 -1.84224 .3816 3.37918 -1.72724 .14618 3.41119 -1.73019 .1272 3.39198 -1.56343 .1463 3.42015 -1.56541 .1272 3.40094 -1.56343 .1463 3.42015 -1.56541 .1272 3.40094 -1.40063 .1272 3.41801 -1.40653 .3816 3.43506 -1.38745 .3816 3.41801 1.8231 .3816 3.4 1.84224 .3816 3.37918 1.70822 .44566 3.35642 1.60616 .43544 3.39684 1.59012 .44566 3.37491 1.60616 .43544 3.39684 1.59012 .44566 3.37491 1.48581 .43249 3.41111 1.47203 .44566 3.38956 1.40653 .3816 3.43506 1.38745 .3816 3.41801 1.48581 .43249 3.41111 1.47203 .44566 3.38956 1.41893 .44566 3.41232 -1.8231 .3816 3.4 -1.84224 .3816 3.37918 -1.60616 .43544 3.39684 -1.59012 .44566 3.37491 -1.70822 .44566 3.35642 -1.48581 .43249 3.41111 -1.47203 .44566 3.38956 -1.60616 .43544 3.39684 -1.59012 .44566 3.37491 -1.40653 .3816 3.43506 -1.38745 .3816 3.41801 -1.39727 .44566 3.41232 -1.48581 .43249 3.41111 -1.47203 .44566 3.38956 -1.41875 .14641 3.4351 -1.70435 .42853 3.38504 1.41875 .14641 3.4351 1.70435 .42853 3.38504 -1.87144 .14641 3.40001 1.43137 .42722 3.43256 -1.414 .42725 3.43248 1.87144 .14641 3.40001'/>
 24                      </IndexedFaceSet>
 25                 </Shape>
 26            </Transform>
 27            <Transform DEF='RearLftTurnSignal'>
 28                 <Shape>
 29                      <Appearance>
 30 
                         <!-- Material LftYellow2 is a DEF node that has 1 USE node: USE_1
                         <!-- ROUTE information for LftYellow2 node:  [from ColorINT.value_changed to set_diffuseColor ] [from ColorINT2.value_changed to set_emissiveColor ] -->
                         <Material DEF='LftYellow2diffuseColor='.8 .8 0emissiveColor='.1 .1 0transparency='.1'/>
 31                      </Appearance>
 32                      <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='0 1 19 -1 0 19 18 -1 0 18 16 -1 0 16 17 -1 7 6 5 -1 5 6 4 -1 5 4 2 -1 2 4 3 -1 2 3 0 -1 0 3 1 -1 0 17 23 -1 0 23 2 -1 1 3 21 -1 1 21 19 -1 2 3 11 -1 2 11 10 -1 2 10 8 -1 2 8 9 -1 2 9 15 -1 2 15 5 -1 2 23 22 -1 2 22 20 -1 2 20 21 -1 2 21 3 -1 3 4 13 -1 3 13 11 -1 4 5 15 -1 4 15 14 -1 4 14 12 -1 4 12 13 -1 4 6 28 -1 4 28 27 -1 4 27 26 -1 4 26 24 -1 4 24 25 -1 4 25 5 -1 5 25 29 -1 5 29 7 -1 6 7 29 -1 6 29 28 -1 8 10 12 -1 8 12 14 -1 8 14 15 -1 8 15 9 -1 10 11 13 -1 10 13 12 -1 16 18 20 -1 16 20 22 -1 16 22 23 -1 16 23 17 -1 18 19 21 -1 18 21 20 -1 24 26 30 -1 24 30 31 -1 24 31 29 -1 24 29 25 -1 26 27 28 -1 26 28 30 -1 28 29 31 -1 28 31 30 -1'>
 33                           <Coordinate point='2.0619 .19755 -5.99651 2.06346 .07163 -5.99651 2.00167 .19755 -6.1023 2.00277 .07163 -6.1012 1.9182 .07161 -6.18577 1.9171 .19753 -6.18687 1.77705 .07161 -6.20161 1.77549 .19753 -6.20161 2.00173 .19048 -6.1391 2.00167 .19755 -6.12048 2.00271 .07869 -6.13813 2.00277 .07163 -6.11938 1.91814 .07868 -6.22269 1.9182 .07161 -6.20395 1.91716 .19047 -6.22367 1.9171 .19753 -6.20505 2.06199 .19048 -6.03338 2.0619 .19755 -6.01469 2.06337 .07869 -6.03338 2.06346 .07163 -6.01469 2.00271 .07869 -6.13813 2.00277 .07163 -6.11938 2.00173 .19048 -6.1391 2.00167 .19755 -6.12048 1.91716 .19047 -6.22367 1.9171 .19753 -6.20505 1.91814 .07868 -6.22269 1.9182 .07161 -6.20395 1.77705 .07161 -6.21979 1.77549 .19753 -6.21979 1.79554 .07868 -6.2365 1.79415 .19047 -6.23644'/>
 34                      </IndexedFaceSet>
 35                 </Shape>
 36 
               <!-- ROUTE information for TurnClock node:  [from TurnSensor.isOver to set_enabled ] [from fraction_changed to ColorINT.set_fraction ] [from fraction_changed to ColorINT2.set_fraction ] -->
               <TimeSensor DEF='TurnClockcycleInterval='1.5enabled='falseloop='true'/>
 37 
               <!-- ROUTE information for TurnSensor node:  [from isOver to TurnClock.set_enabled ] -->
               <TouchSensor DEF='TurnSensordescription='Touch to signal left turn'/>
 38 
               <!-- ROUTE information for ColorINT node:  [from TurnClock.fraction_changed to set_fraction ] [from value_changed to LftYellow2.set_diffuseColor ] -->
               <ColorInterpolator DEF='ColorINTkey='0 .35 .65 1keyValue='.8 .8 0 1 1 0 1 1 0 .8 .8 0'/>
 39 
               <!-- ROUTE information for ColorINT2 node:  [from TurnClock.fraction_changed to set_fraction ] [from value_changed to LftYellow2.set_emissiveColor ] -->
               <ColorInterpolator DEF='ColorINT2key='0 .35 .65 1keyValue='.1 .1 0 1 1 0 1 1 0 .1 .1 0'/>
 40                 <Transform DEF='FrntLftTurnSignaltranslation='.017 0 0'>
 41                      <Shape>
 42                           <Appearance>
 43                                <Material USE='LftYellow2'/>
 44                           </Appearance>
 45                           <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='0 1 10 -1 0 10 9 -1 0 9 7 -1 0 7 8 -1 0 4 16 -1 0 16 15 -1 0 5 2 -1 0 2 1 -1 0 1 3 -1 0 3 4 -1 0 8 6 -1 0 6 5 -1 0 15 14 -1 0 14 12 -1 0 12 13 -1 0 13 1 -1 1 2 11 -1 1 11 10 -1 1 13 17 -1 1 17 3 -1 2 5 6 -1 2 6 11 -1 3 17 16 -1 3 16 4 -1 6 8 7 -1 6 7 21 -1 6 21 20 -1 6 20 11 -1 7 9 20 -1 7 20 21 -1 9 10 11 -1 9 11 20 -1 12 14 18 -1 12 18 19 -1 12 19 17 -1 12 17 13 -1 14 15 16 -1 14 16 18 -1 16 17 19 -1 16 19 18 -1'>
 46                                <Coordinate point='1.91009 .38481 3.36193 2.05975 .1272 3.36789 2.05975 .22896 3.17858 1.89497 .1272 3.37856 1.84224 .3816 3.37856 1.9716 .39263 3.25271 1.9716 .39263 3.26347 1.91495 .37644 3.38255 1.91009 .38481 3.37268 2.05489 .13556 3.38813 2.05975 .1272 3.37864 2.05975 .22896 3.18933 2.05489 .13556 3.38813 2.05975 .1272 3.37864 1.91495 .37644 3.38255 1.91009 .38481 3.37268 1.84224 .3816 3.38931 1.89497 .1272 3.38931 1.85396 .37255 3.39814 1.90274 .13684 3.39752 2.05392 .23155 3.2106 1.97339 .38388 3.27979'/>
 47                           </IndexedFaceSet>
 48                      </Shape>
 49                 </Transform>
 50            </Transform>
 51            <Transform>
 52                 <Shape DEF='BreakLights'>
 53                      <Appearance>
 54 
                         <!-- ROUTE information for Red node:  [from BreakColor1.value_changed to set_diffuseColor ] [from BreakColor2.value_changed to set_emissiveColor ] -->
                         <Material DEF='ReddiffuseColor='.7 0 0'/>
 55                      </Appearance>
 56                      <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='0 1 43 -1 0 43 42 -1 0 42 40 -1 0 40 41 -1 15 14 11 -1 11 14 10 -1 11 10 8 -1 8 10 9 -1 8 9 0 -1 0 9 1 -1 0 41 47 -1 0 47 8 -1 1 9 45 -1 1 45 43 -1 2 3 27 -1 2 27 26 -1 2 26 24 -1 2 24 25 -1 3 2 7 -1 7 2 6 -1 7 6 4 -1 4 6 5 -1 4 5 12 -1 12 5 13 -1 2 25 31 -1 2 31 6 -1 3 7 29 -1 3 29 27 -1 4 5 19 -1 4 19 18 -1 4 18 16 -1 4 16 17 -1 4 12 52 -1 4 52 51 -1 4 17 23 -1 4 23 7 -1 4 51 50 -1 4 50 48 -1 4 48 49 -1 4 49 5 -1 5 6 21 -1 5 21 19 -1 5 49 53 -1 5 53 13 -1 6 7 23 -1 6 23 22 -1 6 22 20 -1 6 20 21 -1 6 31 30 -1 6 30 28 -1 6 28 29 -1 6 29 7 -1 8 9 35 -1 8 35 34 -1 8 34 32 -1 8 32 33 -1 8 33 39 -1 8 39 11 -1 8 47 46 -1 8 46 44 -1 8 44 45 -1 8 45 9 -1 9 10 37 -1 9 37 35 -1 10 11 39 -1 10 39 38 -1 10 38 36 -1 10 36 37 -1 10 14 58 -1 10 58 57 -1 10 57 56 -1 10 56 54 -1 10 54 55 -1 10 55 11 -1 11 55 59 -1 11 59 15 -1 12 13 53 -1 12 53 52 -1 14 15 59 -1 14 59 58 -1 16 18 20 -1 16 20 22 -1 16 22 23 -1 16 23 17 -1 18 19 21 -1 18 21 20 -1 24 26 28 -1 24 28 30 -1 24 30 31 -1 24 31 25 -1 26 27 29 -1 26 29 28 -1 32 34 36 -1 32 36 38 -1 32 38 39 -1 32 39 33 -1 34 35 37 -1 34 37 36 -1 40 42 44 -1 40 44 46 -1 40 46 47 -1 40 47 41 -1 42 43 45 -1 42 45 44 -1 48 50 62 -1 48 62 63 -1 48 63 53 -1 48 53 49 -1 50 51 52 -1 50 52 62 -1 52 53 63 -1 52 63 62 -1 54 56 60 -1 54 60 61 -1 54 61 59 -1 54 59 55 -1 56 57 58 -1 56 58 60 -1 58 59 61 -1 58 61 60 -1'>
 57                           <Coordinate point='2.0619 .53766 -5.99651 2.06346 .20454 -5.99651 -2.05603 .19962 -5.99651 -2.05759 .53274 -5.99651 -1.90925 .53278 -6.16734 -1.90816 .19966 -6.16844 -1.99273 .19962 -6.08387 -1.99383 .53274 -6.08277 2.00167 .53766 -6.1023 2.00277 .20454 -6.1012 1.9182 .2045 -6.18577 1.9171 .53763 -6.18687 -1.76349 .53278 -6.18318 -1.76504 .19966 -6.18318 1.77705 .2045 -6.20161 1.77549 .53763 -6.20161 -1.90919 .51409 -6.20426 -1.90925 .53278 -6.18552 -1.90822 .21834 -6.20524 -1.90816 .19966 -6.18661 -1.99279 .2183 -6.12067 -1.99273 .19962 -6.10205 -1.99377 .51405 -6.1197 -1.99383 .53274 -6.10095 -2.05612 .2183 -6.03338 -2.05603 .19962 -6.01469 -2.0575 .51405 -6.03338 -2.05759 .53274 -6.01469 -1.99377 .51405 -6.1197 -1.99383 .53274 -6.10095 -1.99279 .2183 -6.12067 -1.99273 .19962 -6.10205 2.00173 .51898 -6.1391 2.00167 .53766 -6.12048 2.00271 .22323 -6.13813 2.00277 .20454 -6.11938 1.91814 .22319 -6.22269 1.9182 .2045 -6.20395 1.91716 .51894 -6.22367 1.9171 .53763 -6.20505 2.06199 .51898 -6.03338 2.0619 .53766 -6.01469 2.06337 .22323 -6.03338 2.06346 .20454 -6.01469 2.00271 .22323 -6.13813 2.00277 .20454 -6.11938 2.00173 .51898 -6.1391 2.00167 .53766 -6.12048 -1.90822 .21834 -6.20524 -1.90816 .19966 -6.18661 -1.90919 .51409 -6.20426 -1.90925 .53278 -6.18552 -1.76349 .53278 -6.20136 -1.76504 .19966 -6.20136 1.91716 .51894 -6.22367 1.9171 .53763 -6.20505 1.91814 .22319 -6.22269 1.9182 .2045 -6.20395 1.77705 .2045 -6.21979 1.77549 .53763 -6.21979 1.79554 .22319 -6.2365 1.79415 .51894 -6.23644 -1.78216 .51409 -6.2181 -1.78353 .21834 -6.21806'/>
 58                      </IndexedFaceSet>
 59                 </Shape>
 60 
               <!-- ROUTE information for BreakClock node:  [from BreakSensor.touchTime to startTime ] [from fraction_changed to BreakColor1.set_fraction ] [from fraction_changed to BreakColor2.set_fraction ] -->
               <TimeSensor DEF='BreakClockcycleInterval='10'/>
 61 
               <!-- ROUTE information for BreakSensor node:  [from touchTime to BreakClock.startTime ] -->
               <TouchSensor DEF='BreakSensordescription='Touch to turn on break lights for a few seconds'/>
 62 
               <!-- ROUTE information for BreakColor1 node:  [from BreakClock.fraction_changed to set_fraction ] [from value_changed to Red.set_diffuseColor ] -->
               <ColorInterpolator DEF='BreakColor1key='0 .1 .9 1keyValue='.7 0 0 1 0 0 1 0 0 .7 0 0'/>
 63 
               <!-- ROUTE information for BreakColor2 node:  [from BreakClock.fraction_changed to set_fraction ] [from value_changed to Red.set_emissiveColor ] -->
               <ColorInterpolator DEF='BreakColor2key='0 .1 .9 1keyValue='.1 0 0 1 0 0 1 0 0 .1 0 0'/>
 64            </Transform>
 65            <Transform DEF='LightBeams'>
 66                 <Group DEF='Import_LightBeams_wrl'>
 67                      <Transform>
 68                           <Shape>
 69                                <Appearance>
 70 
                                   <!-- Material WhiteLight is a DEF node that has 1 USE node: USE_1 -->
                                   <Material DEF='WhiteLightambientIntensity='1diffuseColor='1 1 1transparency='.6'/>
 71                                </Appearance>
 72                                <IndexedFaceSet creaseAngle='0.524coordIndex='0 1 17 -1 0 17 16 -1 0 15 14 -1 0 14 13 -1 0 13 12 -1 0 12 11 -1 0 11 10 -1 0 10 9 -1 0 9 8 -1 0 8 7 -1 0 7 6 -1 0 6 5 -1 0 5 4 -1 0 4 3 -1 0 3 2 -1 0 2 1 -1 0 16 31 -1 0 31 15 -1 1 2 18 -1 1 18 17 -1 2 3 19 -1 2 19 18 -1 3 4 20 -1 3 20 19 -1 4 5 21 -1 4 21 20 -1 5 6 22 -1 5 22 21 -1 6 7 23 -1 6 23 22 -1 7 8 24 -1 7 24 23 -1 8 9 25 -1 8 25 24 -1 9 10 26 -1 9 26 25 -1 10 11 27 -1 10 27 26 -1 11 12 28 -1 11 28 27 -1 12 13 29 -1 12 29 28 -1 13 14 30 -1 13 30 29 -1 14 15 31 -1 14 31 30 -1 16 17 18 -1 16 18 19 -1 16 19 20 -1 16 20 21 -1 16 21 22 -1 16 22 23 -1 16 23 24 -1 16 24 25 -1 16 25 26 -1 16 26 27 -1 16 27 28 -1 16 28 29 -1 16 29 30 -1 16 30 31 -1'>
 73                                     <Coordinate point='1.82312 .22638 3.40709 1.83295 .28461 3.407 1.81135 .34233 3.40707 1.76159 .39078 3.40729 1.69126 .42257 3.40763 1.61105 .43285 3.40804 1.53319 .42008 3.40845 1.46952 .38618 3.40881 1.42974 .33633 3.40905 1.41991 .2781 3.40914 1.44151 .22038 3.40907 1.49127 .17193 3.40885 1.56161 .14014 3.40851 1.64181 .12986 3.4081 1.71967 .14263 3.40769 1.78334 .17653 3.40733 4.68027 -1.51061 40.7018 4.83764 -.57903 40.7003 4.49195 .34463 40.7014 3.69584 1.11975 40.7049 2.57049 1.62834 40.7104 1.28723 1.79295 40.7169 .04143 1.58854 40.7235 -.97725 1.04622 40.7292 -1.61372 .24855 40.7331 -1.7711 -.68303 40.7346 -1.42541 -1.60669 40.7335 -.62929 -2.38182 40.73 .49606 -2.8904 40.7245 1.77931 -3.05502 40.718 3.02511 -2.8506 40.7113 4.04379 -2.30828 40.7057'/>
 74                                </IndexedFaceSet>
 75                           </Shape>
 76                           <Shape>
 77                                <Appearance>
 78                                     <Material USE='WhiteLight'/>
 79                                </Appearance>
 80                                <IndexedFaceSet creaseAngle='0.524coordIndex='0 1 17 -1 0 17 16 -1 0 15 14 -1 0 14 13 -1 0 13 12 -1 0 12 11 -1 0 11 10 -1 0 10 9 -1 0 9 8 -1 0 8 7 -1 0 7 6 -1 0 6 5 -1 0 5 4 -1 0 4 3 -1 0 3 2 -1 0 2 1 -1 0 16 31 -1 0 31 15 -1 1 2 18 -1 1 18 17 -1 2 3 19 -1 2 19 18 -1 3 4 20 -1 3 20 19 -1 4 5 21 -1 4 21 20 -1 5 6 22 -1 5 22 21 -1 6 7 23 -1 6 23 22 -1 7 8 24 -1 7 24 23 -1 8 9 25 -1 8 25 24 -1 9 10 26 -1 9 26 25 -1 10 11 27 -1 10 27 26 -1 11 12 28 -1 11 28 27 -1 12 13 29 -1 12 29 28 -1 13 14 30 -1 13 30 29 -1 14 15 31 -1 14 31 30 -1 16 17 18 -1 16 18 19 -1 16 19 20 -1 16 20 21 -1 16 21 22 -1 16 22 23 -1 16 23 24 -1 16 24 25 -1 16 25 26 -1 16 26 27 -1 16 27 28 -1 16 28 29 -1 16 29 30 -1 16 30 31 -1'>
 81                                     <Coordinate point='-1.43536 .22638 3.40709 -1.42552 .28461 3.407 -1.44713 .34233 3.40707 -1.49689 .39078 3.40729 -1.56722 .42257 3.40763 -1.64742 .43285 3.40804 -1.72529 .42008 3.40845 -1.78895 .38618 3.40881 -1.82873 .33633 3.40905 -1.83857 .2781 3.40914 -1.81696 .22038 3.40907 -1.76721 .17193 3.40885 -1.69687 .14014 3.40851 -1.61667 .12986 3.4081 -1.53881 .14263 3.40769 -1.47514 .17653 3.40733 1.42179 -1.51061 40.7018 1.57916 -.57903 40.7003 1.23348 .34463 40.7014 .43736 1.11975 40.7049 -.68799 1.62834 40.7104 -1.97125 1.79295 40.7169 -3.21705 1.58854 40.7235 -4.23572 1.04622 40.7292 -4.8722 .24855 40.7331 -5.02958 -.68303 40.7346 -4.68389 -1.60669 40.7335 -3.88777 -2.38182 40.73 -2.76242 -2.8904 40.7245 -1.47917 -3.05502 40.718 -.23337 -2.8506 40.7113 .78531 -2.30828 40.7057'/>
 82                                </IndexedFaceSet>
 83                           </Shape>
 84                      </Transform>
 85                 </Group>
 86            </Transform>
 87            <Transform DEF='FrntRtTurnSignaltranslation='-.017 0 0'>
 88                 <Shape>
 89                      <Appearance>
 90 
                         <!-- Material Yellow2 is a DEF node that has 1 USE node: USE_1
                         <!-- ROUTE information for Yellow2 node:  [from ColorINT3.value_changed to set_diffuseColor ] [from ColorINT4.value_changed to set_emissiveColor ] -->
                         <Material DEF='Yellow2diffuseColor='.8 .8 0emissiveColor='.1 .1 0transparency='.1'/>
 91                      </Appearance>
 92                      <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='0 1 13 -1 0 13 12 -1 0 12 16 -1 0 16 17 -1 0 2 5 -1 0 5 1 -1 0 1 4 -1 0 4 3 -1 0 3 10 -1 0 10 9 -1 0 9 8 -1 0 8 6 -1 0 6 7 -1 0 7 1 -1 0 17 15 -1 0 15 2 -1 1 5 14 -1 1 14 13 -1 1 7 11 -1 1 11 4 -1 2 15 14 -1 2 14 5 -1 3 4 11 -1 3 11 10 -1 6 8 20 -1 6 20 21 -1 6 21 11 -1 6 11 7 -1 8 9 10 -1 8 10 20 -1 10 11 21 -1 10 21 20 -1 12 13 14 -1 12 14 18 -1 12 18 19 -1 12 19 16 -1 14 15 19 -1 14 19 18 -1 15 17 16 -1 15 16 19 -1'>
 93                           <Coordinate point='-2.05975 .1272 3.36789 -1.91009 .38481 3.36193 -2.05975 .22896 3.17858 -1.89497 .1272 3.37856 -1.84224 .3816 3.37856 -1.9716 .39263 3.25271 -1.91495 .37644 3.38255 -1.91009 .38481 3.37268 -2.05489 .13556 3.38813 -2.05975 .1272 3.37864 -1.89497 .1272 3.38931 -1.84224 .3816 3.38931 -1.91495 .37644 3.38255 -1.91009 .38481 3.37268 -1.9716 .39263 3.26347 -2.05975 .22896 3.18933 -2.05489 .13556 3.38813 -2.05975 .1272 3.37864 -1.97339 .38388 3.27979 -2.05392 .23155 3.2106 -1.90274 .13684 3.39752 -1.85396 .37255 3.39814'/>
 94                      </IndexedFaceSet>
 95                 </Shape>
 96 
               <!-- ROUTE information for TurnClock2 node:  [from TurnSensor2.isOver to set_enabled ] [from fraction_changed to ColorINT3.set_fraction ] [from fraction_changed to ColorINT4.set_fraction ] -->
               <TimeSensor DEF='TurnClock2cycleInterval='1.5enabled='falseloop='true'/>
 97 
               <!-- ROUTE information for TurnSensor2 node:  [from isOver to TurnClock2.set_enabled ] -->
               <TouchSensor DEF='TurnSensor2description='Touch to signal right turn'/>
 98 
               <!-- ROUTE information for ColorINT3 node:  [from TurnClock2.fraction_changed to set_fraction ] [from value_changed to Yellow2.set_diffuseColor ] -->
               <ColorInterpolator DEF='ColorINT3key='0 .35 .65 1keyValue='.8 .8 0 1 1 0 1 1 0 .8 .8 0'/>
 99 
               <!-- ROUTE information for ColorINT4 node:  [from TurnClock2.fraction_changed to set_fraction ] [from value_changed to Yellow2.set_emissiveColor ] -->
               <ColorInterpolator DEF='ColorINT4key='0 .35 .65 1keyValue='.1 .1 0 1 1 0 1 1 0 .1 .1 0'/>
100                 <Transform DEF='RearRtTurnSignal'>
101                      <Shape>
102                           <Appearance>
103                                <Material USE='Yellow2'/>
104                           </Appearance>
105                           <IndexedFaceSet creaseAngle='0.524colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1coordIndex='0 1 19 -1 0 19 18 -1 0 18 16 -1 0 16 17 -1 1 0 5 -1 5 0 4 -1 5 4 2 -1 2 4 3 -1 2 3 6 -1 6 3 7 -1 0 17 23 -1 0 23 4 -1 1 5 21 -1 1 21 19 -1 2 3 11 -1 2 11 10 -1 2 10 8 -1 2 8 9 -1 2 6 28 -1 2 28 27 -1 2 9 15 -1 2 15 5 -1 2 27 26 -1 2 26 24 -1 2 24 25 -1 2 25 3 -1 3 4 13 -1 3 13 11 -1 3 25 29 -1 3 29 7 -1 4 5 15 -1 4 15 14 -1 4 14 12 -1 4 12 13 -1 4 23 22 -1 4 22 20 -1 4 20 21 -1 4 21 5 -1 6 7 29 -1 6 29 28 -1 8 10 12 -1 8 12 14 -1 8 14 15 -1 8 15 9 -1 10 11 13 -1 10 13 12 -1 16 18 20 -1 16 20 22 -1 16 22 23 -1 16 23 17 -1 18 19 21 -1 18 21 20 -1 24 26 30 -1 24 30 31 -1 24 31 29 -1 24 29 25 -1 26 27 28 -1 26 28 30 -1 28 29 31 -1 28 31 30 -1'>
106                                <Coordinate point='-2.05603 .06977 -5.99651 -2.05759 .19569 -5.99651 -1.90925 .1957 -6.16734 -1.90816 .06978 -6.16844 -1.99273 .06977 -6.08387 -1.99383 .19569 -6.08277 -1.76349 .1957 -6.18318 -1.76504 .06978 -6.18318 -1.90919 .18864 -6.20426 -1.90925 .1957 -6.18552 -1.90822 .07684 -6.20524 -1.90816 .06978 -6.18661 -1.99279 .07683 -6.12067 -1.99273 .06977 -6.10205 -1.99377 .18862 -6.1197 -1.99383 .19569 -6.10095 -2.05612 .07683 -6.03338 -2.05603 .06977 -6.01469 -2.0575 .18862 -6.03338 -2.05759 .19569 -6.01469 -1.99377 .18862 -6.1197 -1.99383 .19569 -6.10095 -1.99279 .07683 -6.12067 -1.99273 .06977 -6.10205 -1.90822 .07684 -6.20524 -1.90816 .06978 -6.18661 -1.90919 .18864 -6.20426 -1.90925 .1957 -6.18552 -1.76349 .1957 -6.20136 -1.76504 .06978 -6.20136 -1.78216 .18864 -6.2181 -1.78353 .07684 -6.21806'/>
107                           </IndexedFaceSet>
108                      </Shape>
109                 </Transform>
110            </Transform>
111            < ROUTE  fromNode='TurnClock' fromField='fraction_changed' toNode='ColorINT' toField='set_fraction'/>
112            < ROUTE  fromNode='TurnClock' fromField='fraction_changed' toNode='ColorINT2' toField='set_fraction'/>
113            < ROUTE  fromNode='ColorINT' fromField='value_changed' toNode='LftYellow2' toField='set_diffuseColor'/>
114            < ROUTE  fromNode='ColorINT2' fromField='value_changed' toNode='LftYellow2' toField='set_emissiveColor'/>
115            < ROUTE  fromNode='TurnSensor' fromField='isOver' toNode='TurnClock' toField='set_enabled'/>
116            < ROUTE  fromNode='TurnClock2' fromField='fraction_changed' toNode='ColorINT3' toField='set_fraction'/>
117            < ROUTE  fromNode='TurnClock2' fromField='fraction_changed' toNode='ColorINT4' toField='set_fraction'/>
118            < ROUTE  fromNode='ColorINT3' fromField='value_changed' toNode='Yellow2' toField='set_diffuseColor'/>
119            < ROUTE  fromNode='ColorINT4' fromField='value_changed' toNode='Yellow2' toField='set_emissiveColor'/>
120            < ROUTE  fromNode='TurnSensor2' fromField='isOver' toNode='TurnClock2' toField='set_enabled'/>
121            < ROUTE  fromNode='BreakClock' fromField='fraction_changed' toNode='BreakColor1' toField='set_fraction'/>
122            < ROUTE  fromNode='BreakClock' fromField='fraction_changed' toNode='BreakColor2' toField='set_fraction'/>
123            < ROUTE  fromNode='BreakColor1' fromField='value_changed' toNode='Red' toField='set_diffuseColor'/>
124            < ROUTE  fromNode='BreakColor2' fromField='value_changed' toNode='Red' toField='set_emissiveColor'/>
125            < ROUTE  fromNode='BreakSensor' fromField='touchTime' toNode='BreakClock' toField='startTime'/>
126       </Scene>
127  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BreakClock, BreakColor1, BreakColor2, BreakLights, BreakSensor, ColorINT, ColorINT2, ColorINT3, ColorINT4, FrntLftTurnSignal, FrntRtTurnSignal, HeadLights, Import_LightBeams_wrl, LftYellow2, LightBeams, Lights, RearLftTurnSignal, RearRtTurnSignal, Red, TurnClock, TurnClock2, TurnSensor, TurnSensor2, WhiteLight, Yellow2
-->
X3D Tooltips element index: Appearance, ColorInterpolator, Coordinate, Group, head, IndexedFaceSet, Material, meta, ROUTE, Scene, Shape, TimeSensor, TouchSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 15 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.

BreakSensor
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
BreakClock
TimeSensor
startTime
SFTime
then
 
 
 
BreakClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
BreakColor1
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
BreakColor1
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
Red
Material
set_diffuseColor
SFColor
  then
 
 
 
BreakClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
BreakColor2
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
BreakColor2
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
Red
Material
set_emissiveColor
SFColor

TurnSensor
TouchSensor
isOver
SFBool

ROUTE
event to
(1)
TurnClock
TimeSensor
set_enabled
SFBool
then
 
 
 
TurnClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
ColorINT
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
ColorINT
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
LftYellow2
Material
set_diffuseColor
SFColor
  then
 
 
 
TurnClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
ColorINT2
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
ColorINT2
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
LftYellow2
Material
set_emissiveColor
SFColor

TurnSensor2
TouchSensor
isOver
SFBool

ROUTE
event to
(1)
TurnClock2
TimeSensor
set_enabled
SFBool
then
 
 
 
TurnClock2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
ColorINT3
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
ColorINT3
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
Yellow2
Material
set_diffuseColor
SFColor
  then
 
 
 
TurnClock2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
ColorINT4
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
ColorINT4
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(3)
Yellow2
Material
set_emissiveColor
SFColor


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/Savage/GroundVehicles/Truck/LightsAndTurnSignalsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Truck/LightsAndTurnSignals.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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. -->