<!-- Note that navigation mode doesn't matter much here, since you cannot approach the backround, it always stays at maximum (horizon) distance -->
<!-- At least EXAMINE mode lets you easily look up/down/around. -->
<
Group>
<
Background groundAngle='
1.309 1.571'
groundColor='
0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6'
skyAngle='
1.309 1.571'
skyColor='
0 0.2 0.7 0 0.5 1 1 1 1'/>
<!--
AlternateBackground1 ROUTE:
[
from TouchBox.isActive to set_bind
]
-->
<
Background DEF='
AlternateBackground1'
groundAngle='
1.309 1.571'
groundColor='
0.1 0.1 0 0.5 0.25 0.2 0.6 0.6 0.2'
skyAngle='
1.309 1.571'
skyColor='
1 0 0 1 0.4 0 1 1 0'/>
<!--
AlternateBackground2 ROUTE:
[
from TouchSphere.isActive to set_bind
]
-->
<
Background DEF='
AlternateBackground2'
groundAngle='
1.309 1.571'
groundColor='
0 0 0.1 0 0.1 0.3 0.3 0.3 0.6'
skyAngle='
1.309 1.571'
skyColor='
1 0 0.8 0.5 0 0.8 0 0 0.8'/>
</
Group>
<!-- Shapes to act as buttons -->
<
Transform translation='
2 0 0'>
<
Shape>
<
Appearance>
<Material diffuseColor='1 0 0'/>
</
Appearance>
<
Box/>
</
Shape>
<!--
TouchBox ROUTE:
[
from isActive to AlternateBackground1.set_bind
]
-->
<
TouchSensor DEF='
TouchBox'
description='
Alternate reddish-orange background'/>
</
Transform>
<
Transform translation='
-2 0 0'>
<
Shape>
<
Appearance>
<Material diffuseColor='0 0 0.8'/>
</
Appearance>
<
Sphere/>
</
Shape>
<!--
TouchSphere ROUTE:
[
from isActive to AlternateBackground2.set_bind
]
-->
<
TouchSensor DEF='
TouchSphere'
description='
Alternate blueish-purple background'/>
</
Transform>
<
ROUTE fromNode='
TouchBox'
fromField='
isActive'
toNode='
AlternateBackground1'
toField='
set_bind'/>
<
ROUTE fromNode='
TouchSphere'
fromField='
isActive'
toNode='
AlternateBackground2'
toField='
set_bind'/>