X3D Model Documentation: WhereAmIExample.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent='WhereAmIExample.x3d'/>
  6            <meta name='descriptioncontent='Example use of prototype node for displaying current viewpoint location and orientation in the player console.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='28 March 2016'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='WhereAmIPrototype.x3d'/>
 11            <meta name='referencecontent='WhereAmIExample.console.txt'/>
 12            <meta name='referencecontent='https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationExample.x3d'/>
 13            <meta name='referencecontent='https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d'/>
 14            <meta name='referencecontent='https://X3dGraphics.com'/>
 15            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dResources.html'/>
 16            <meta name='subjectcontent='X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com'/>
 17            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExample.x3d'/>
 18            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 19            <meta name='licensecontent='../license.html'/>
 20       </head>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4

Index for ExternProtoDeclare definition: WhereAmI
-->
 21       <Scene>
 22            <!-- ==================== -->
 23            <!-- Only one copy of a given ExternProtoDeclare is needed in a scene. -->
 24            <WorldInfo title='WhereAmIExample.x3d'/>
 25            <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" '/>
 26            <ProtoInstance name='WhereAmI'/>
 27            <!-- ==================== -->
 28            <Viewpoint description='WhereAmI prototype test'/>
 29            <Viewpoint description='Viewpoint 2orientation='0 1 0 1.570796position='10 0 0'/>
 30            <Viewpoint description='Viewpoint 3orientation='0 1 0 -3.141593position='0 0 -10'/>
 31            <Viewpoint description='Viewpoint 4orientation='0 1 0 -1.570796position='-10 0 0'/>
 32            <Shape>
 33                 <Text string='"Check X3D console" "while navigating to see" "current viewpoint values"'>
 34                      <FontStyle justify='"MIDDLE" "MIDDLE"size='0.9spacing='0.9'/>
 35                 </Text>
 36                 <Appearance>
 37                      <Material ambientIntensity='0.23diffuseColor='0.5 0.243312 0.127417emissiveColor='0.015957 0.015957 0.015957shininess='0.03specularColor='0.276596 0.055086 0.01524'/>
 38                 </Appearance>
 39            </Shape>
 40            <Shape>
 41                 <Box size='8.5 3 0.5'/>
 42                 <Appearance>
 43                      <Material diffuseColor='0.9 0.9 0.9transparency='0.8'/>
 44                 </Appearance>
 45            </Shape>
 46       </Scene>
 47  </X3D>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4

Index for ExternProtoDeclare definition: WhereAmI
-->
X3D Tooltips element index: Appearance, Box, ExternProtoDeclare, FontStyle, head, Material, meta, ProtoInstance, Scene, Shape, Text, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 0 ROUTE connections 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 events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

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