<?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 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='referencecontent=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch23/23fig05.htm '/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='22 September 2000'/>
<meta name='modifiedcontent='11 January 2014'/>
<meta name='descriptioncontent='Fog and background pairs are bound and unbound by touching shapes within the world.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23-Fog/Figure23.5BindingFogsAndBackgrounds.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, 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 background pairsposition='0 3 32'/>
<NavigationInfo type='"FLY" "EXAMINE" "ANY"'/>
<Fog visibilityRange='40'/>
<Background groundColor='0 0 0skyColor='1 1 1'/>
<!-- AlternateFog ROUTE:  [from TouchWorld.isActive to set_bind ] -->
<Fog DEF='AlternateFogcolor='0.05 0 0.3visibilityRange='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
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->