<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive'  version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd ' >
<head>
<meta name='titlecontent=' WhereAmIExample.x3d '/>
<meta name='descriptioncontent='Example use of prototype node for displaying current viewpoint location and orientation in the player console.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='28 March 2016'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent=' WhereAmIPrototype.x3d '/>
<meta name='referencecontent=' WhereAmIExample.console.txt '/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationExample.x3d '/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d '/>
<meta name='referencecontent=' https://X3dGraphics.com '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='subjectcontent=' X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExample.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--



Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4 Index for ExternProtoDeclare definition: WhereAmI
-->
<Scene>
<!-- ==================== -->
<!-- Only one copy of a given ExternProtoDeclare is needed in a scene. -->
<WorldInfo title='WhereAmIExample.x3d'/>
<ExternProtoDeclare name='WhereAmI'
  url=' "../Chapter14Prototypes/WhereAmIPrototype.x3d#WhereAmI" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIPrototype.x3d#WhereAmI" "../Chapter14Prototypes/WhereAmIPrototype.wrl#WhereAmI" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmI.wrl#WhereAmI" ' />

<ProtoInstance name='WhereAmI'/>
<!-- ==================== -->
<Viewpoint description='WhereAmI prototype test'/>
<Viewpoint description='Viewpoint 2orientation='0 1 0 1.570796position='10 0 0'/>
<Viewpoint description='Viewpoint 3orientation='0 1 0 -3.141593position='0 0 -10'/>
<Viewpoint description='Viewpoint 4orientation='0 1 0 -1.570796position='-10 0 0'/>
<Shape>
<Text string='"Check X3D console" "while navigating to see" "current viewpoint values"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.9spacing='0.9'/>
</Text>
<Appearance>
<Material ambientIntensity='0.23diffuseColor='0.5 0.243312 0.127417emissiveColor='0.015957 0.015957 0.015957shininess='0.03specularColor='0.276596 0.055086 0.01524'/>
</Appearance>
</Shape>
<Shape>
<Box size='8.5 3 0.5'/>
<Appearance>
<Material diffuseColor='0.9 0.9 0.9transparency='0.8'/>
</Appearance>
</Shape>
</Scene>
</X3D>
<!--



Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4 Index for ExternProtoDeclare definition: WhereAmI
-->

Event Graph ROUTE Table with 0 ROUTE total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.


ProtoInstance
WhereAmI
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExample.x3d -->

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

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