<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://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 =' https://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='20 October 2019'/>
<meta name='descriptioncontent='Fog and background pairs are bound and unbound by touching shapes within the world.'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23Fog/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>
<WorldInfo title='Figure23_5BindingFogsAndBackgrounds.x3d'/>
<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'/>
<!-- ROUTE information for AlternateFog node:  [from TouchWorld.isActive to set_bind ] -->
<Fog DEF='AlternateFogcolor='0.05 0 0.3visibilityRange='40'/>
<!-- ROUTE information for AlternateBackground node:  [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'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->