<?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='Immersiveversion='3.0xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='Figure23.5BindingFogsAndBackgrounds.x3d'/>
<meta name='creatorcontent='Figure 23.5, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='22 September 2000'/>
<meta name='modifiedcontent='2 September 2003'/>
<meta name='descriptioncontent='Fog and backgrounds bound and unbound by touching shapes within the world.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter23-Fog/Figure23.5BindingFogsAndBackgrounds.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../../license.html'/>
</head>
<!--

Index for DEF nodes: AlternateBackground, AlternateFog, TouchWorld
Index for Viewpoint image: Viewpoint_1
-->
<Scene>
<Viewpoint description='Binding fog and backgroundposition='0 3 32'/>
<NavigationInfo type='"FLY" "EXAMINE" "ANY"transitionType='"ANIMATE"'/>
<Fog fogType='LINEARvisibilityRange='40'/>
<Background groundColor='0 0 0skyColor='1 1 1'/>
<!-- AlternateFog ROUTE:  [from TouchWorld.isActive to set_bind ] -->
<Fog DEF='AlternateFogcolor='0.05 0 0.3fogType='LINEARvisibilityRange='40'/>
<!-- AlternateBackground ROUTE:  [from TouchWorld.isActive to set_bind ] -->
<Background DEF='AlternateBackgroundgroundColor='0 0 0skyColor='0.05 0 0.3'/>
<Group> </Group>
<ROUTE fromNode='TouchWorldfromField='isActivetoNode='AlternateFogtoField='set_bind'/>
<ROUTE fromNode='TouchWorldfromField='isActivetoNode='AlternateBackgroundtoField='set_bind'/>
</Scene>
</X3D>
<!--

Index for DEF nodes: AlternateBackground, AlternateFog, TouchWorld
Index for Viewpoint image: Viewpoint_1
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> -->