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='title' content='WhereAmIExample.x3d'/> |
6 | <meta name='description' content='Example use of prototype node for displaying current viewpoint location and orientation in the player console.'/> |
7 | <meta name='creator' content='Don Brutzman'/> |
8 | <meta name='created' content='28 March 2016'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='WhereAmIPrototype.x3d'/> |
11 | <meta name='reference' content='WhereAmIExample.console.txt'/> |
12 | <meta name='reference' content='https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationExample.x3d'/> |
13 | <meta name='reference' content='https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d'/> |
14 | <meta name='reference' content='https://X3dGraphics.com'/> |
15 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dResources.html'/> |
16 | <meta name='subject' content='X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com'/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExample.x3d'/> |
18 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
19 | <meta name='license' content='../license.html'/> |
20 | </head> |
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 2' orientation='0 1 0 1.570796' position='10 0 0'/> |
30 | <Viewpoint description='Viewpoint 3' orientation='0 1 0 -3.141593' position='0 0 -10'/> |
31 | <Viewpoint description='Viewpoint 4' orientation='0 1 0 -1.570796' position='-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.9' spacing='0.9'/> |
35 | </Text> |
36 | <Appearance> |
37 | <Material ambientIntensity='0.23' diffuseColor='0.5 0.243312 0.127417' emissiveColor='0.015957 0.015957 0.015957' shininess='0.03' specularColor='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.9' transparency='0.8'/> |
44 | </Appearance> |
45 | </Shape> |
46 | </Scene> |
47 | </X3D> |
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. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->