<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='Figure23.5BindingFogsAndBackgrounds.x3d' name='title'/>
    <meta content='Figure 23.5, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland' name='creator'/>
    <meta content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch23/23fig05.htm' name='reference'/>
    <meta content='Don Brutzman' name='translator'/>
    <meta content='22 September 2000' name='created'/>
    <meta content='11 January 2014' name='modified'/>
    <meta content='Fog and background pairs are bound and unbound by touching shapes within the world.' name='description'/>
    <meta content='http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23-Fog/Figure23.5BindingFogsAndBackgrounds.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <Viewpoint description='Binding fog and background pairs' position='0 3 32'/>
    <NavigationInfo type='"FLY" "EXAMINE" "ANY"'/>
    <Fog visibilityRange='40'/>
    <Background groundColor='0 0 0' skyColor='1 1 1'/>
    <Fog DEF='AlternateFog' color='0.05 0 0.3' visibilityRange='40'/>
    <Background DEF='AlternateBackground' groundColor='0 0 0' skyColor='0.05 0 0.3'/>
    <Group>
      <Inline url='"Figure23.1FogTestWorld.x3d" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23-Fog/Figure23.1FogTestWorld.x3d" "Figure23.1FogTestWorld.wrl" "http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23-Fog/Figure23.1FogTestWorld.wrl"'/>
      <TouchSensor DEF='TouchWorld' description='touch to bind alternate fog background'/>
    </Group>
    <ROUTE fromField='isActive' fromNode='TouchWorld' toField='set_bind' toNode='AlternateFog'/>
    <ROUTE fromField='isActive' fromNode='TouchWorld' toField='set_bind' toNode='AlternateBackground'/>
  </Scene>
</X3D>