<?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_2CafeSignBillboard.x3d '/>
<meta name='creatorcontent='Figure 11.2, 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/11fig02.htm '/>
<meta name='transcribercontent='Don Brutzman'/>
<meta name='createdcontent='16 August 2000'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='descriptioncontent='A cafe sign within a billboard group.'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/Figure11_2CafeSignBillboard.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

to top <!-- Index for DEF nodes: GREY_APPEARANCE, GROUND, POLE, POLE_BASE

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
<Scene>
<WorldInfo title='Figure11_2CafeSignBillboard.x3d'/>
<Viewpoint description='Cafe sign Billboard entry vieworientation='1 0 0 -0.2position='0 2 15'/>
<!-- Nesting a Viewpoint inside a Transform is a good way to precisely compose rotations about 2 different axes -->
<Transform rotation='0 1 0 2.75translation='5 1.5 -15'>
<Viewpoint description='Cafe sign Billboard view from cornerorientation='1 0 0 -0.2'/>
</Transform>
<!-- Steal an Inline node from the next chapter, instead of copying a bagful of nodes from preceding Figure 11.1 -->
<!-- Cafe Sign in a Billboard group -->
<Billboard> </Billboard>
<!-- Non-billboard sign pole and ground -->
<Transform DEF='POLEtranslation='0 -3.1 -0.1'>
<Shape>
<Box size='0.4 4 0.4'/>
<Appearance DEF='GREY_APPEARANCE'>
<Material diffuseColor='0.6 0.6 0.6'/>
</Appearance>
</Shape>
</Transform>
<Transform DEF='POLE_BASEtranslation='0 -5.2 -0.1'>
<Shape>
<Box size='1 0.2 1'/>
<Appearance USE=' GREY_APPEARANCE'/>
</Shape>
</Transform>
<Transform DEF='GROUNDtranslation='0 -5.35 -0.1'>
<Shape>
<Box size='10 0.1 10'/>
<Appearance USE=' GREY_APPEARANCE'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF nodes: GREY_APPEARANCE, GROUND, POLE, POLE_BASE

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/Figure11_2CafeSignBillboardIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/Figure11_2CafeSignBillboard.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

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