<?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='Figure11_1CafeSignSwitchResolutions.x3d'/>
<meta name='creatorcontent='Figure 11.1, 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/ch11/11fig01a.htm '/>
<meta name='referencecontent=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch11/11fig01b.htm '/>
<meta name='referencecontent=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch11/11fig01c.htm '/>
<meta name='transcribercontent='Don Brutzman'/>
<meta name='createdcontent='16 August 2000'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='descriptioncontent='Three versions of a cafe sign within a Switch node, selected by the whichChoice field.'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/Figure11_1CafeSignSwitchResolutions.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='Figure11_1CafeSignSwitchResolutions.x3d'/>
<Viewpoint description='Cafe signposition='0 0 8'/>
<!-- Modify the whichChoice value in this Switch to 0, 1 or 2 to see the various versions of the sign. Select whichChoice= -1 to show nothing. -->
<Switch whichChoice='2'>
<Group DEF='Child0'>
<Shape DEF='CAFE_TEXT_SHAPE'>
<Text string='"Cafe"'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance DEF='GLOW_WHITE'>
<Material diffuseColor='0 0 0emissiveColor='1 1 1'/>
</Appearance>
</Shape>
<Transform DEF='BLUE_DISKrotation='1 0 0 -1.57translation='0 0.3 -0.1'>
<Shape>
<Cylinder height='0.1radius='1.3'/>
<Appearance>
<Material DEF='BALL_COLOR_2diffuseColor='0 0.3 0.8'/>
</Appearance>
</Shape>
</Transform>
</Group>
<Group DEF='Child1'>
<Shape USE='CAFE_TEXT_SHAPE'/>
<Transform USE='BLUE_DISK'/>
<Transform DEF='WHITE_DISKrotation='1 0 0 -1.57translation='0 0.3 -0.1'>
<Shape>
<Cylinder height='0.08radius='1.4'/>
<Appearance USE='GLOW_WHITE'/>
</Shape>
</Transform>
</Group>
<Group DEF='Child2'>
<Shape USE='CAFE_TEXT_SHAPE'/>
<Transform USE='BLUE_DISK'/>
<Transform USE='WHITE_DISK'/>
<Transform DEF='RED_AND_WHITE_BOXEStranslation='0 0.3 -0.1'>
<Shape>
<Box size='4 1.2 0.06'/>
<Appearance>
<Material diffuseColor='0.8 0 0'/>
</Appearance>
</Shape>
<Shape>
<Box size='4.2 1.4 0.04'/>
<Appearance USE='GLOW_WHITE'/>
</Shape>
</Transform>
</Group>
</Switch>
</Scene>
</X3D>
<!--

Index for DEF nodes : BALL_COLOR_2, BLUE_DISK, CAFE_TEXT_SHAPE, Child0, Child1, Child2, GLOW_WHITE, RED_AND_WHITE_BOXES, WHITE_DISK

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. -->