<head>
<meta name='title' content='set-bottomurlpng.x3d'/>
<meta name='reference' content='
http://www.nist.gov/vrml.html
'/>
<meta name='reference' content='
http://www.itl.nist.gov/div897/ctg/vrml/vrml.html
'/>
<meta name='creator' content='
http://www.itl.nist.gov/div897/ctg/vrml/members.html
'/>
<meta name='disclaimer' content='
This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html
The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/>
<meta name='info' content='
Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, http://www.web3d.org/working-groups/x3d
'/>
<meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translated' content='21 January 2001'/>
<meta name='modified' content='11 January 2014'/>
<meta name='description' content='Test browser to switch between different backgrounds where each one contains a different bottomurl PNG image associated with it. The bottom image may be changed by clicking on the appropriate text as indicated. The test should generate a different PNG image each time the appropriate text is clicked. All images are on PNG format and are of the mountains of the High Sierra. A viewpoint node is set so that the image will be rotated -1.57 radians along the X axis the make it possible to see and toggle the images.'/>
<meta name='identifier' content='
http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Background/set-bottomurlpng.x3d
'/>
<meta name='generator' content='Vrml97ToX3dNist,
http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generator' content='X3D-Edit 3.3,
https://savage.nps.edu/X3D-Edit'/>
<meta name='license' content='
../../license.html'/>
</head>
<!--
Index for DEF nodes
:
back1,
back2,
back3,
back4,
image-back1,
image-back2,
image-back3,
image-back4,
the-appearance,
the-style,
the-touch1,
the-touch2,
the-touch3,
the-touch4,
the-view1
Index for Viewpoint image
:
the-view1
-->
<Scene>
<NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/>
<Group>
<Viewpoint DEF='the-view1' description='Bottom View' orientation='1 0 0 -1.57' position='0 0 23'/>
</Group>
<Group>
</Group>
<Transform rotation='1 0 0 -1.57' translation='0 -10 23'>
<Transform scale='0.02 0.02 0.02' translation='-5.4 -2 0'>
<Shape>
<Appearance>
<Material ambientIntensity='1' diffuseColor='0 1 0' emissiveColor='0 1 0'/>
</Appearance>
<Text string='"CLICK TO SELECT BOTTOM URL IMAGE"'>
<FontStyle DEF='the-style' justify='"FIRST" "FIRST"' size='28' style='BOLD'/>
</Text>
</Shape>
</Transform>
<Transform scale='0.02 0.02 0.02' translation='-5.4 -2.7 0'>
<Shape>
<Appearance DEF='the-appearance'>
<Material ambientIntensity='1' diffuseColor='0 0 1' emissiveColor='0 0 1'/>
</Appearance>
<Text string='"Mt. Humphreys"'>
</Text>
</Shape>
<!--
the-touch1 ROUTE:
[
from isActive to image-back1.value_in
]
-->
<TouchSensor DEF='the-touch1' description='touch to activate'/>
</Transform>
<Transform scale='0.02 0.02 0.02' translation='-5.4 -3.4 0'>
</Transform>
<Transform scale='0.02 0.02 0.02' translation='1 -2.7 0'>
</Transform>
<Transform scale='0.02 0.02 0.02' translation='1 -3.4 0'>
</Transform>
</Transform>
<!--
image-back1 ROUTEs:
[
from the-touch1.isActive to value_in
]
[
from value_out to back1.set_bind
]
-->
<
Script DEF='
image-back1'>
<field name='value_in' type='SFBool' accessType='inputOnly'/>
<field name='value_out' type='SFBool' accessType='outputOnly'/>
<![CDATA[
ecmascript:
function value_in (the_value) {
if (the_value == true) { value_out = true; }
else { value_out = true;}
}
]]>
<![CDATA[
ecmascript:
function value_in (the_value)
{
if (the_value == true)
{
value_out = true;
}
else
{
value_out = true;
}
}
]]>
<![CDATA[
ecmascript:
function value_in (the_value)
{
if (the_value == true)
{
value_out = true;
}
else
{
value_out = true;
}
}
]]>
<![CDATA[
ecmascript:
function value_in (the_value)
{
if (the_value == true)
{
value_out = true;
}
else
{
value_out = true;
}
}
]]>
</Scene>