<
Background groundColor='
0.2 0.2 0.2'
skyColor='
0.2 0.2 0.2'
transparency='
0'/>
<
Viewpoint description='
Road sign switcher, 6m away'
position='
0 0 6'
retainUserOffsets='
false'/>
<
Shape DEF='
Frame'>
<!-- Box framee scaled to be wider, taller and thinner than Box holding image -->
<
Box size='
3.5 2.7 0.05'/>
<
Appearance>
<
Material ambientIntensity='
0'
diffuseColor='
0 0 0'
emissiveColor='
1 0.442751 0'
shininess='
0.05102'
specularColor='
0.475676 0.475676 0.475676'>
<!-- Universal Media Library: Neon 13 -->
</
Material>
</
Appearance>
</
Shape>
<!-- Modify the whichChoice value in this Switch to 0, 1, 2 or 3 to see the various versions of the model. Select whichChoice= -1 to show nothing. -->
<!--
Switch ROUTE:
[
from Sequencer.value_changed to whichChoice
]
-->
<
Switch DEF='
Switch'
whichChoice='
0'>
<!-- whichChoice values are 0, 1, 2, 3 for these four children -->
<
Shape>
<!-- Box size scaled to match aspect ratio of original images -->
<
Box DEF='
SignHolder'
size='
3.072 2.304 0.1'/>
<
Appearance>
</
Appearance>
</
Shape>
<
Shape>
<
Box USE='
SignHolder'/>
<
Appearance>
</
Appearance>
</
Shape>
<
Shape>
<
Box USE='
SignHolder'/>
<
Appearance>
</
Appearance>
</
Shape>
<
Shape>
<
Box USE='
SignHolder'/>
<
Appearance>
</
Appearance>
</
Shape>
</
Switch>
<!--
Sequencer ROUTEs:
[
from Time.fraction_changed to set_fraction
]
[
from value_changed to Switch.whichChoice
]
-->
<
IntegerSequencer DEF='
Sequencer'
key='
0 0.25 0.5 0.75 1'
keyValue='
0 1 2 3 0'
containerField='
children'/>
<!--
Time ROUTE:
[
from fraction_changed to Sequencer.set_fraction
]
-->
<
TimeSensor DEF='
Time'
cycleInterval='
8'
loop='
true'/>
<
ROUTE fromNode='
Sequencer'
fromField='
value_changed'
toNode='
Switch'
toField='
whichChoice'/>
<
ROUTE fromNode='
Time'
fromField='
fraction_changed'
toNode='
Sequencer'
toField='
set_fraction'/>