{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"http://www.web3d.org/specifications/x3d-3.3-JSONSchema.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Figure28.1AnchorViewpointsDungeon.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 28.1, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland"
          },
          {
            "@name":"reference",
            "@content":"http://www.wiley.com/legacy/compbooks/vrml2sbk/ch28/28fig02.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"30 October 2001"
          },
          {
            "@name":"modified",
            "@content":"15 January 2011"
          },
          {
            "@name":"description",
            "@content":"A dungeon destination world. Click either anchored Cone to switch viewpoints. Anchor viewpoint DEF names are indicated by the url, similar to HTML bookmarks on a page."
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter28-Anchor/Figure28.1AnchorViewpointsDungeon.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"19 March 2017"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, http://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"warning",
            "@content":"An experimental version of X3D JSON encoding is used for this scene.  Status online at http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "Viewpoint":
            {
              "@description":"Forward view",
              "@position":[0,1.6,5]
            }
          },
          { "Viewpoint":
            {
              "@DEF":"RIGHT_CORNER_DEF_NAME",
              "@description":"Right corner view",
              "@orientation":[0,1,0,0.611],
              "@position":[3.5,1.6,3.5]
            }
          },
          { "Viewpoint":
            {
              "@DEF":"LEFT_CORNER_DEF_NAME",
              "@description":"Left corner view",
              "@orientation":[0,1,0,-0.611],
              "@position":[-3.5,1.6,3.5]
            }
          },
          { "NavigationInfo":
            {
              "@avatarSize":[2,1,0.5],
              "@headlight":false,
              "@speed":2,
              "@type":["WALK","EXAMINE","ANY"]
            }
          },
          { "Inline":
            {
              "@url":["../Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.x3d","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.x3d","../Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.wrl","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.wrl"]
            }
          },
          { "Anchor":
            {
              "@description":"Click for right corner viewpoint",
              "@url":["#RIGHT_CORNER_DEF_NAME"],
              "-children":[
                { "Transform":
                  {
                    "@rotation":[-0.95,0.22,0.22,1.62],
                    "@translation":[1.75,0.6,0.15],
                    "-children":[
                      { "Collision":
                        {
                          "@enabled":false,
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Cone":
                                    {
                                      "@bottomRadius":0.1,
                                      "@height":0.5
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.1,0.4,0.8],
                                            "@emissiveColor":[0,0.1,0.2],
                                            "@shininess":0.4,
                                            "@specularColor":[0.8,0.8,0.8]
                                          }
                                        }
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Anchor":
            {
              "@description":"Click for left corner viewpoint",
              "@url":["#LEFT_CORNER_DEF_NAME"],
              "-children":[
                { "Transform":
                  {
                    "@rotation":[-0.95,-0.22,-0.22,1.62],
                    "@translation":[-1.75,0.6,0.15],
                    "-children":[
                      { "Collision":
                        {
                          "@enabled":false,
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Cone":
                                    {
                                      "@bottomRadius":0.1,
                                      "@height":0.5
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.1,0.8,0.4],
                                            "@emissiveColor":[0,0.2,0.1],
                                            "@shininess":0.4,
                                            "@specularColor":[0.8,0.8,0.8]
                                          }
                                        }
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}