{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.3",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.3.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"WhereAmIExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Example use of prototype node for displaying current viewpoint location and orientation in the player console."
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"28 March 2016"
          },
          {
            "@name":"modified",
            "@content":"2 March 2026"
          },
          {
            "@name":"reference",
            "@content":"WhereAmIPrototype.x3d"
          },
          {
            "@name":"reference",
            "@content":"WhereAmIExample.console.txt"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationExample.x3d"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d"
          },
          {
            "@name":"reference",
            "@content":"https://X3dGraphics.com"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"subject",
            "@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"17 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          {
            "#comment":"===================="
          },
          {
            "#comment":"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"
            }
          },
          {
            "#comment":"===================="
          },
          { "Viewpoint":
            {
              "@description":"WhereAmI prototype test"
            }
          },
          { "Viewpoint":
            {
              "@description":"Viewpoint 2",
              "@orientation":[0,1,0,1.570796],
              "@position":[10,0,0]
            }
          },
          { "Viewpoint":
            {
              "@description":"Viewpoint 3",
              "@orientation":[0,1,0,-3.141593],
              "@position":[0,0,-10]
            }
          },
          { "Viewpoint":
            {
              "@description":"Viewpoint 4",
              "@orientation":[0,1,0,-1.570796],
              "@position":[-10,0,0]
            }
          },
          { "Shape":
            {
              "-geometry":
                { "Text":
                  {
                    "@string":["Check X3D console","while navigating to see","current viewpoint values"],
                    "-fontStyle":
                      { "FontStyle":
                        {
                          "@justify":["MIDDLE","MIDDLE"],
                          "@size":0.9,
                          "@spacing":0.9
                        }
                      }
                  }
                },
              "-appearance":
                { "Appearance":
                  {
                    "-material":
                      { "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]
                        }
                      }
                  }
                }
            }
          },
          { "Shape":
            {
              "-geometry":
                { "Box":
                  {
                    "@size":[8.5,3,0.5]
                  }
                },
              "-appearance":
                { "Appearance":
                  {
                    "-material":
                      { "Material":
                        {
                          "@diffuseColor":[0.9,0.9,0.9],
                          "@transparency":0.8
                        }
                      }
                  }
                }
            }
          }
        ]
    }
  }
}